0

I have three boxplot figures that I am loading using pickle and I would like to join and plot them side-by-side. It seems that the recommendation is to plot one figure to begin with and use matplotlib subplots. However, due to the nature of the data this would be difficult and it is easiest to make three separate figure files first. All three figures have the same y axis limits and the same x ticks.

How can I join them such that they are side-by-side on the same row?

Emerson
  • 125
  • 8

1 Answers1

1

The solution is to create a new figure with the layout you want, then insert the Axes from the existing figures into it. You can get the Axes from an existing figure with only one set of Axes using fig.axes[0], then insert it into a new figure by following this answer.


PS Emersons unite!

Emerson Harkin
  • 889
  • 5
  • 13