I am plotting some data in python with hist2d. For the normalization of the color scale I am using the parameter
norm=matplotlib.colors.LogNorm().
How could I get (a posteriori) the values vmin and vmax that matplotlib assigns to this plot? I want matplotlib to choose them (the range is normally well chosen), and then get them and apply exactly those values to a second plot I.e., I would use:
norm=matplotlib.colors.LogNorm(vmin=vmin1, vmax=vmax1)