Added some extra parameters to the map plotting function, which now allow:
using the raw bin names (from the binning config file) as title for each pid bin, by setting pure_bin_names=True
using 'layout': 'tight' or 'layout': 'constrained' in fig_kw, to produce reasonable saved figures
The second point did not work before, because the colorbar was plotted 3 times for every pid bin, and not all of them were correctly moved by the layout option.. now it is keeping track of the main axis and only plotting the colorbar once. Results are rather nice now, as you can see here:
Added some extra parameters to the map plotting function, which now allow:
pure_bin_names=True
'layout': 'tight'
or'layout': 'constrained'
infig_kw
, to produce reasonable saved figuresThe second point did not work before, because the colorbar was plotted 3 times for every pid bin, and not all of them were correctly moved by the layout option.. now it is keeping track of the main axis and only plotting the colorbar once. Results are rather nice now, as you can see here: