Hello
I am trying to create a 3x2 Plot with gridspec.
I have 3 plots that I want to arrange in this way:
Unfortunately this arrangement does not work with gridspec?
The ax2 plot is always drawn in only one field.
I use matplotlib V3.4.3
Many thanks for the help!
Chris
Here is my Code:
x=y=[1,2,3,4]
gs = gridspec.GridSpec(3, 2)
ax1 = plt.subplot(gs[0, 0])
ax1.plot(x,y)
ax2 = plt.subplot(gs[1:2, 0])
ax2.plot(x, y)
ax3 = plt.subplot(gs[:, 1])
ax3.plot(x, y)