What's the best way to show multiple subplots of data that have the same x and y labels? (matplotlib)

I have two subplots I'd like to show horizontally. The x and y axis labels are exactly the same for both plots, even though the ticks are different. What is the most concise way I can plot them horizontally?

Plot 1:

enter image description here

Plot 2: enter image description here

Upvotes: 0

Views: 143

Answers (1)

joaquin
joaquin

Reputation: 85603

You can check Sharing axis limits and views.
Other specific examples are found here and here.
In the first link you will find an example of plots side by side. The other two examples the subplots are in a column but it is trivial to set them horizontally

Upvotes: 1

Related Questions