Skip to content

How to make a mesh transparent. #3958

Discussion options

You must be logged in to vote

Try something like

import pyvista as pv
pl = pv.Plotter()
pl.add_mesh(pv.Cube(), opacity=0.5)
# add in other meshes
pl.show()

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by juanccilleruelo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants