Spaces:
Running
Running
Commit ·
a6513d3
1
Parent(s): 61c5904
Update app.py
Browse files49 unmodified lines5051525354555649 unmodified lines# # Step 5: Overlay scatter plot and linear regression line# return (scatter_plot * line_plot).opts(width=800, height=600, show_grid=True, gridstyle={ 'grid_line_color': 'gray'})# grid_style = {'grid_line_color': 'black'}#, 'grid_line_width': 1.5, 'ygrid_bounds': (0.3, 0.7),'minor_xgrid_line_color': 'lightgray', 'xgrid_line_dash': [4, 4]}return (scatter_plot * line_plot *line_plot_SMA).opts(width=800, height=600, show_grid=True)def get_income_statement_df(ticker):yfobj = yf.Ticker(ticker)df= yfobj.financials.T49 unmodified lines5051525354555649 unmodified lines# # Step 5: Overlay scatter plot and linear regression line# return (scatter_plot * line_plot).opts(width=800, height=600, show_grid=True, gridstyle={ 'grid_line_color': 'gray'})# grid_style = {'grid_line_color': 'black'}#, 'grid_line_width': 1.5, 'ygrid_bounds': (0.3, 0.7),'minor_xgrid_line_color': 'lightgray', 'xgrid_line_dash': [4, 4]}return (scatter_plot * line_plot *line_plot_SMA *line_plot_SMA2).opts(width=800, height=600, show_grid=True)def get_income_statement_df(ticker):yfobj = yf.Ticker(ticker)df= yfobj.financials.T
app.py+1-1