Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be7622b

Browse files
committed
fix is scattergl logic
1 parent 1d3af05 commit be7622b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotly/plotly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def plot(figure_or_data, validate=True, **plot_options):
212212
figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)
213213

214214
for entry in figure['data']:
215-
if entry['type'] != 'scattergl':
215+
if ('type' in entry) and (entry['type'] == 'scattergl'):
216216
continue
217217
for key, val in list(entry.items()):
218218
try:

0 commit comments

Comments
 (0)