Skip to content

Commit 7483fbb

Browse files
authored
changed order of imports for better error messages (#2132)
1 parent 42746dc commit 7483fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/express/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"""
55
from __future__ import absolute_import
66
from plotly import optional_imports
7-
from ._imshow import imshow
87

98
pd = optional_imports.get_module("pandas")
109
if pd is None:
@@ -13,6 +12,7 @@
1312
Plotly express requires pandas to be installed."""
1413
)
1514

15+
from ._imshow import imshow
1616
from ._chart_types import ( # noqa: F401
1717
scatter,
1818
scatter_3d,

0 commit comments

Comments
 (0)