8000 Add rcfile function (which loads rc params from a given file). by memmett · Pull Request #861 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Add rcfile function (which loads rc params from a given file). #861

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

Merged
merged 13 commits into from
Aug 19, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add note about rc params to whats_new.rst.
  • Loading branch information
memmett committed Aug 19, 2012
commit 121f214fe899af390d39981f409481d9e324052f
15 changes: 15 additions & 0 deletions doc/users/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ interval.
.. plot:: examples/pylab_examples/boxplot_demo3.py


New RC parameter functionality
------------------------------

Matthew Emmett added a function and a context manager to help manage
RC parameters: :func:`~matplotlib.rc_file` and
:class:`~matplotlib.rc_context`. To load RC paramters from a file::

>>> mpl.rc_file('mpl.rc')

To temporarily use RC parameters::

>>> with mpl.rc_context(fname='mpl.rc', rc={'text.usetex': True}):
>>> ...


.. _whats-new-1-1:

new in matplotlib-1.1
Expand Down
0