Compass

class jdaviz.configs.imviz.plugins.Compass(*args, **kwargs)[source] [edit on github]

Bases: jdaviz.core.template_mixin.PluginTemplateMixin, jdaviz.core.template_mixin.ViewerSelectMixin

Public constructor

Attributes Summary

data_label

A trait for unicode strings.

img_data

A trait for unicode strings.

template_file

Methods Summary

clear_compass()

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.

img_data

A trait for unicode strings.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v2.4.0/lib/python3.8/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.