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

Method initialize

js/src/ScatterModel.ts:41–53  ·  view source on GitHub ↗
(attributes, options)

Source from the content-addressed store, hash-verified

39 }
40
41 initialize(attributes, options) {
42 // TODO: Normally, color, opacity and size should not require a redraw
43 super.initialize(attributes, options);
44 this.on('change:skew', this.update_data, this);
45 this.on_some_change(
46 ['names', 'names_unique'],
47 function () {
48 this.update_unique_ids();
49 this.trigger('data_updated');
50 },
51 this
52 );
53 }
54
55 update_mark_data() {
56 super.update_mark_data();

Callers

nothing calls this directly

Calls 1

update_unique_idsMethod · 0.95

Tested by

no test coverage detected