Black Lives Matter. Please consider donating to Black Girls Code today.

Placing several go.Figure as subplots in a new figure

I have multiple figures created using plotly.graph_objs.Figure({“data”:data, “layout”:layout}).

I can plot these individually in iPython Notebook( i.e. plotly.offline.iplot(figure) ) but what I would really like to do is put them as subplots in a larger image (they are stacked bar charts with custom layouts and I can’t get them to subplot nicely.

Is there a way I can say stack these 4 figures into one figure?

1 Like

Here http://nbviewer.jupyter.org/gist/empet/f672c569ebb6ca334da17b378a30778b is an example of Figure consisting in a few subplots. You can find also how to update each layout.