Skip to content

Commit

Permalink
Possible fix for many measurement gridspec
Browse files Browse the repository at this point in the history
  • Loading branch information
wflynny committed Jul 21, 2020
1 parent f0de46c commit 0ba310e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post_processing/plate_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ def plot_measurements(data, ncols=4, measurement_cols=None):
n_measurements = len(measurement_cols)

fig, plates = plate_grid(
n_measurements//ncols+1,
n_measurements%ncols,
(n_measurements-1)//ncols+1,
min(n_measurements,ncols),
[1]*n_measurements
)

Expand Down

0 comments on commit 0ba310e

Please sign in to comment.