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

Method getElementFill

js/src/HeatMap.ts:236–242  ·  view source on GitHub ↗
(color: number | null)

Source from the content-addressed store, hash-verified

234 }
235
236 private getElementFill(color: number | null) {
237 if (color === null) {
238 return this.model.get('null_color');
239 }
240
241 return this.scales.color.scale(color);
242 }
243
244 clear_style(style_dict, indices?, elements?) {}
245

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected