When I visualize data using matplotlib it displays very well, but when using Plotly, the data display very bad.
Asked
Active
Viewed 102 times
2 Answers
0
Try changing the plot type on Plotly to line:
import plotly.express as px
fig = px.line(df, x="Date", y="Close", title='COMERCIAL INTERNATIONAL BANK')
fig.show()
Multivac
- 2,784
- 2
- 8
- 26
-
I try it, the same result.Worried about the data being problematic and needed preprocessing – andow Jan 14 '21 at 18:28
-
I have had the same problem that you have in plotly but in matplotlib. In your place I would try, sorting my dataframe by date and then plot in plotly – Multivac Jan 14 '21 at 18:55

