shukdevdatta123 commited on
Commit
7155419
·
verified ·
1 Parent(s): 0325983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def plot_cycle_detection(graph):
48
 
49
  # Display the graph
50
  plt.title("Cycle Detection in Directed Graph")
51
- plt.show()
52
 
53
  def algorithms_cycle_detection():
54
  st.title("Algorithms: Cycle Detection")
 
48
 
49
  # Display the graph
50
  plt.title("Cycle Detection in Directed Graph")
51
+ st.pyplot(plt)
52
 
53
  def algorithms_cycle_detection():
54
  st.title("Algorithms: Cycle Detection")