mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
[skip ci] review improvment from Paul
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
90e7e1d3f0
commit
887cfd2e78
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ class Universe(UniverseBase):
|
|||
fig.set_size_inches(width, height)
|
||||
|
||||
if outline:
|
||||
|
||||
# Combine R, G, B values into a single int
|
||||
rgb = (img * 256).astype(int)
|
||||
image_value = (rgb[..., 0] << 16) + (rgb[..., 1] << 8) + (rgb[..., 2])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue