Compass
- class jdaviz.configs.imviz.plugins.compass.compass.Compass(*args, **kwargs)[source] [edit on github]
Bases:
PluginTemplateMixin
,ViewerSelectMixin
Public constructor
Attributes Summary
A trait for unicode strings.
A trait for unicode strings.
A trait for unicode strings.
Methods Summary
Clear the content of the plugin.
draw_compass
(data_label, img_data)Draw compass in the plugin.
Attributes Documentation
- data_label
A trait for unicode strings.
- icon
A trait for unicode strings.
- img_data
A trait for unicode strings.
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v2.10.0/lib/python3.9/site-packages/jdaviz/configs/imviz/plugins/compass/compass.py', 'compass.vue')
Methods Documentation
- clear_compass()[source] [edit on github]
Clear the content of the plugin.
- draw_compass(data_label, img_data)[source] [edit on github]
Draw compass in the plugin. Input is rendered buffer from Matplotlib.