2323import numpy as np
2424
2525from matplotlib import _api , cbook
26- from matplotlib .backends .registry import BackendFilter , backendRegistry
26+ from matplotlib .backends .registry import BackendFilter , backend_registry
2727from matplotlib .cbook import ls_mapper
2828from matplotlib .colors import Colormap , is_color_like
2929from matplotlib ._fontconfig_pattern import parse_fontconfig_pattern
3434
3535
3636# Deprecation of module-level attributes using PEP 562
37- _deprecated_interactive_bk = backendRegistry .list_builtin (BackendFilter .INTERACTIVE )
38- _deprecated_non_interactive_bk = backendRegistry .list_builtin (
37+ _deprecated_interactive_bk = backend_registry .list_builtin (BackendFilter .INTERACTIVE )
38+ _deprecated_non_interactive_bk = backend_registry .list_builtin (
3939 BackendFilter .NON_INTERACTIVE )
40- _deprecated_all_backends = backendRegistry .list_builtin ()
40+ _deprecated_all_backends = backend_registry .list_builtin ()
4141
4242_deprecated_names_and_args = {
4343 "interactive_bk" : "matplotlib.backends.registry.BackendFilter.INTERACTIVE" ,
@@ -52,7 +52,7 @@ def __getattr__(name):
5252 _api .warn_deprecated (
5353 "3.9.0" ,
5454 name = name ,
55- alternative = "``matplotlib.backends.registry.backendRegistry "
55+ alternative = "``matplotlib.backends.registry.backend_registry "
5656 f".list_builtin({ arg } )``" ,
5757 )
5858 return globals ()[f"_deprecated_{ name } " ]
@@ -271,7 +271,7 @@ def validate_fonttype(s):
271271
272272
273273_validate_standard_backends = ValidateInStrings (
274- 'backend' , backendRegistry .list_builtin (), ignorecase = True )
274+ 'backend' , backend_registry .list_builtin (), ignorecase = True )
275275_auto_backend_sentinel = object ()
276276
277277
0 commit comments