Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc686b1

Browse files
appleapple
authored andcommitted
Also remove from _scale_has_axis_parameter in unregister_scale
1 parent 0a4417d commit cc686b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/scale.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ def unregister_scale(name):
968968
if name not in _scale_mapping:
969969
raise ValueError(f"Scale '{name}' is not registered.")
970970
_scale_mapping.pop(name)
971+
_scale_has_axis_parameter.pop(name, None)
971972

972973

973974
def _get_scale_docs():

0 commit comments

Comments
 (0)