I’m trying to run this example but i keep getting those errors. How can i fix this?
plotly.graph_objs.Line is deprecated.
Please replace it with one of the following more specific types
- plotly.graph_objs.scatter.Line
- plotly.graph_objs.layout.shape.Line
- etc.
plotly.graph_objs.ErrorY is deprecated.
Please replace it with one of the following more specific types
- plotly.graph_objs.scatter.ErrorY
- plotly.graph_objs.histogram.ErrorY
- etc.
I just upgraded to 3.0.0 from 2.0.0 and it literally broke everything I had built in plotly. My program crashed and I got 100 deprecation warnings. I spent 5 hours going object by object changing them to the preferred ones and just gave up and reverted back to 2.0.0.
Right from plotly release notes:
“At Plotly, we take backwards compatibility pretty seriously…you’re not required to use these higher level objects”
This is a game breaking bug that will ruin thousands of users front ends.
If you have questions about how to port certain patterns in your code to version 3 feel free to start a new thread to discuss them. And if you have suggestions for additional functions/methods that would make the transition experience easier, feel free to open a request at https://github.com/plotly/plotly.py/issues.