plotly / plotly_express

Plotly Express - Simple syntax for complex charts. Now integrated into plotly.py!
https://plot.ly/python/plotly-express/
MIT License
4 stars 0 forks source link

Y axis label on facet_row subplots incorrect #129

Closed ricecooker closed 5 years ago

ricecooker commented 5 years ago

The traces and the y-axis label on the subplots seem to be off by one when using facet_row to generate subplots. See image below:

Screen Shot 2019-08-05 at 4 42 25 PM

The code to recreate this is below:

import pandas.util.testing as put
import plotly.express as px
sample_df = put.makeTimeDataFrame().reset_index().melt(id_vars='index')
px.line(sample_df, x='index', y='value', facet_row='variable')

Installed via pip install plotly==4.0

>>> px.__version__
'0.3.0'
nicolaskruchten commented 5 years ago

Yikes, that's a pretty serious problem. We'll get it fixed shortly. Thanks for bringing it to our attention!

jonmmease commented 5 years ago

Fixed by https://github.com/plotly/plotly.py/pull/1704/commits/c75fe3e0594b20287b474db4455f86f4a9f92747 and will be released in 4.1.0 shortly.