From c32be7a106976cd2325ace23b2ef7e52c8ff8b19 Mon Sep 17 00:00:00 2001 From: Drew Logsdon Date: Tue, 8 Mar 2016 15:38:55 -0600 Subject: [PATCH] Require plotly to ensure it is defined when building plot HTML in offline mode. --- plotly/offline/offline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plotly/offline/offline.py b/plotly/offline/offline.py index 6981bead02c..c11bcdb19b8 100644 --- a/plotly/offline/offline.py +++ b/plotly/offline/offline.py @@ -127,9 +127,11 @@ def _plot_html(figure_or_data, show_link, link_text, 'class="plotly-graph-div">' '' '' '').format( id=plotdivid, script=script,