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

Method set_scales

js/src/MarketMap.ts:432–443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430 }
431
432 set_scales() {
433 const that = this;
434 const color_scale = this.scales.color;
435 if (color_scale) {
436 color_scale.on('color_scale_range_changed', that.update_map_colors, that);
437 this.update_domains();
438 this.listenTo(color_scale, 'domain_changed', () => {
439 that.update_map_colors();
440 });
441 this.update_map_colors();
442 }
443 }
444
445 show_groups(model, value) {
446 this.fig_names.style('display', value ? 'inline' : 'none');

Callers 1

create_scale_viewsMethod · 0.95

Calls 2

update_domainsMethod · 0.95
update_map_colorsMethod · 0.95

Tested by

no test coverage detected