Closed ndem0 closed 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.
ax.set_aspect('equal')
NotImplementedError
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.
equal
One solution should be: ax.set_aspect('auto', 'box') (TO CHECK)
ax.set_aspect('auto', 'box')
Fix in #62
The command:
ax.set_aspect('equal')
(https://github.com/mathLab/BladeX/blob/a1e471218c20e658c81ea249226a973ee64fbb35/bladex/blade.py#L467) raises aNotImplementedError
. 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)