|
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, |
@@ -1255,7 +1255,8 @@ def _convert_validator_spec(key, conv): |
1255 | 1255 | # altogether. For that use `matplotlib.style.use("classic")`. |
1256 | 1256 | "_internal.classic_mode": validate_bool |
1257 | 1257 | } |
1258 | | -_hardcoded_defaults = { # Defaults not inferred from matplotlibrc.template... |
| 1258 | +_hardcoded_defaults = { # Defaults not inferred from |
| 1259 | + # lib/matplotlib/mpl-data/matplotlibrc... |
1259 | 1260 | # ... because they are private: |
1260 | 1261 | "_internal.classic_mode": False, |
1261 | 1262 | # ... because they are deprecated: |
|
0 commit comments