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
Some common chart types that are very challenging to make with PX today include:
a chart with one bar and one line traces, on the same y-axis
a chart with two line traces, on opposite y-axes
variations on the above themes like bars and lines but on opposite y-axes
I propose a targeted PX function for these cases which I'm temporarily calling px.combo()
The way it would work is that it would accept two new grouped_attrs: yaxis and trace_type, along with the attendant yaxis_sequence and yaxis_map etc. yaxis would accept right and left, trace_type would accept line and bar.
If you had a data frame of time/money/temperature, you could melt() it so that variable would contain money/temperature and value would contain a mix of those values. You could then get a dual-axis bar/line chart with something like
Some common chart types that are very challenging to make with PX today include:
I propose a targeted PX function for these cases which I'm temporarily calling
px.combo()
The way it would work is that it would accept two new
grouped_attr
s:yaxis
andtrace_type
, along with the attendantyaxis_sequence
andyaxis_map
etc.yaxis
would acceptright
andleft
,trace_type
would acceptline
andbar
.If you had a data frame of time/money/temperature, you could
melt()
it so thatvariable
would containmoney
/temperature
andvalue
would contain a mix of those values. You could then get a dual-axis bar/line chart with something likeThe text was updated successfully, but these errors were encountered: