Note
Go to the end to download the full example code
GUI 2d demo#
Load a file and add some masks.
You can run the follow commands:
1. open a 2d gui panel
python -c "import cigvis; cigvis.gui.gui2d()"
2. open a 2d gui panel with special dimensions (512, 512)
python -c "import cigvis; cigvis.gui.gui2d(512, 512)"
3. open a 2d gui panel with special dimensions (512, 512), and keep the dimensions when click the clear button.
python -c "import cigvis; cigvis.gui.gui2d(512, 512, False)"
![image](../../_images/01.gif)
# sphinx_gallery_thumbnail_path = '_static/cigvis/gui/01.png'
import cigvis
cigvis.gui.gui2d(512, 512, False)
Total running time of the script: (0 minutes 0.000 seconds)