mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
corrected pixel index for axis height (#2553)
This commit is contained in:
parent
7479a9022a
commit
a288e42a06
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ class Universe(UniverseBase):
|
|||
axes.set_ylabel(ylabel)
|
||||
params = fig.subplotpars
|
||||
width = pixels[0]*px/(params.right - params.left)
|
||||
height = pixels[0]*px/(params.top - params.bottom)
|
||||
height = pixels[1]*px/(params.top - params.bottom)
|
||||
fig.set_size_inches(width, height)
|
||||
|
||||
if outline:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue