documentation
documentation copied to clipboard
Streamline-plots examples out of date after v 3.0.0
Originally opened by @PiotrBenedysiuk in https://github.com/plotly/plotly.py/issues/1282:
The second plot of streamline plots doesn't run on pyplot v3.4.1. The traceback reads:
AttributeError Traceback (most recent call last)
AttributeError: 'tuple' object has no attribute 'append'
I think its due to fig[data] being represented as a tuple from 3.0 onwards. Please update the example to use fig.add_trace instead.