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

Function heatmap

bqplot/pyplot.py:1005–1022  ·  view source on GitHub ↗

Draw a heatmap in the current context figure. Parameters ---------- color: numpy.ndarray, 2d Matrix of color of the data points options: dict (default: {}) Options for the scales to be created. If a scale labeled 'x' is required for that mark, options['x'] co

(color, **kwargs)

Source from the content-addressed store, hash-verified

1003
1004
1005def heatmap(color, **kwargs):
1006 """Draw a heatmap in the current context figure.
1007
1008 Parameters
1009 ----------
1010 color: numpy.ndarray, 2d
1011 Matrix of color of the data points
1012 options: dict (default: {})
1013 Options for the scales to be created. If a scale labeled 'x' is
1014 required for that mark, options['x'] contains optional keyword
1015 arguments for the constructor of the corresponding scale type.
1016 axes_options: dict (default: {})
1017 Options for the axes to be created. If an axis labeled 'x' is required
1018 for that mark, axes_options['x'] contains optional keyword arguments
1019 for the constructor of the corresponding axis type.
1020 """
1021 kwargs['color'] = color
1022 return _draw_mark(HeatMap, **kwargs)
1023
1024
1025def gridheatmap(color, **kwargs):

Callers

nothing calls this directly

Calls 1

_draw_markFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…