mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-09-11 14:02:38 +02:00
Fix a bug where closed windows wouldn't reopen at the original size
This commit is contained in:
@@ -768,7 +768,7 @@ class CDIModel(t.nn.Module):
|
||||
constrained_layout=True)
|
||||
else:
|
||||
with plt.rc_context({'figure.raise_window': False}):
|
||||
fig = plt.figure(panel_def['title'],
|
||||
fig = plt.figure(panel_def['title'], figsize=figsize,
|
||||
constrained_layout=True)
|
||||
|
||||
fig.clear()
|
||||
|
||||
Reference in New Issue
Block a user