From 9e229b7193617f97326993c566b2428e2e8309e4 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 6 May 2022 11:43:58 +0200 Subject: [PATCH] Update diff for larger figure --- olaflow/processing/diff.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/olaflow/processing/diff.py b/olaflow/processing/diff.py index 6f41763..c8788b1 100644 --- a/olaflow/processing/diff.py +++ b/olaflow/processing/diff.py @@ -57,8 +57,8 @@ def get_pickle(out): models = list(map(get_pickle, args.output)) +fig, ax = plt.subplots(len(models), figsize=(6, 1.5 * len(models)), dpi=100, constrained_layout=True) if args.timestep is None: - fig, ax = plt.subplots(len(models), constrained_layout=True) for i, (_ax, _model) in enumerate(zip(ax, models)): _ax.contour( _model.t, @@ -77,7 +77,6 @@ if args.timestep is None: ) ) else: - fig, ax = plt.subplots(len(models), constrained_layout=True) for i, (_ax, _model) in enumerate(zip(ax, models)): _ax.tricontour( _model.x,