You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fig, ax = plt.subplots()
ax.plot(y0, label='y0')
ax.plot(y1, label='y1')
ax.plot(y2, label='y2')
ax.plot(capacity, label='capacity')
# set all traces' "fill" so that it fills to the next 'y' trace
update = {'data':[{'fill': 'tonexty'}]}
# strip style just lets Plotly make the styling choices (e.g., colors)
plot_url = py.iplot_mpl(fig, update=update, filename='mpl-stacked-line')
Error:
site-packages\plotly\plotly\plotly.pyc in iplot_mpl(fig, resize, strip_style, update, **plot_options)
280 if update and isinstance(update, dict):
281 fig.update(update)
--> 282 fig.validate()
283 elif update is not None:
284 raise exceptions.PlotlyGraphObjectError(
AttributeError: 'Figure' object has no attribute 'validate'
Matplotlib
Figure
object is not supportingvalidate
methodplotly.py/plotly/plotly/plotly.py
Line 282 in dbe8adb
Sample Code:
Error:
And for
strip_style
plotly.py/plotly/plotly/plotly.py
Line 257 in dbe8adb
Sample Code:
Error:
The text was updated successfully, but these errors were encountered: