Skip to content

Commit 8560d7e

Browse files
committed
Update axes.py, _rc_nodots rename
1 parent 48dc2ba commit 8560d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proplot/axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import matplotlib.collections as mcollections
1818
from . import projs, axistools
1919
from .utils import _warn_proplot, _notNone, units, arange, edges
20-
from .rctools import rc, RC_NODOTSNAMES
20+
from .rctools import rc, _rc_nodots
2121
from .wrappers import (
2222
_get_transform, _norecurse, _redirect,
2323
_add_errorbars, _bar_wrapper, _barh_wrapper, _boxplot_wrapper,
@@ -107,7 +107,7 @@ def _parse_format(mode=2, rc_kw=None, **kwargs):
107107
kw = {}
108108
rc_kw = rc_kw or {}
109109
for key, value in kwargs.items():
110-
key_fixed = RC_NODOTSNAMES.get(key, None)
110+
key_fixed = _rc_nodots.get(key, None)
111111
if key_fixed is None:
112112
kw[key] = value
113113
else:
@@ -1691,7 +1691,7 @@ def _parse_alt(x, kwargs):
16911691
f'Twin axis keyword arg {key!r} is deprecated. '
16921692
f'Use {key[1:]!r} instead.')
16931693
kw_out[key] = value
1694-
elif key in RC_NODOTSNAMES:
1694+
elif key in _rc_nodots:
16951695
kw_out[key] = value
16961696
else:
16971697
kw_bad[key] = value

0 commit comments

Comments
 (0)