From 257f3d83df62f2d341c270650802bb4e1a490c55 Mon Sep 17 00:00:00 2001 From: Michael DM Dryden <mdryden@chem.utoronto.ca> Date: Mon, 27 Mar 2017 16:49:33 -0400 Subject: [PATCH] Plot: fix gridspec syntax for multiple experiments on one plot. --- dstat_interface/experiments/experiment_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dstat_interface/experiments/experiment_template.py b/dstat_interface/experiments/experiment_template.py index ee1587e..3cc2d66 100755 --- a/dstat_interface/experiments/experiment_template.py +++ b/dstat_interface/experiments/experiment_template.py @@ -282,7 +282,7 @@ class PlotBox(object): # Calculate size of grid needed if len(self.plotnames) > 1: - gs = gridspec.GridSpec(ceil(len(self.plotnames)/2.),2) + gs = gridspec.GridSpec(int(ceil(len(self.plotnames)/2.)),2) else: gs = gridspec.GridSpec(1,1) for n, i in enumerate(self.plotnames): -- GitLab