Getting this error in last step
fig = plot.draw()
py.iplot_mpl(fig)
Traceback (most recent call last):
File "test.py", line 91, in
py.iplot_mpl(fig)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/plotly/plotly.py", line 261, in iplot_mpl
fig = tools.mpl_to_plotly(fig, resize=resize, strip_style=strip_style)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/tools.py", line 454, in mpl_to_plotly
matplotlylib.Exporter(renderer).run(fig)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/matplotlylib/mplexporter/exporter.py", line 45, in run
fig.savefig(io.BytesIO(), format='png', dpi=fig.dpi)
AttributeError: 'ggplot' object has no attribute 'savefig'
Getting this error in last step fig = plot.draw() py.iplot_mpl(fig)
Traceback (most recent call last): File "test.py", line 91, in
py.iplot_mpl(fig)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/plotly/plotly.py", line 261, in iplot_mpl
fig = tools.mpl_to_plotly(fig, resize=resize, strip_style=strip_style)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/tools.py", line 454, in mpl_to_plotly
matplotlylib.Exporter(renderer).run(fig)
File "/home/prashant/anaconda2/lib/python2.7/site-packages/plotly/matplotlylib/mplexporter/exporter.py", line 45, in run
fig.savefig(io.BytesIO(), format='png', dpi=fig.dpi)
AttributeError: 'ggplot' object has no attribute 'savefig'