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

Choose rcfile to use at runtime #3996

Closed
maxnoe opened this issue Jan 13, 2015 · 3 comments
Closed

Choose rcfile to use at runtime #3996

maxnoe opened this issue Jan 13, 2015 · 3 comments

Comments

@maxnoe
Copy link
Contributor

maxnoe commented Jan 13, 2015

I would love a command like:

plt.use_rc_file("/path/to/matplotlibrc")

to choose a specific rc file in a script.

@mdboom
Copy link
Member

mdboom commented Jan 13, 2015

You can do:

from matplotlib import style
style.use("/path/to/matplotlibrc")

@mdboom mdboom closed this as completed Jan 13, 2015
@maxnoe
Copy link
Contributor Author

maxnoe commented Jan 13, 2015

Oh, thanks. Why is this not mentioned here: http://matplotlib.org/users/customizing.html ?

@tacaswell
Copy link
Member

@maxnoe Because that documentation has gotten behind the code. If you could put in a PR to update it that would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants