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

Method do_relayout

js/src/widget.ts:656–663  ·  view source on GitHub ↗

* Handle relayout message

()

Source from the content-addressed store, hash-verified

654 * Handle relayout message
655 */
656 do_relayout() {
657 /** @type {Py2JsRelayoutMsg} */
658 var msgData: Py2JsRelayoutMsg = this.model.get("_py2js_relayout");
659
660 if (msgData !== null) {
661 performRelayoutLike(this.model.get("_widget_layout"), msgData.relayout_data);
662 }
663 }
664
665 /**
666 * Handle update message

Callers 1

initializeMethod · 0.95

Calls 2

performRelayoutLikeFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected