Skip to content

Commit ff13a4c

Browse files
committed
Make namespaces variable compact
1 parent e613b30 commit ff13a4c

File tree

1 file changed

+7
-46
lines changed

1 file changed

+7
-46
lines changed

lib/matplotlib/__init__.py

+7-46
Original file line numberDiff line numberDiff line change
@@ -624,52 +624,13 @@ class RcParams(MutableMapping):
624624
:ref:`customizing-with-matplotlibrc-files`
625625
"""
626626
validate = rcsetup._validators
627-
namespaces = (
628-
"backends",
629-
"lines",
630-
"patches",
631-
"hatches",
632-
"boxplot",
633-
"font",
634-
"text",
635-
"latex",
636-
"axes",
637-
"date",
638-
"xtick",
639-
"ytick",
640-
"grid",
641-
"legend",
642-
"figure",
643-
"image",
644-
"contour",
645-
"errorbar",
646-
"hist",
647-
"scatter",
648-
"agg",
649-
"path",
650-
"savefig",
651-
"tk",
652-
"ps",
653-
"pdf",
654-
"svg",
655-
"pgf",
656-
"docstring",
657-
"keymap",
658-
"animation",
659-
"_internal",
660-
"webagg",
661-
"markers",
662-
"pcolor",
663-
"pcolormesh",
664-
"patch",
665-
"hatch",
666-
"mathtext",
667-
"polaraxes",
668-
"axes3d",
669-
"xaxis",
670-
"yaxis",
671-
"default"
672-
)
627+
namespaces = ("backends", "lines", "patches", "hatches", "boxplot", "font", "text",
628+
"latex", "axes", "date", "xtick", "ytick", "grid", "legend",
629+
"figure", "image", "contour", "errorbar", "hist", "scatter", "agg",
630+
"path", "savefig", "tk", "ps", "pdf", "svg", "pgf", "docstring",
631+
"keymap", "animation", "_internal", "webagg", "markers", "pcolor",
632+
"pcolormesh", "patch", "hatch", "mathtext", "polaraxes", "axes3d",
633+
"xaxis", "yaxis", "default")
673634

674635
single_key_set = {"backend", "toolbar", "interactive",
675636
"timezone", "backend_fallback"}

0 commit comments

Comments
 (0)