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)
| 1003 | |
| 1004 | |
| 1005 | def 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 | |
| 1025 | def gridheatmap(color, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…