Plot implements the Plot method of the plot.Plotter interface.
(c draw.Canvas, plt *plot.Plot)
| 103 | |
| 104 | // Plot implements the Plot method of the plot.Plotter interface. |
| 105 | func (h *HeatMap) Plot(c draw.Canvas, plt *plot.Plot) { |
| 106 | if h.Rasterized { |
| 107 | h.plotRasterized(c, plt) |
| 108 | } else { |
| 109 | h.plotVectorized(c, plt) |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | // plotRasterized plots the heatmap using raster-based drawing. |
| 114 | func (h *HeatMap) plotRasterized(c draw.Canvas, plt *plot.Plot) { |
nothing calls this directly
no test coverage detected