Simple way to disable Data Probe for some modules

slicer.util has this function:

which you can use with detecting when your module is entered/exited to hide the data probe. This can be done by defining the enter() / exit() functions in your module. See:

2 Likes