Skip to content
Snippets Groups Projects
Commit 257f3d83 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Plot: fix gridspec syntax for multiple experiments on one plot.

parent e4a8643e
Branches
Tags
1 merge request!10Move to gtk3 and new command protocol
......@@ -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):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment