Skip to content

Commit

Permalink
Fixed warnings when using matplotlib >= 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 7, 2018
1 parent edf008f commit 4455378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _rc_context(rcparams):
deprecated = ['text.latex.unicode', 'examples.directory']
old_rcparams = {k: mpl.rcParams[k] for k in mpl.rcParams.keys()
if mpl_version < '3.0' or k not in deprecated}
mpl.rcParams.update(rcparams)
mpl.rcParams = dict(old_rcparams, **rcparams)
try:
yield
finally:
Expand Down

0 comments on commit 4455378

Please sign in to comment.