Skip to content

Commit d7f570d

Browse files
authored
Remove plotly express from delayed submodule import. (plotly#2390)
* Remove plotly express from delayed submodule import.
1 parent 7fcb95c commit d7f570d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
".io",
7373
".data",
7474
".colors",
75-
".express",
7675
],
7776
[".version.__version__"],
7877
)

Diff for: packages/python/plotly/test_init/test_lazy_imports.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_lazy_imports():
1515

1616
# Check that submodules are not auto-imported, but can be be accessed using
1717
# attribute syntax
18-
submodules = ["graph_objs", "io", "express"]
18+
submodules = ["graph_objs", "io"]
1919
for m in submodules:
2020
module_str = "plotly." + m
2121
assert module_str not in sys.modules

0 commit comments

Comments
 (0)