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

BUG: set_tick_params labelcolor should apply to offset #6440

Closed
astrofrog opened this issue May 17, 2016 · 2 comments
Closed

BUG: set_tick_params labelcolor should apply to offset #6440

astrofrog opened this issue May 17, 2016 · 2 comments
Labels
Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone

Comments

@astrofrog
Copy link
Contributor

The following example:

import matplotlib.pyplot as plt

fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.plot([1.01e9,1.02e9,1.03e9])
ax.yaxis.set_tick_params(labelcolor='red')
fig.savefig('test.png')

produces the following output:

test

The offset label should likely be set by the labelcolor option too.

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone May 17, 2016
@tacaswell tacaswell added the Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues label May 17, 2016
@jenshnielsen
Copy link
Member

Fixed on master by #6445 but this has not been backported

@QuLogic
Copy link
Member

QuLogic commented May 22, 2016

Fix is now backported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Projects
None yet
Development

No branches or pull requests

4 participants