diff --git a/pystencils/stencil.py b/pystencils/stencil.py index f2201ccc1153e2a1fb65da38eec44d7bdbeeb275..9f70336f3a3b3043fad322bdc67e134d5e11906b 100644 --- a/pystencils/stencil.py +++ b/pystencils/stencil.py @@ -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)