diff --git a/dios b/dios index 0665773c1a86b018f79db7983494c198b77620fc..8264b2540025709465b2db0c23a074d97e31182c 160000 --- a/dios +++ b/dios @@ -1 +1 @@ -Subproject commit 0665773c1a86b018f79db7983494c198b77620fc +Subproject commit 8264b2540025709465b2db0c23a074d97e31182c diff --git a/saqc/lib/plotting.py b/saqc/lib/plotting.py index 92a0667331ceec4064b4466305a5199808e5c8c1..bbe898b98850d55951d177cf3a43171497f09d04 100644 --- a/saqc/lib/plotting.py +++ b/saqc/lib/plotting.py @@ -156,9 +156,11 @@ def _plotMultipleVariables( tlen = len(targets) tgen = (t for t in targets) - nfig, ncols_rest = divmod(tlen, 5) - ncols = [4] * nfig + [ncols_rest] - nfig += 1 + nfig, ncols_rest = divmod(tlen, 4) + ncols = [4] * nfig + if ncols_rest: + nfig += 1 + ncols += [ncols_rest] gs_kw = dict(width_ratios=_layout_data_to_table_ratio) layout = dict(