Update visualize.py

Due to this issue: https://github.com/matplotlib/matplotlib/issues/17172 setting aspect equal doesn't work on 3D axes. Removing for the moment.
This commit is contained in:
Neil Lawrence 2021-05-18 17:38:21 +01:00 committed by GitHub
parent ff82f12c3d
commit fee16c7b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,7 +411,7 @@ class mocap_data_show(matplotlib_show):
def __init__(self, vals, axes=None, connect=None, color='b'):
if axes==None:
fig = plt.figure()
axes = fig.add_subplot(111, projection='3d', aspect='equal')
axes = fig.add_subplot(111, projection='3d') #, aspect='equal') aspect equal not implemented in 3D plots currently see this issue: https://github.com/matplotlib/matplotlib/issues/17172
super(mocap_data_show, self).__init__(vals, axes)
self.color = color