MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / viridis

Function viridis

lib/matplotlib/pyplot.py:4813–4820  ·  view source on GitHub ↗

Set the colormap to 'viridis'. This changes the default colormap as well as the colormap of the current image if there is one. See ``help(colormaps)`` for more information.

()

Source from the content-addressed store, hash-verified

4811
4812# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4813def viridis() -> None:
4814 """
4815 Set the colormap to 'viridis'.
4816
4817 This changes the default colormap as well as the colormap of the current
4818 image if there is one. See ``help(colormaps)`` for more information.
4819 """
4820 set_cmap("viridis")
4821
4822
4823# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers 1

Calls 1

set_cmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…