JdavizViewerMixin#
- class jdaviz.configs.default.plugins.viewers.JdavizViewerMixin(*args, **kwargs)[source]#
Bases:
object
Attributes Summary
Active image layer in the viewer, if available.
Return all marks that are not Lines/LinesGL objects (but can be subclasses)
The Jdaviz application tied to the viewer.
The Jdaviz configuration helper tied to the viewer.
Return all marks that are Lines/LinesGL objects (and not subclasses)
Methods Summary
initialize_toolbar
([default_tool_priority])Reset viewer axes limits.
set_limits
([x_min, x_max, y_min, y_max])Set viewer axes limits.
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)
- 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
- 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)