From c36cd195722efdce0d85711aa2056637fdc656e2 Mon Sep 17 00:00:00 2001 From: Neil Lawrence Date: Fri, 21 May 2021 07:29:01 +0100 Subject: [PATCH] Force integer division (missed Python2-Python 3 change) --- 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 26f62777..7c62f60e 100644 --- a/GPy/plotting/matplot_dep/visualize.py +++ b/GPy/plotting/matplot_dep/visualize.py @@ -499,7 +499,7 @@ class stick_show(mocap_data_show): super(stick_show, self).__init__(vals, axes=axes, connect=connect) def process_values(self): - self.vals = self.vals.reshape((3, self.vals.shape[1]/3)).T + self.vals = self.vals.reshape((3, self.vals.shape[1]//3)).T class skeleton_show(mocap_data_show): """data_show class for visualizing motion capture data encoded as a skeleton with angles."""