File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 20202012-11-26 deprecate matplotlib/mpl.py, which was used only in pylab.py and is
2121 now replaced by the more suitable `import matplotlib as mpl`. - PI
2222
23+ 2012-11-25 Make rc_context available via pyplot interface - PI
24+
23252012-11-16 plt.set_cmap no longer throws errors if there is not already
2426 an active colorable artist, such as an image, and just sets
2527 up the colormap to use from that point forward. - PI
Original file line number Diff line number Diff line change 2828from matplotlib .image import imread as _imread
2929from matplotlib .image import imsave as _imsave
3030from matplotlib import rcParams , rcParamsDefault , get_backend
31+ from matplotlib import rc_context
3132from matplotlib .rcsetup import interactive_bk as _interactive_bk
3233from matplotlib .artist import getp , get , Artist
3334from matplotlib .artist import setp as _setp
@@ -194,6 +195,10 @@ def pause(interval):
194195def rc (* args , ** kwargs ):
195196 matplotlib .rc (* args , ** kwargs )
196197
198+ @docstring .copy_dedent (matplotlib .rc_context )
199+ def rc_context (rc = None , fname = None ):
200+ matplotlib .rc_context (rc , fname )
201+
197202@docstring .copy_dedent (matplotlib .rcdefaults )
198203def rcdefaults ():
199204 matplotlib .rcdefaults ()
You can’t perform that action at this time.
0 commit comments