MCPcopy Index your code
hub / github.com/bqplot/bqplot / set_cmap

Function set_cmap

bqplot/pyplot.py:529–536  ·  view source on GitHub ↗

Set the color map of the current 'color' scale.

(cmap)

Source from the content-addressed store, hash-verified

527
528
529def set_cmap(cmap):
530 '''
531 Set the color map of the current 'color' scale.
532 '''
533 scale = _context['scales']['color']
534 for k, v in _process_cmap(cmap).items():
535 setattr(scale, k, v)
536 return scale
537
538
539def _draw_mark(mark_type, options={}, axes_options={}, **kwargs):

Callers

nothing calls this directly

Calls 1

_process_cmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…