Can I get vmin & vmax from subplots?

Hello there from Providence, Rhode Island!

I have three images and I want to include them in one plot, with each as a subplot.
I want to get the vmin and vmax from the “first” image and use that as the range for the second and third.

I am currently using vmin,vmax = plt.gci.get_clim() and have each plt.imshow() as its own figure. I tried to implement that with fig, axs but am not having any luck. Is this possible to implement within subplots and if so, how? Toy code would be great if possible.


Something like Multi Image — Matplotlib 3.4.2 documentation?

This could work! I’ll try implementing it. Thanks for pointing me in the right direction.