Skip to content

Switch between representations on Point() object #534

Answered by marcomusy
jkissi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, you can add and remove any item(s) with
plotter.remove(some_list).add(some_other_list)
(probably you want to do this in a callback function)

Another option is to switch on and off an object visibility with:
myobject.on()
myobject.off()

For the scalarbar you may need to extract it from the associated mesh and handle it like any other vedo object:
myscalarbar = mymesh.scalarbar

Give it a try!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcomusy
Comment options

Answer selected by jkissi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants