MCPcopy Index your code
hub / github.com/plotly/plotly.py / set

Method set

js/src/widget.ts:150–156  ·  view source on GitHub ↗
(key: string, value: unknown)

Source from the content-addressed store, hash-verified

148 }
149
150 set(key: string, value: unknown) {
151 let serializer = this.serializers[key];
152 if (serializer?.serialize) {
153 value = serializer.serialize(value)
154 }
155 this.model.set(key, value);
156 }
157
158 on(event: string, cb?: () => void) {
159 this.model.on(event, cb);

Callers 8

handle_plotly_restyleMethod · 0.45
handle_plotly_updateMethod · 0.45
_sendLayoutDeltaMethod · 0.45
_sendTraceDeltasMethod · 0.45
performRelayoutLikeFunction · 0.45
performRestyleLikeFunction · 0.45

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected