WithData returns a new HeatmapPrinter with specific Data.
(data [][]float32)
| 125 | |
| 126 | // WithData returns a new HeatmapPrinter with specific Data. |
| 127 | func (p HeatmapPrinter) WithData(data [][]float32) *HeatmapPrinter { |
| 128 | p.Data = data |
| 129 | return &p |
| 130 | } |
| 131 | |
| 132 | // WithTextColor returns a new HeatmapPrinter with a specific TextColor. |
| 133 | // This sets EnableComplementaryColor to false. |
no outgoing calls