Matplotlib bar chart wont plot negative numbers

I am struggling to understand why the matplotlib converter will not plot negative values. I have a dataframe I with negative numbers, which plots fine under normal matplotlib circumstances, but when converting to a plotly chart it strips the negative.

Using this code:
fig = plt.gcf()
plotly_fig = tls.mpl_to_plotly( fig )
py.iplot(plotly_fig)

1 Like

I have the same problem, any idea how to solve it ?

Hi @windflower715,

If you can make a small reproducible example (including the matplotlib code to build the figure) this would be a helpful bug report: https://github.com/plotly/plotly.py/issues.

Thanks!
-Jon