From 805d8223cfd5fa5413b8aa05f44c1a5209525b71 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 16 Apr 2020 17:41:50 -0400 Subject: [PATCH 1/2] Remove plotly express from delayed submodule import. --- packages/python/plotly/plotly/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/python/plotly/plotly/__init__.py b/packages/python/plotly/plotly/__init__.py index 727585c4fd6..b6e35378c44 100644 --- a/packages/python/plotly/plotly/__init__.py +++ b/packages/python/plotly/plotly/__init__.py @@ -72,7 +72,6 @@ ".io", ".data", ".colors", - ".express", ], [".version.__version__"], ) From 83b5d2396eaf62598dc3f18dadccaf8267ace237 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 16 Apr 2020 17:51:30 -0400 Subject: [PATCH 2/2] Remove plotly express from delayed submodule import. --- packages/python/plotly/test_init/test_lazy_imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/test_init/test_lazy_imports.py b/packages/python/plotly/test_init/test_lazy_imports.py index 06b54ce8fd8..96ec66d9566 100644 --- a/packages/python/plotly/test_init/test_lazy_imports.py +++ b/packages/python/plotly/test_init/test_lazy_imports.py @@ -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