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

Method do_removeLayoutProps

js/src/widget.ts:706–717  ·  view source on GitHub ↗

* Handle removeLayoutProps message

()

Source from the content-addressed store, hash-verified

704 * Handle removeLayoutProps message
705 */
706 do_removeLayoutProps() {
707 /** @type {Py2JsRemoveLayoutPropsMsg} */
708 var msgData: Py2JsRemoveLayoutPropsMsg = this.model.get(
709 "_py2js_removeLayoutProps"
710 );
711
712 if (msgData !== null) {
713 var keyPaths = msgData.remove_props;
714 var layout = this.model.get("_widget_layout");
715 performRemoveProps(layout, keyPaths);
716 }
717 }
718
719 /**
720 * Handle removeTraceProps message

Callers 1

initializeMethod · 0.95

Calls 2

performRemovePropsFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected