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

Method initialize

js/src/GraphModel.ts:74–83  ·  view source on GitHub ↗
(attributes, options)

Source from the content-addressed store, hash-verified

72 }
73
74 initialize(attributes, options) {
75 super.initialize(attributes, options);
76 this.on_some_change(
77 ['x', 'y', 'color', 'link_color', 'node_data', 'link_data', 'link_color'],
78 this.update_data,
79 this
80 );
81 this.on_some_change(['preserve_domain'], this.update_domains, this);
82 this.update_data();
83 }
84
85 get static(): boolean {
86 return this.get('static');

Callers

nothing calls this directly

Calls 1

update_dataMethod · 0.95

Tested by

no test coverage detected