Skip to main content

PlotlyDeleteTraces

Wolfram Kernel
Execution environment
PlotlyDeleteTraces[p_PlotlyInstance, traces_List, opts___]

removes traces listed in traces with indexes starting from 0

Options

"Window"

By default, the "Window" option is set to "Inherited". This setting dynamically uses the currently active window associated with the PlotlyInstance.

When set to "Inherited", even if a new window is opened using the same instance, it will be detected automatically. This is possible because all PlotlyInstance objects perform a handshake after mounting on the page.

To override this behavior, you can provide a specific WindowObj as an option.