I am making subplots in Python of 6 images and the y axis values are very high (range from 0 to 250 000). I want to show them in multiples of 1000, but not that they show up as 1K,10K,250K etc., but as 1,10,250 and at the top there would be 1e3 to show that all the values are multiples of 1000. Is there a simple way to do this? I am doing this to conserve horizontal space because I need it to fit in my dissertation. Here's my output,here's an example of what I want it to look like and below is the code:
fig,ax = plt.subplots(3,2,figsize=(10,20))
im1 = ax[0,0].hist(im1,bins=300,range=(0.66,0.95))
im2 = ax[0,1].hist(im2,bins=300,range=(0,0.8))
im3 = ax[1,0].hist(im3,bins=300,range=(200,280))
im4 = ax[1,1].hist(im4,bins=300,range=(0,80))
im5 = ax[2,0].hist(im5,bins=300,range=(200,280))
im6 = ax[2,1].hist(im6,bins=300,range=(0,80))