Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 121f214

Browse files
committed
Add note about rc params to whats_new.rst.
1 parent 84a50e7 commit 121f214

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/users/whats_new.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,21 @@ interval.
8989
.. plot:: examples/pylab_examples/boxplot_demo3.py
9090

9191

92+
New RC parameter functionality
93+
------------------------------
94+
95+
Matthew Emmett added a function and a context manager to help manage
96+
RC parameters: :func:`~matplotlib.rc_file` and
97+
:class:`~matplotlib.rc_context`. To load RC paramters from a file::
98+
99+
>>> mpl.rc_file('mpl.rc')
100+
101+
To temporarily use RC parameters::
102+
103+
>>> with mpl.rc_context(fname='mpl.rc', rc={'text.usetex': True}):
104+
>>> ...
105+
106+
92107
.. _whats-new-1-1:
93108

94109
new in matplotlib-1.1

0 commit comments

Comments
 (0)