Skip to content

Commit 9a9e4cc

Browse files
committed
remove get_attributes (can’t wait for res…)
1 parent c9b8e52 commit 9a9e4cc

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

plotly/widgets/graph_widget.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -605,26 +605,3 @@ def reorder_traces(self, current_indices, new_indices=None):
605605
message['newIndices'] = new_indices
606606
self._handle_outgoing_message(message)
607607

608-
def get_attributes(self, attributes=None, ignore_defaults=False):
609-
"""
610-
Get attributes of the Graph.
611-
612-
When `attributes` is specified, a dictionary of values is returned with
613-
the requested attributes as keys.
614-
615-
When `attributes` is None, the entire graph object is returned.
616-
617-
:param (str|str[]|None) attributes: Return listed attributes or entire
618-
graph.
619-
:param (bool) ignore_defaults: If False, find default arguments if user
620-
didn't define the values. If True,
621-
return undefined if user didn't define
622-
the values.
623-
"""
624-
message = {
625-
'task': 'getAttributes',
626-
'ignoreDefaults': ignore_defaults
627-
}
628-
if attributes is not None:
629-
message['attributes'] = attributes
630-
self._handle_outgoing_message(message)

0 commit comments

Comments
 (0)