|
9 | 9 |
|
10 | 10 | The default values of the rc settings are set in the default matplotlibrc file.
|
11 | 11 | Any additions or deletions to the parameter set listed here should also be
|
12 |
| -propagated to the :file:`matplotlibrc.template` in Matplotlib's root source |
13 |
| -directory. |
| 12 | +propagated to the :file:`lib/matplotlib/mpl-data/matplotlibrc` in Matplotlib's |
| 13 | +root source directory. |
14 | 14 | """
|
15 | 15 |
|
16 | 16 | import ast
|
@@ -808,8 +808,8 @@ def _convert_validator_spec(key, conv):
|
808 | 808 | # Mapping of rcParams to validators.
|
809 | 809 | # Converters given as lists or _ignorecase are converted to ValidateInStrings
|
810 | 810 | # immediately below.
|
811 |
| -# The rcParams defaults are defined in matplotlibrc.template, which gets copied |
812 |
| -# to matplotlib/mpl-data/matplotlibrc by the setup script. |
| 811 | +# The rcParams defaults are defined in lib/matplotlib/mpl-data/matplotlibrc, which |
| 812 | +# gets copied to matplotlib/mpl-data/matplotlibrc by the setup script. |
813 | 813 | _validators = {
|
814 | 814 | "backend": validate_backend,
|
815 | 815 | "backend_fallback": validate_bool,
|
@@ -1256,7 +1256,8 @@ def _convert_validator_spec(key, conv):
|
1256 | 1256 | # altogether. For that use `matplotlib.style.use("classic")`.
|
1257 | 1257 | "_internal.classic_mode": validate_bool
|
1258 | 1258 | }
|
1259 |
| -_hardcoded_defaults = { # Defaults not inferred from matplotlibrc.template... |
| 1259 | +_hardcoded_defaults = { # Defaults not inferred from |
| 1260 | + # lib/matplotlib/mpl-data/matplotlibrc... |
1260 | 1261 | # ... because they are private:
|
1261 | 1262 | "_internal.classic_mode": False,
|
1262 | 1263 | # ... because they are deprecated:
|
|
0 commit comments