Hey Sambit!
You could check out the curvilinear plotting tutorial at
https://docs.wradlib.org/en/stable/notebooks/visualisation/wradlib_plot_curvelinear_grids.html#Plotting-on-Grids This is directing you to the Plotting on Grids section. And by "Grids", I mean the option for creating the 2x3 subplot grid you were asking for.
The wradlib.vis.plot_max_plan_and_vert function is I think so-called convenience function, doing a lot of things for you, so you don't have to worry about them, including creating matplotlib figure object, that is I assume the problem you might not get the plots easily on the grid.
At the end of the tutorial link, there is an example of MAX plot with AxesDivider method. You could mix it with the Gridspec method and "ax" keyword at wrl.vis.plot_ppi() function as such:
import matplotlib.gridspec as gridspec
gs = gridspec.GridSpec(2, 3, hspace=0.75, wspace=0.4) # You need to play around with the spacings by yourself to get the best result, this is just copy-paste from the tutorial
# Change the order of them, (2, 3) or (3, 2) that fit your needs. I think the order is flipped with the regular subplot ordering from matplotlib add_subplot() function, where first number means the number of columns and second value the number of rows.
# Here it is opposite, first means number of rows, and second number of columns.
# The gs will be 2 by 3 grid object, that you can access as gs[0,0] ..and so on. Check out the tutorial or matplotlib examples for more examples.
# Assign the axes manually, or with loops:
for i in range(2):
for j in range(3):
# normal cg plot
cgax, pm = wrl.vis.plot_ppi(data2, r=d1, az=d2, fig=fig, ax=gs[i,j]) # The "ax" keyword here is to be noticed, where you put the whole plot on grid
# I continued the exact code here from the tutorial...
Result:
I know this is not looking the best, but you can go on with the design here yourself. For example the hspace and wspace values at GridSpec function.
By no means is this the only and most efficient solution. Google around for matplotlib options for subplot gridding, you might find something more easy-to-use.
Hope this was something that you were after.
Best regards
Jorma Rahu