netflypsb commited on
Commit
c085a3e
1 Parent(s): af509f9

Update utils/plotting.py

Browse files
Files changed (1) hide show
  1. utils/plotting.py +3 -1
utils/plotting.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import matplotlib.pyplot as plt
2
  import matplotlib.dates as mdates
3
  import pandas as pd
@@ -41,4 +42,5 @@ def plot_stock_data_with_signals(data):
41
  plt.gca().xaxis.set_major_locator(mdates.MonthLocator())
42
  plt.gcf().autofmt_xdate() # Rotation
43
 
44
- plt.show()
 
 
1
+ import streamlit as st
2
  import matplotlib.pyplot as plt
3
  import matplotlib.dates as mdates
4
  import pandas as pd
 
42
  plt.gca().xaxis.set_major_locator(mdates.MonthLocator())
43
  plt.gcf().autofmt_xdate() # Rotation
44
 
45
+ st.pyplot()
46
+