Skip to content
New issue

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

symlog scale no longer shows labels on the negative side #7146

Closed
anntzer opened this issue Sep 20, 2016 · 3 comments · Fixed by #7337
Closed

symlog scale no longer shows labels on the negative side #7146

anntzer opened this issue Sep 20, 2016 · 3 comments · Fixed by #7337
Assignees
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Sep 20, 2016

Compare
http://matplotlib.org/devdocs/examples/scales/scales.html (~2.0b4)
and
http://matplotlib.org/examples/scales/scales.html (1.5.3)
no tick labels are drawn on the negative side of the symlog plot in 2.0b4, unlike e.g. 1.5.3 which works fine.
Bisected back to PR #5161, but some commits within the PR don't run so I can't do better.

@anntzer anntzer added this to the 2.0 (style change major release) milestone Sep 20, 2016
@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Sep 20, 2016
@egaudry
Copy link

egaudry commented Sep 30, 2016

might be linked to #7202

@NelleV
Copy link
Member

NelleV commented Oct 24, 2016

Code to reproduce the bug:

import numpy as np
import matplotlib.pyplot as plt
from matplotlib import colors
from matplotlib import ticker

X = -1 * np.random.randint(10, 90, size=(100, 100))

fig, ax = plt.subplots()
m = ax.imshow(X, norm=colors.SymLogNorm(1))
formatter = ticker.LogFormatter(10)
cb = fig.colorbar(m, format=formatter)
ax.set_title("label only base")

@NelleV NelleV self-assigned this Oct 24, 2016
@NelleV
Copy link
Member

NelleV commented Oct 24, 2016

That was on the wrong ticket…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants