Skip to content

Commit 5177508

Browse files
committed
Make namespaces variable compact
1 parent ab1ea99 commit 5177508

File tree

1 file changed

+7
-46
lines changed

1 file changed

+7
-46
lines changed

lib/matplotlib/__init__.py

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -667,52 +667,13 @@ class RcParams(MutableMapping):
667667
:ref:`customizing-with-matplotlibrc-files`
668668
"""
669669
validate = rcsetup._validators
670-
namespaces = (
671-
"backends",
672-
"lines",
673-
"patches",
674-
"hatches",
675-
"boxplot",
676-
"font",
677-
"text",
678-
"latex",
679-
"axes",
680-
"date",
681-
"xtick",
682-
"ytick",
683-
"grid",
684-
"legend",
685-
"figure",
686-
"image",
687-
"contour",
688-
"errorbar",
689-
"hist",
690-
"scatter",
691-
"agg",
692-
"path",
693-
"savefig",
694-
"tk",
695-
"ps",
696-
"pdf",
697-
"svg",
698-
"pgf",
699-
"docstring",
700-
"keymap",
701-
"animation",
702-
"_internal",
703-
"webagg",
704-
"markers",
705-
"pcolor",
706-
"pcolormesh",
707-
"patch",
708-
"hatch",
709-
"mathtext",
710-
"polaraxes",
711-
"axes3d",
712-
"xaxis",
713-
"yaxis",
714-
"default"
715-
)
670+
namespaces = ("backends", "lines", "patches", "hatches", "boxplot", "font", "text",
671+
"latex", "axes", "date", "xtick", "ytick", "grid", "legend",
672+
"figure", "image", "contour", "errorbar", "hist", "scatter", "agg",
673+
"path", "savefig", "tk", "ps", "pdf", "svg", "pgf", "docstring",
674+
"keymap", "animation", "_internal", "webagg", "markers", "pcolor",
675+
"pcolormesh", "patch", "hatch", "mathtext", "polaraxes", "axes3d",
676+
"xaxis", "yaxis", "default")
716677

717678
single_key_set = {"backend", "toolbar", "interactive",
718679
"timezone", "backend_fallback"}

0 commit comments

Comments
 (0)