mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-10-29 19:31:28 +01:00
Fix a bug where closed windows wouldn't reopen at the original size
This commit is contained in:
1 parent
bef907c032
commit
dafb204aa0
1 file changed
+1
-1
@@ -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