Skip to content

Remove plotly express from delayed submodule import. #2390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/python/plotly/plotly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
".io",
".data",
".colors",
".express",
],
[".version.__version__"],
)
2 changes: 1 addition & 1 deletion packages/python/plotly/test_init/test_lazy_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_lazy_imports():

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