@gillesjac_twitter This is probably best discussed on discourse.matplotlib.org where you can show some code. However if by "secondary axis" you mean a twinned axes, the axes are drawn in the order in which they are added to the figure, and the z-order is on a per-axes basis
Yeah it's a .twinx()'d one; is there any way to work around this restriction? I could transform the data from my secondary axis to the domain of the first, and plot it on the first, but I'd rather avoid such an approach
As for posting code, trying to decude a minimum example. It also doesn't help that I'm stuck (due to constraints) on an older version of matplotlib (1.5)
Actually now that I think of it, I could work around it by using a line-locator tied to my primary axis, on my secondary axis, and plotting the primary axis in front of the secondary one
Yeah, a todo on the issue is to go through and put PRs on those projects...the ones that are even still maintained (which keeping track of status is what motivated the classifier) matplotlib/matplotlib#16592
Is using 3 numbers with subplots a recommended thing?
Hot take: MatplotlibDeprecationWarning should move to deriving from UserWarning (originally done to make sure they're always visible) to deriving from DeprecationWarning now that https://www.python.org/dev/peps/pep-0565/ is implemented.
I swear I always assume it's a DeprecationWarning subclass even after years of using knowing otherwise.
(I'm sure this conversation has been had before, but not since I've been around ;))
Note that the weekly developer call has moved to Tuesdays, 15:00 EDT (27 Oct = 19:00 UTC) and will follow America/New_York to 15:00 Standard time starting next week (3 Nov = 20:00 UTC).
physkets Hi! Say I have plots that use some colormap, and display a colorbar. Now, if I want all the colorbars to be of the same "size/extent", do I just set boundaries in colorbar()? Or do I need to make other changes as well?
physkets Okay, sorry, boundaries is not the right thing... how do I control the extents of the colorbar?
physkets Setting ticks manually also does not help...
physketshist2d does not have an extents argument, unlike imshow.
Do yo mean the min and max of the colormapping? Use vmin and vmax in the Norm or hist2d (which will pass to the norm)
physkets Jody Klymak (Gitter): Yes! the min & max extents. No, setting the vmin & vmax in the Norm with just scale things. That is not what I want. I have different plots, and I'd like to use the same colorbar for all of them. If I normalize them all, the values will be incorrect. So I need to pre-set the colorbar extents, and then have them plot as per the values obtained form hist2d.