You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, colorbars seem to label their values by simply printing them out (with str). It may be advantageous to use scientific notation and offset the values when needed (like axes do) instead.
Silly example:
from pylab import *; plt.imshow(np.random.rand(32, 32) / 1000); plt.colorbar(); plt.show()
The text was updated successfully, but these errors were encountered:
I didn't realize that I tend to have x and y axes of the style "largenumber+[smallnumbers]" (which triggers scientific notation) but colorbars which are all (moderately) large numbers and therefore do not trigger scientific notation. I was confused, my apologies.
Currently, colorbars seem to label their values by simply printing them out (with
str
). It may be advantageous to use scientific notation and offset the values when needed (like axes do) instead.Silly example:
The text was updated successfully, but these errors were encountered: