Based on this image.sc issue:
https://forum.image.sc/t/heatmap-3d-visualization-of-brain-region-transparency-regulation/
It's possible to do, but it would be easier to add this as a parameter somehow
Example:
import brainglobe_heatmap as bgh
values = dict(
HIP=3,
TH=1,
RSP=0.2,
)
scene = bgh.Heatmap(
values,
position=(8000, 5000, 5000),
orientation="frontal",
thickness=5000,
format="3D",
)
# get the HIP actor
HIP = scene.scene.get_actors(br_class="brain region", name="HIP")[0]
# Set the opacity
HIP.alpha(0.3)
# Render the scene
scene.show()
gives:

Based on this image.sc issue:
https://forum.image.sc/t/heatmap-3d-visualization-of-brain-region-transparency-regulation/
It's possible to do, but it would be easier to add this as a parameter somehow
Example:
gives: