Skip to main content
Ctrl+K
Glue  documentation - Home
  • API
    • Component
    • DerivedComponent
    • CategoricalComponent
    • CoordinateComponent
    • DateTimeComponent
    • ExtendedComponent
    • ComponentID
    • PixelComponentID
    • ComponentIDDict
    • ComponentIDList
    • ComponentLink
    • BinaryComponentLink
    • CoordinateComponentLink
    • coordinates_from_header
    • coordinates_from_wcs
    • header_from_string
    • Coordinates
    • IdentityCoordinates
    • AffineCoordinates
    • Data
    • BaseCartesianData
    • BaseData
    • DataCollection
    • Hub
    • HubListener
    • combine_multiple
    • roi_to_subset_state
    • Subset
    • SubsetState
    • RoiSubsetStateNd
    • RoiSubsetState
    • CategoricalROISubsetState
    • RangeSubsetState
    • MultiRangeSubsetState
    • CompositeSubsetState
    • OrState
    • AndState
    • XorState
    • InvertState
    • MaskSubsetState
    • CategorySubsetState
    • ElementSubsetState
    • InequalitySubsetState
    • CategoricalMultiRangeSubsetState
    • CategoricalROISubsetState2D
    • SliceSubsetState
    • MultiOrState
    • GroupedSubset
    • SubsetGroup
    • Roi
    • RectangularROI
    • CircularROI
    • CircularAnnulusROI
    • PolygonalROI
    • AbstractMplRoi
    • MplRectangularROI
    • MplCircularROI
    • MplPolygonalROI
    • MplXRangeROI
    • MplYRangeROI
    • XRangeROI
    • RangeROI
    • YRangeROI
    • VertexROIBase
    • CategoricalROI
    • EllipticalROI
    • LinkCollection
    • LinkSame
    • LinkTwoWay
    • MultiLink
    • LinkAligned
    • BaseMultiLink
    • ManualLinkCollection
    • JoinLink
    • aastex_factory
    • astropy_tabular_data
    • auto_data
    • casalike_cube
    • cds_factory
    • daophot_factory
    • data_label
    • find_factory
    • fits_reader
    • has_extension
    • hdf5_reader
    • img_data
    • ipac_factory
    • is_casalike
    • is_fits
    • is_hdf5
    • is_npy_npz
    • latex_factory
    • load_data
    • npy_npz_reader
    • pandas_read_table
    • sextractor_factory
    • tabular_data
    • FileWatcher
    • LoadLog
    • BaseFitter1D
    • PolynomialFitter
    • AstropyFitter1D
    • SimpleAstropyGaussianFitter
    • BasicGaussianFitter
    • State
    • StateAttributeCacheHelper
    • StateAttributeLimitsHelper
    • StateAttributeSingleValueHelper
    • StateAttributeHistogramHelper
    • IncompatibleAttribute
    • IncompatibleDataException
    • InvalidMessage
    • InvalidSubscriber
    • UndefinedROI
    • Session
    • BaseViewer
    • Viewer
    • DeferredDrawSelectionCallbackProperty
    • DeferredDrawCallbackProperty
    • MatplotlibDataViewerState
    • MatplotlibLayerState
    • MatplotlibLayerArtist
    • LayerArtistBase
    • LayerArtistContainer
    • ViewerState
    • LayerState
    • LayerArtist
    • Tool
    • CheckableTool
    • DropdownTool
    • SimpleToolMenu
    • MouseMode
    • ToolbarModeBase
    • RoiModeBase
    • RoiMode
    • PersistentRoiMode
    • ClickRoiMode
    • RectangleMode
    • PathMode
    • CircleMode
    • PolyMode
    • HRangeMode
    • VRangeMode
    • PickMode
    • update_appearance_from_settings
    • init_mpl
    • MatplotlibViewerMixin
    • SimpleMatplotlibViewer
    • MatplotlibScatterMixin
    • SimpleScatterViewer
    • ScatterViewerState
    • ScatterLayerState
    • ScatterRegionLayerState
    • MatplotlibProfileMixin
    • SimpleProfileViewer
    • ProfileViewerState
    • ProfileLayerState
    • MatplotlibImageMixin
    • SimpleImageViewer
    • ImageViewerState
    • ImageLayerState
    • ImageSubsetLayerState
    • AggregateSlice
    • MatplotlibHistogramMixin
    • SimpleHistogramViewer
    • HistogramViewerState
    • HistogramLayerState
    • Application
    • custom_viewer
    • test
    • Registry
    • SettingRegistry
    • ExporterRegistry
    • ColormapRegistry
    • DataFactoryRegistry
    • LinkFunctionRegistry
    • LinkHelperRegistry
    • ViewerToolRegistry
    • ProfileFitterRegistry
    • DictRegistry
    • DataExporterRegistry
    • SubsetMaskExporterRegistry
    • SubsetMaskImporterRegistry
    • LayerArtistMakerRegistry
    • SessionPatchRegistry
    • AutoLinkerRegistry
    • DataTranslatorRegistry
    • SubsetDefinitionTranslatorRegistry
    • UnitConverterRegistry
    • StretchRegistry
    • BoolOption
    • FloatOption
    • IntOption
    • Option
    • ComponentIDComboHelper
    • ManualDataComboHelper
    • DataCollectionComboHelper
    • ComboHelper
    • BaseDataComboHelper
    • Message
    • ErrorMessage
    • SubsetMessage
    • SubsetCreateMessage
    • SubsetUpdateMessage
    • SubsetDeleteMessage
    • DataMessage
    • DataAddComponentMessage
    • DataUpdateMessage
    • DataCollectionMessage
    • DataCollectionActiveChange
    • DataCollectionActiveDataChange
    • DataCollectionAddMessage
    • DataCollectionDeleteMessage
    • ApplicationClosedMessage
    • DataRemoveComponentMessage
    • LayerArtistEnabledMessage
    • LayerArtistDisabledMessage
    • DataRenameComponentMessage
    • DataReorderComponentMessage
    • LayerArtistVisibilityMessage
    • relim
    • split_component_view
    • join_component_view
    • facet_subsets
    • colorize_subsets
    • disambiguate
    • small_view
    • small_view_array
    • visible_limits
    • tick_linker
    • update_ticks
    • ThetaRadianFormatter
    • ThetaDegreeFormatter
    • PolarRadiusFormatter
    • VisualAttributes
    • unique
    • shape_to_string
    • view_shape
    • stack_view
    • coerce_numeric
    • check_sorted
    • unbroadcast
    • iterate_chunks
    • combine_slices
    • format_minimal
    • compute_statistic
    • index_lookup
    • ensure_numerical
    • broadcast_arrays_minimal
    • random_views_for_dask_array
    • random_indices_for_array
    • categorical_ndarray
    • points_inside_poly
    • polygon_line_intersections
    • floodfill
    • rotation_matrix_2d
    • all_artists
    • new_artists
    • remove_artists
    • get_extent
    • view_cascade
    • fast_limits
    • defer_draw
    • color2rgb
    • point_contour
    • datetime64_to_mpl
    • mpl_to_datetime64
    • color2hex
    • nonpartial
    • lookup_class
    • as_variable_name
    • as_list
    • file_format
    • common_prefix
    • queue_to_list
    • format_choices
    • DeferredMethod
    • CallbackMixin
    • PropertySetMixin
    • Pointer
    • wcs_autolink
    • IncompatibleWCS
    • WCSLink
    • AffineLink
    • OffsetLink
    • NoAffineApproximation
  • .rst

MplYRangeROI

Contents

  • MplYRangeROI
    • MplYRangeROI.finalize_selection()
    • MplYRangeROI.start_selection()
    • MplYRangeROI.update_selection()

MplYRangeROI#

class glue.core.roi.MplYRangeROI(axes, data_space=True)[source]#

Bases: AbstractMplRoi

Matplotlib ROI for y range selections

Parameters:
axesmatplotlib.axes.Axes

The Matplotlib axes to draw to.

Methods Summary

finalize_selection(event)

start_selection(event)

update_selection(event)

Methods Documentation

finalize_selection(event)[source]#
start_selection(event)[source]#
update_selection(event)[source]#

previous

MplXRangeROI

next

XRangeROI

Contents
  • MplYRangeROI
    • MplYRangeROI.finalize_selection()
    • MplYRangeROI.start_selection()
    • MplYRangeROI.update_selection()

By Chris Beaumont, Thomas Robitaille, Michelle Borkin

© Copyright 2012-2023, Chris Beaumont, Thomas Robitaille, Michelle Borkin.