We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a26787 + a228b1f commit b071f39Copy full SHA for b071f39
lib/matplotlib/cm.py
@@ -34,6 +34,7 @@ def __getattr__(name):
34
_api.warn_deprecated("3.5", name=name,
35
alternative="rcParams['image.lut']")
36
return _LUTSIZE
37
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
38
39
40
_LUTSIZE = mpl.rcParams['image.lut']
0 commit comments