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

Method compute_dimensions_and_draw

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

Source from the content-addressed store, hash-verified

388 }
389
390 compute_dimensions_and_draw() {
391 this.set_area_dimensions(this.data.length);
392 this.update_plotarea_dimensions();
393 this.draw_map();
394
395 this.clear_selected();
396 this.apply_selected();
397
398 // when data is changed
399 this.fig_hover.selectAll('rect').remove();
400 this.hide_tooltip();
401 }
402
403 update_default_tooltip() {
404 this.tooltip_fields = this.model.get('tooltip_fields');

Callers 1

create_listenersMethod · 0.95

Calls 7

set_area_dimensionsMethod · 0.95
draw_mapMethod · 0.95
clear_selectedMethod · 0.95
apply_selectedMethod · 0.95
hide_tooltipMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected