We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134f4a1 commit 2abb008Copy full SHA for 2abb008
ultraplot/tests/test_imports.py
@@ -120,6 +120,14 @@ def test_optional_module_attrs():
120
getattr(uplt, "pytest_plugins")
121
122
123
+def test_figure_submodule_does_not_clobber_callable():
124
+ import ultraplot as uplt
125
+ import ultraplot.figure as figmod
126
+
127
+ assert callable(uplt.figure)
128
+ assert figmod.Figure is uplt.Figure
129
130
131
def test_internals_lazy_attrs():
132
from ultraplot import internals
133
0 commit comments