mathLab / BladeX

BladeX - Python Blade Morphing
https://mathlab.github.io/BladeX/
Other
67 stars 30 forks source link

Error on 3D plots #57

Closed ndem0 closed 3 years ago

ndem0 commented 3 years ago

The command:
ax.set_aspect('equal') (https://github.com/mathLab/BladeX/blob/a1e471218c20e658c81ea249226a973ee64fbb35/bladex/blade.py#L467) raises a NotImplementedError. The error occurs running Tutorials 3 and 4.

Looking at the matplotlib documentation (https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_aspect.html#matplotlib.axes.Axes.set_aspect) it looks like the equal option has been deprecated.

One solution should be: ax.set_aspect('auto', 'box') (TO CHECK)

ndem0 commented 3 years ago

Fix in #62