LinkedEarth/PyleoTutorials

Creating Multiple Panels

Closed this issue · 3 comments

Create a tutorial showing how Matplotlib subplots can be used in combination with returned fig/ax from Pyleoclimn figures. An example is from the correlation figure in the Pyleoclim manuscript.

Putting two correlation figures side-by-side:

fig,ax = plt.subplots(2,1,figsize=(5,8))
corr_ens.plot(ax=ax[0])
corr_Kuroshio.plot(ax=ax[1])
ax[0].set_xlim([-0.5,0.7])
ax[1].set_xlim([-0.5,0.7])
plt.subplots_adjust(hspace=0.4)

completed in 1cb26d4