'Delete data traces from a graph.
Args:
indices (list[int]): The indices of the traces to be removed
Example - Delete the 2nd trace:
from plotly.widgets import GraphWidget
from IPython.display import display
graph = GraphWidget(\'https://plot.ly/~chris/3979\')
display(graph)
graph.delete_traces([1])'

def delete_traces(self, indices):

    message = {'task': 'deleteTraces', 'indices': indices, 'graphId': self._graphId}
    self._handle_outgoing_message(message)
