Logarithmic Colorbar?
I have a colormap that I have successfully modified to have the colors logarithmic, creating the dramatic changes I was seeking. However, my colorbar is still stuck correlating the
Solution 1:
The answer to the question below would help (this seems to be a duplicate question though);
A logarithmic colorbar in matplotlib scatter plot
Matplotlib also has a dedicated section for colormap normalization;
https://matplotlib.org/users/colormapnorms.html
For your question, you would want to use stored value like following;
pcm = plt.pcolor(self._data, norm = colors.LogNorm())
plt.colorbar(pcm)
Post a Comment for "Logarithmic Colorbar?"