Skip to content

Commit 421f3ff

Browse files
committed
make offline.py importable
1 parent 3fca388 commit 421f3ff

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

plotly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828

2929
from __future__ import absolute_import
3030

31-
from plotly import plotly, graph_objs, grid_objs, tools, utils, session
31+
from plotly import plotly, graph_objs, grid_objs, tools, utils, session, offline
3232
from plotly.version import __version__

plotly/offline.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
without connecting to a public or private plotly enterprise
44
server.
55
"""
6-
import utils
6+
from __future__ import absolute_import
7+
8+
from plotly import utils
79
import uuid
810
import json
911
import os

0 commit comments

Comments
 (0)