Commit ddbe84da authored by Martin Bauer's avatar Martin Bauer
Browse files

Guard for 3D axis equal (not supported in backend used for unittests)

parent 73eb95e9
Pipeline #18914 passed with stage
in 3 minutes and 17 seconds
......@@ -419,7 +419,10 @@ def plot_3d(stencil, figure=None, axes=None, data=None, textsize='8'):
if figure is None:
figure = plt.figure()
axes = figure.gca(projection='3d')
axes.set_aspect("equal")
try:
axes.set_aspect("equal")
except NotImplementedError:
pass
if data is None:
data = [None] * len(stencil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment