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

Skip to content

Commit 0110347

Browse files
committed
make rc_context show up in pyplot's docs
1 parent 31692f0 commit 0110347

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/pyplot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ def pause(interval):
195195
def rc(*args, **kwargs):
196196
matplotlib.rc(*args, **kwargs)
197197

198+
@docstring.copy_dedent(matplotlib.rc_context)
199+
def rc_context(rc=None, fname=None):
200+
matplotlib.rc_context(rc, fname)
201+
198202
@docstring.copy_dedent(matplotlib.rcdefaults)
199203
def rcdefaults():
200204
matplotlib.rcdefaults()

0 commit comments

Comments
 (0)