We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug summary
The color scale only has one tickmark. This is never correct.
Code for reproduction
import numpy as np import matplotlib matplotlib.use('pdf') import matplotlib.pyplot as plt from matplotlib.colors import LogNorm gcmap = 'plasma' # random data mi = 0.00058265 ma = 0.00108149 X, Y = np.meshgrid(range(512), np.linspace(0, 0.3 * 199, 200)) Z = mi+(ma-mi)*np.random.random(X.shape) # log z axis plt.pcolor(Z, cmap=gcmap, norm=LogNorm(vmin=abs(Z.min()), vmax=abs(Z.max()))) plt.colorbar() plt.xlim(0, 512) plt.savefig("plot.pdf")
Actual outcome plot.pdf
Expected outcome A colorbar with at least two tickmarks.
Matplotlib version
installed via pip3, but reproducible on other systems
The text was updated successfully, but these errors were encountered:
Looks like this is fixed in v2.0.0 plot.pdf
Sorry, something went wrong.
Closing as already fixed. If this is not the case please ping to have this reopened.
[edit] sorry for the noise, defeated by stale browser windows.
No branches or pull requests
Bug report
Bug summary
The color scale only has one tickmark. This is never correct.
Code for reproduction
Actual outcome
plot.pdf
Expected outcome
A colorbar with at least two tickmarks.
Matplotlib version
installed via pip3, but reproducible on other systems
The text was updated successfully, but these errors were encountered: