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

Method change_map_color

js/src/Map.ts:408–415  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406 }
407
408 change_map_color() {
409 if (!this.is_object_empty(this.model.get('color'))) {
410 return;
411 }
412 this.fill_g.selectAll('path').style('fill', (d, i) => {
413 return this.fill_g_colorfill(d, i);
414 });
415 }
416
417 update_style() {
418 const color_data = this.model.get('color');

Callers

nothing calls this directly

Calls 2

is_object_emptyMethod · 0.95
fill_g_colorfillMethod · 0.95

Tested by

no test coverage detected