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

Function performRemoveProps

js/src/widget.ts:1905–1913  ·  view source on GitHub ↗

* Remove nested properties from a parent object * @param {Object} parentObj * Parent object from which properties or nested properties should be removed * @param {Array. >} keyPaths * Array of key paths for properties that should be removed. Each key path * is an array o

(
  parentObj: object,
  keyPaths: Array<Array<number | string>>
)

Source from the content-addressed store, hash-verified

1903 *
1904 */
1905function performRemoveProps(
1906 parentObj: object,
1907 keyPaths: Array<Array<number | string>>
1908) {
1909 for (var i = 0; i < keyPaths.length; i++) {
1910 var keyPath = keyPaths[i];
1911 _.unset(parentObj, keyPath);
1912 }
1913}
1914
1915/**
1916 * Return object that contains all properties in fullObj that are not

Callers 2

do_removeLayoutPropsMethod · 0.85
do_removeTracePropsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected