Irregular subplots plotting in PyGMT

Hello everyone,

Can pygmt plot such subplots, with a different number of subgraphs per line, with a legend on the right side of each line and annotations on the left side.

Thank you for your help!

Yes it should be possible, see the tutorial at Use with fig.subplot(nrows=4, ncols=4, ...), and then just skip plotting the row/col panels that you don’t have data for. See also for an example on plotting different colorbars for different panels in a subplot.

@weiji14, Thank you very much for the reply, which is quite useful!