Hello,
I’ve been enjoying the Plotly update, especially the wide-form support for plotly express. My question relates to the new functionality - if I define a plot with;
px.scatter(dataframe, x = ‘xaxis_column_name’ , y= [‘yaxis_col_1’, ‘y_axis_col_2’])
It doesn’t appear to be possible to add error bars in a similar, columnar fashion, i.e.
px.scatter(dataframe, x = ‘xaxis_column_name’ , y= [‘yaxis_col_1’, ‘y_axis_col_2’], error_y = [‘yaxis_col_1_error’, ‘y_axis_col_2_error’])
Since error_y must have the same length as the x axis.
If I do set error_y with a single column or errors, it is applied to all traces simultaneously, which is not always appropriate.
Are there any plans to add the ability to define columns of errors in the wide-form input? I think this would be very convenient. What are the suggested workarounds at present? My workflow is such that I’d prefer to call the figure first, inspect it, and then add error bars to the traces post declaration.
I understand that traces could be added one by one with .add_trace(), but I like the px API as it seems much more elegant and less verbose.
Thanks,
Rory