# How to close Data Probe when starting Slicer?

**URL:** <https://discourse.slicer.org/t/how-to-close-data-probe-when-starting-slicer/19066>\
**Category:** Development\
**Tags:** python\
**Created:** [August 5, 2021, 1:03am UTC](https://discourse.slicer.org/t/how-to-close-data-probe-when-starting-slicer/19066 "2021-08-05T01:03:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [August 5, 2021, 2:06am UTC](https://discourse.slicer.org/t/how-to-close-data-probe-when-starting-slicer/19066/2 "2021-08-05T02:06:03Z")

</div>

You can use the method `setDataProbeVisible`. See here for more details

> [@Simple way to disable Data Probe for some modules](https://discourse.slicer.org/t/simple-way-to-disable-data-probe-for-some-modules/10544/2):
>
> 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:

as part of the application startup script

[https://slicer.readthedocs.io/en/latest/user\_guide/settings.html?highlight=Slicerrc#application-startup-file](https://slicer.readthedocs.io/en/latest/user_guide/settings.html?highlight=Slicerrc#application-startup-file)

---

_[View the full topic](https://discourse.slicer.org/t/how-to-close-data-probe-when-starting-slicer/19066)._
