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

Function gray

lib/matplotlib/pyplot.py:4681–4688  ·  view source on GitHub ↗

Set the colormap to 'gray'. 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

4679
4680# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4681def gray() -> None:
4682 """
4683 Set the colormap to 'gray'.
4684
4685 This changes the default colormap as well as the colormap of the current
4686 image if there is one. See ``help(colormaps)`` for more information.
4687 """
4688 set_cmap("gray")
4689
4690
4691# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

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…