Reputation: 63
I have a dataframe which I want to plot on plotly express. The dataframe is a time series from a name. see below example:
enter code here
index name data
0 name1 [0,1...1500]
1 name2 [1501, 1502...3000]
2 name3 [3001, 3002...4500]
The situation is that as you see the data columns have different amplitudes.
Can I set an autoscale for each facet. For the moment they all share the same y range
enter code here
fig1 = px.line(dfplot, x= 'time', y= 'data', line_group= 'Name',
hover_name= 'Name, facet_row= 'Name', width= 1600,
height= 1600, color= 'Name')
Upvotes: 3
Views: 1357