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

Expose ax.yaxis.labelpad and ax.xaxis.labelpad to the rc file #2907

Closed
saullocastro opened this issue Mar 19, 2014 · 4 comments · Fixed by #4726
Closed

Expose ax.yaxis.labelpad and ax.xaxis.labelpad to the rc file #2907

saullocastro opened this issue Mar 19, 2014 · 4 comments · Fixed by #4726
Assignees
Milestone

Comments

@saullocastro
Copy link

While trying to change the gap between the axis title and the tick labels I found this thread:

http://matplotlib.1069221.n5.nabble.com/Distance-between-axis-and-axis-label-td1181.html

Where it is explained that using:

ax.xaxis.labelpad
ax.yaxis.labelpad

One can adjust this gap. It works perfectly, but the problem is that I have to add some lines in everycode I need this adjustment. I tried to include in my maplotlibrc file these two lines and it gives:

Bad key "ax.yaxis.labelpad" on line 247 in
...\.matplotlib\matplotlibrc.
You probably need to get an updated matplotlibrc file from
http://matplotlib.sf.net/_static/matplotlibrc or from the matplotlib source
distribution
@tacaswell tacaswell added this to the v1.5.x milestone Mar 19, 2014
@jgosmann
Copy link

jgosmann commented Oct 1, 2014

There is PR #3096 implementing a labelpad rcParam.

@tacaswell
Copy link
Member

Merged as b2bd5db

@Tillsten
Copy link
Contributor

@tacaswell Sorry, is this in 1.4.3?

@tacaswell tacaswell modified the milestones: next point release, proposed next point release Feb 23, 2015
@tacaswell
Copy link
Member

@Tillsten no, and I just noticed this went in with out proper documentation.

Re-opening as a reminder to add a line to Whats new.

@tacaswell tacaswell reopened this Feb 23, 2015
@tacaswell tacaswell modified the milestones: Color overhaul, next point release Jul 17, 2015
tacaswell added a commit to tacaswell/matplotlib that referenced this issue Jul 17, 2015
@tacaswell tacaswell self-assigned this Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants