Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c15c585 + 9e65b2f commit 71c9f09Copy full SHA for 71c9f09
1 file changed
lib/matplotlib/cm.py
@@ -92,7 +92,7 @@ def _warn_deprecated(self):
92
93
94
_cmap_registry = _gen_cmap_registry()
95
-locals().update(_cmap_registry)
+globals().update(_cmap_registry)
96
# This is no longer considered public API
97
cmap_d = _DeprecatedCmapDictWrapper(_cmap_registry)
98
__builtin_cmaps = tuple(_cmap_registry)
0 commit comments