Plotly subplots using fig objects instead of traces


Yes, it’s at the trace level, but no subplots can be done at the figure level.

I think generally it’s better to have better compartmentalization between the different figures. I’d want to create each figure separately, specially when working with very different figure types, each with it’s own complexities (legends, primary and secondary axis, etc.) and then the subplot by figure would be as easy as subfigs([fig1, fig2, fig3, fig4], rows=2, cols=2) or something like that. This would also allow for their own layouts, titles, etc. I think it has some advantages to it.

These are just suggestions, not sure how to do this yet.

I found this on the community forum so i guess it’s not really doable yet:

1 Like