There was an error while loading. Please reload this page.
2 parents 05b9179 + 2638e3e commit d86ced4Copy full SHA for d86ced4
1 file changed
galleries/users_explain/colors/colormap-manipulation.py
@@ -299,6 +299,11 @@ def plot_linearmap(cdict):
299
300
plt.show()
301
302
+# %%
303
+# Colormaps added to the registry can also be deregistered:
304
+
305
+mpl.colormaps.unregister(my_cmap.name)
306
307
# %%
308
#
309
# .. admonition:: References
0 commit comments