From fee16c7b1886a9911cdf947f4d3c7eca5bc00d72 Mon Sep 17 00:00:00 2001 From: Neil Lawrence Date: Tue, 18 May 2021 17:38:21 +0100 Subject: [PATCH] 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. --- GPy/plotting/matplot_dep/visualize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/plotting/matplot_dep/visualize.py b/GPy/plotting/matplot_dep/visualize.py index d4442dc7..0c20933b 100644 --- a/GPy/plotting/matplot_dep/visualize.py +++ b/GPy/plotting/matplot_dep/visualize.py @@ -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