Skip to content

Commit d173cbb

Browse files
committed
create_animations to bad_create_animations
1 parent a156503 commit d173cbb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

plotly/plotly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
meta_ops,
2323
file_ops,
2424
get_config,
25-
create_animations
25+
bad_create_animations
2626
)

plotly/plotly/plotly.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,15 +1423,15 @@ def _send_to_plotly(figure, **plot_options):
14231423
origin='plot',
14241424
kwargs=kwargs)
14251425

1426-
if 'frames' in fig:
1427-
r = create_animations(fig, kwargs, payload)
1428-
else:
1429-
url = get_config()['plotly_domain'] + "/clientresp"
1426+
#if 'frames' in fig:
1427+
# r = create_animations(fig, kwargs, payload)
1428+
#else:
1429+
url = get_config()['plotly_domain'] + "/clientresp"
14301430

1431-
r = requests.post(url, data=payload,
1432-
verify=get_config()['plotly_ssl_verification'])
1433-
r.raise_for_status()
1434-
r = json.loads(r.text)
1431+
r = requests.post(url, data=payload,
1432+
verify=get_config()['plotly_ssl_verification'])
1433+
r.raise_for_status()
1434+
r = json.loads(r.text)
14351435

14361436
if 'error' in r and r['error'] != '':
14371437
raise exceptions.PlotlyError(r['error'])
@@ -1453,7 +1453,7 @@ def _send_to_plotly(figure, **plot_options):
14531453
return r
14541454

14551455

1456-
def create_animations(fig, kwargs, payload):
1456+
def bad_create_animations(fig, kwargs, payload):
14571457
"""
14581458
Makes a post to GRIDS and PLOTS if frames is in the figure.
14591459

0 commit comments

Comments
 (0)