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

Method get_element_fill

js/src/GridHeatMap.ts:722–727  ·  view source on GitHub ↗
(dat)

Source from the content-addressed store, hash-verified

720 }
721
722 get_element_fill(dat) {
723 if (dat.color === null) {
724 return this.model.get('null_color');
725 }
726 return this.scales.color.scale(dat.color);
727 }
728
729 process_click(interaction) {
730 super.process_click(interaction);

Callers 1

set_default_styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected