diff --git a/holoviews/plotting/mpl/plot.py b/holoviews/plotting/mpl/plot.py index 0fb6b7e6c8..302df191d8 100644 --- a/holoviews/plotting/mpl/plot.py +++ b/holoviews/plotting/mpl/plot.py @@ -34,6 +34,7 @@ def _rc_context(rcparams): 'savefig.frameon', # deprecated in MPL 3.1, to be removed in 3.3 'verbose.level', # deprecated in MPL 3.1, to be removed in 3.3 'verbose.fileo', # deprecated in MPL 3.1, to be removed in 3.3 + 'datapath', # deprecated in MPL 3.2.1, to be removed in 3.3 ] old_rcparams = {k: mpl.rcParams[k] for k in mpl.rcParams.keys() if mpl_version < '3.0' or k not in deprecated} diff --git a/holoviews/plotting/mpl/renderer.py b/holoviews/plotting/mpl/renderer.py index d3bf92c4ad..f3dcbc43fe 100644 --- a/holoviews/plotting/mpl/renderer.py +++ b/holoviews/plotting/mpl/renderer.py @@ -236,10 +236,11 @@ def state(cls): 'savefig.frameon', # deprecated in MPL 3.1, to be removed in 3.3 'verbose.level', # deprecated in MPL 3.1, to be removed in 3.3 'verbose.fileo', # deprecated in MPL 3.1, to be removed in 3.3 + 'datapath', # deprecated in MPL 3.2.1, to be removed in 3.3 ] old_rcparams = {k: mpl.rcParams[k] for k in mpl.rcParams.keys() if mpl_version < '3.0' or k not in deprecated} - + try: cls._rcParams = old_rcparams yield