Skip to content

Commit 74ab69a

Browse files
committed
blsack
1 parent 54bbf66 commit 74ab69a

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

pymathics/vectorizedplot/__init__.py

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,7 @@
2424

2525
from pymathics.vectorizedplot.version import __version__
2626

27-
try:
28-
from pymathics.vectorizedplot.plot_plot3d import (
29-
ContourPlot3D,
30-
ParametricPlot3D,
31-
SphericalPlot3D,
32-
)
33-
34-
__all__ = (
35-
"ContourPlot3D",
36-
"ParametricPlot3D",
37-
"SphericalPlot3D",
38-
"__version__",
39-
"pymathics_version_data",
40-
)
41-
except ModuleNotFoundError:
42-
__all__ = ("__version__", "pymathics_version_data")
27+
from .plot_plot3d import ContourPlot3D, ParametricPlot3D, SphericalPlot3D
4328

4429
# To be recognized as an external mathics module, the following variable
4530
# is required:
@@ -52,3 +37,12 @@
5237

5338
# This tells documentation how to sort this module
5439
sort_order = "mathics.builtin.plotting-graphing-and-drawing"
40+
41+
42+
__all__ = (
43+
"ContourPlot3D",
44+
"ParametricPlot3D",
45+
"SphericalPlot3D",
46+
"__version__",
47+
"pymathics_version_data",
48+
)

0 commit comments

Comments
 (0)