Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8c093c

Browse filesBrowse files
committed
Add TODO to refact later.
1 parent 0e644f0 commit c8c093c
Copy full SHA for c8c093c

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎plotly/graph_objs/graph_objs.py

Copy file name to clipboardExpand all lines: plotly/graph_objs/graph_objs.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@ def strip_style(self):
425425
else:
426426
try:
427427
if INFO[obj_key]['keymeta'][key]['key_type'] == 'style':
428+
429+
# TODO: use graph_objs_tools.value_is_data
428430
if isinstance(self[key], six.string_types):
429431
del self[key]
430432
elif not hasattr(self[key], '__iter__'):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.