JdavizViewerMixin#

class jdaviz.configs.default.plugins.viewers.JdavizViewerMixin(*args, **kwargs)[source]#

Bases: object

Attributes Summary

active_image_layer

Active image layer in the viewer, if available.

custom_marks

Return all marks that are not Lines/LinesGL objects (but can be subclasses)

data_labels_loaded

List of data labels loaded in this viewer.

data_labels_visible

List of data labels visible in this viewer.

hub

jdaviz_app

The Jdaviz application tied to the viewer.

jdaviz_helper

The Jdaviz configuration helper tied to the viewer.

native_marks

Return all marks that are Lines/LinesGL objects (and not subclasses)

reference

reference_id

toolbar

tools

tools_nested

user_api

Methods Summary

initialize_toolbar([default_tool_priority])

reset_limits()

Reset viewer axes limits.

set_limits([x_min, x_max, y_min, y_max])

Set viewer axes limits.

set_plot_axes()

Attributes Documentation

active_image_layer#

Active image layer in the viewer, if available.

custom_marks#

Return all marks that are not Lines/LinesGL objects (but can be subclasses)

data_labels_loaded#

List of data labels loaded in this viewer.

Returns:
data_labelslist

list of strings

data_labels_visible#

List of data labels visible in this viewer.

Returns:
data_labelslist

list of strings

hub#
jdaviz_app#

The Jdaviz application tied to the viewer.

jdaviz_helper#

The Jdaviz configuration helper tied to the viewer.

native_marks#

Return all marks that are Lines/LinesGL objects (and not subclasses)

reference#
reference_id#
toolbar = None#
tools#
tools_nested = []#
user_api#

Methods Documentation

initialize_toolbar(default_tool_priority=[])[source]#
reset_limits()[source]#

Reset viewer axes limits.

set_limits(x_min=None, x_max=None, y_min=None, y_max=None)[source]#

Set viewer axes limits.

Parameters:
x_minfloat or None, optional

lower-limit of x-axis (in current axes units)

x_max: float or None, optional

upper-limit of x-axis (in current axes units)

y_minfloat or None, optional

lower-limit of y-axis (in current axes units)

y_max: float or None, optional

upper-limit of y-axis (in current axes units)

set_plot_axes()[source]#