Module ImportFrom alias alias alias Import alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args defaults body ImportFrom alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr comprehension NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpSub Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign TupleStore NameStore NameStore ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad If NameLoad body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp BinOpFloorDiv BinOpMult SubscriptLoad NameLoad Index BinOpSub NameLoad Num AttributeLoad NameLoad attr Call NameLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Continue Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Num SubscriptLoad NameLoad Index BinOpSub NameLoad Num NameLoad Return TupleLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpBitAnd CompareGtE NameLoad SubscriptLoad NameLoad Index Num CompareLtE NameLoad SubscriptLoad NameLoad Index Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad BinOpDiv NameLoad Num Num comprehension NameStore NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index NameLoad If UnaryOpInvert Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr body Return TupleLoad Num Num Assign NameStore TupleLoad UnaryOpUSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body ImportFrom alias If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return Call NameLoad NameLoad NameLoad TryFinally body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareGtE NameLoad NameLoad Assign NameStore BinOpMult NameLoad CompareEq NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Num SubscriptLoad AttributeLoad NameLoad attr Index Num Slice Num SubscriptLoad AttributeLoad NameLoad attr Index Num ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore BinOpSub Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore BinOpSub Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore Call NameLoad Num BinOpSub NameLoad NameLoad Assign NameStore Call NameLoad Num BinOpSub NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad Num Num Num Num body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A __future__ absolute_import division print_function N/A logging functools wraps N/A numpy np glue.external.axescache AxesCache glue.utils.misc DeferredMethod N/A __all__ N/A renderless_figure all_artists new_artists remove_artists get_extent view_cascade fast_limits defer_draw color2rgb point_contour cache_axes renderless_figure N/A N/A N/A N/A mock MagicMock N/A matplotlib.pyplot plt N/A fig N/A N/A plt figure N/A N/A N/A fig canvas draw N/A MagicMock N/A N/A N/A plt close all N/A fig N/A all_artists N/A N/A fig N/A N/A N/A 
    Build a set of all Matplotlib artists in a Figure
     N/A N/A set N/A item N/A axes N/A fig axes N/A container N/A N/A axes collections N/A axes patches N/A axes lines N/A axes texts N/A axes artists N/A axes images N/A item container N/A new_artists N/A N/A fig old_artists N/A N/A N/A 
    Find the newly-added artists in a figure

    :param fig: Matplotlib figure
    :param old_artists: Return value from :func:all_artists
    :returns: All artists added since all_artists was called
     N/A N/A N/A all_artists fig old_artists N/A remove_artists N/A N/A artists N/A N/A N/A 
    Remove a collection of matplotlib artists from a scene

    :param artists: Container of artists
     N/A a artists N/A N/A N/A N/A N/A N/A a remove N/A N/A N/A ValueError N/A N/A N/A get_extent N/A N/A view transpose N/A False N/A N/A N/A sy sx N/A s N/A s view N/A isinstance s slice N/A transpose N/A N/A N/A N/A sy start N/A sy stop N/A sx start N/A sx stop N/A N/A N/A sx start N/A sx stop N/A sy start N/A sy stop N/A view_cascade N/A N/A data view N/A N/A N/A 
    Return a set of views progressively zoomed out of input at roughly constant
    pixel count

    Parameters
    ----------
    data : array-like
        The array to view
    view :
        The original view into the data
     N/A shp N/A data shape N/A v2 N/A list view N/A N/A N/A logging debug image shape: %s, view: %s shp view N/A step N/A max N/A N/A N/A N/A shp N/A N/A i 1 N/A v step N/A max N/A N/A v stop N/A v start 1 N/A N/A i v N/A enumerate view N/A isinstance v slice N/A step N/A max step 1 N/A N/A i v N/A enumerate v2 N/A N/A N/A N/A isinstance v slice N/A N/A N/A N/A v2 N/A i N/A slice 0 N/A shp N/A N/A i 1 step N/A N/A N/A tuple v2 view N/A _scoreatpercentile N/A N/A values percentile limit N/A None N/A N/A N/A limit None N/A N/A values N/A values N/A N/A N/A values N/A limit N/A 0 N/A values N/A limit N/A 1 N/A N/A N/A np percentile values percentile N/A fast_limits N/A N/A data plo phi N/A N/A N/A 
    Quickly estimate percentiles in an array, using a downsampled version

    Parameters
    ----------
    data : `numpy.ndarray`
        The array to estimate the percentiles for
    plo, phi : float
        The percentile values

    Returns
    -------
    lo, hi : float
        The percentile values
     N/A shp N/A data shape N/A view N/A tuple N/A N/A slice None None N/A N/A np intp N/A max N/A s 50 1 N/A s shp N/A values N/A N/A N/A np asarray data N/A view N/A N/A N/A N/A N/A N/A np isfinite values any N/A N/A N/A 0.0 1.0 N/A limits N/A N/A N/A np inf N/A np inf N/A lo N/A _scoreatpercentile N/A values flat plo limit limits N/A hi N/A _scoreatpercentile N/A values flat phi limit limits N/A N/A lo hi N/A defer_draw N/A N/A func N/A N/A N/A 
    Decorator that globally defers all Agg canvas draws until
    function exit.

    If a Canvas instance's draw method is invoked multiple times,
    it will only be called once after the wrapped function returns.
     wrapper N/A N/A N/A args kwargs N/A matplotlib.backends.backend_agg FigureCanvasAgg N/A N/A isinstance N/A FigureCanvasAgg draw DeferredMethod N/A N/A N/A func args kwargs N/A N/A N/A N/A FigureCanvasAgg draw N/A DeferredMethod N/A FigureCanvasAgg draw N/A result N/A func args kwargs N/A N/A N/A N/A N/A FigureCanvasAgg draw execute_deferred_calls N/A N/A FigureCanvasAgg draw N/A N/A FigureCanvasAgg draw original_method N/A result N/A N/A wraps func N/A N/A wrapper _is_deferred True N/A wrapper N/A color2rgb N/A N/A color N/A N/A matplotlib.colors ColorConverter N/A result N/A N/A N/A ColorConverter to_rgb color N/A result N/A point_contour N/A N/A x y data N/A N/A N/A Calculate the contour that passes through (x,y) in data

    :param x: x location
    :param y: y location
    :param data: 2D image
    :type data: :class:`numpy.ndarray`

    Returns:

       * A (nrow, 2column) numpy array. The two columns give the x and
         y locations of the contour vertices
     N/A N/A scipy ndimage N/A N/A N/A ImportError N/A N/A N/A ImportError Image processing in Glue requires SciPy N/A inten N/A data N/A N/A y x N/A N/A labeled nr_objects N/A N/A ndimage label N/A data inten N/A z N/A data N/A labeled N/A labeled N/A N/A y x N/A N/A y x N/A N/A np mgrid N/A N/A 0 N/A N/A data shape N/A 0 N/A 0 N/A N/A data shape N/A 1 matplotlib _cntr N/A cnt N/A N/A _cntr Cntr x y z N/A xy N/A N/A cnt trace inten N/A N/A xy N/A N/A None N/A xy N/A xy N/A 0 N/A xy N/A AxesResizer N/A object N/A __init__ N/A N/A self ax margins N/A N/A N/A N/A self ax ax N/A N/A self margins margins N/A margins N/A N/A self N/A N/A N/A N/A self _margins N/A property margins N/A N/A self margins N/A N/A N/A N/A self _margins margins N/A N/A margins setter on_resize N/A N/A self event N/A N/A N/A fig_width N/A N/A N/A N/A self ax figure get_figwidth N/A fig_height N/A N/A N/A N/A self ax figure get_figheight N/A x0 N/A N/A N/A self margins N/A 0 fig_width N/A x1 N/A 1 N/A N/A N/A self margins N/A 1 fig_width N/A y0 N/A N/A N/A self margins N/A 2 fig_height N/A y1 N/A 1 N/A N/A N/A self margins N/A 3 fig_height N/A dx N/A max 0.01 N/A x1 x0 N/A dy N/A max 0.01 N/A y1 y0 N/A N/A N/A N/A self ax set_position N/A x0 y0 dx dy N/A N/A N/A N/A N/A N/A self ax figure canvas draw N/A N/A freeze_margins N/A N/A axes margins N/A N/A 1 1 1 1 N/A N/A 
    Make sure margins of axes stay fixed.

    Parameters
    ----------
    ax_class : matplotlib.axes.Axes
        The axes class for which to fix the margins
    margins : iterable
        The margins, in inches. The order of the margins is
        ``[left, right, bottom, top]``

    Notes
    -----
    The object that controls the resizing is stored as the resizer attribute of
    the Axes. This can be used to then change the margins:

        >> ax.resizer.margins = [0.5, 0.5, 0.5, 0.5]

     N/A N/A axes resizer N/A AxesResizer axes margins N/A N/A N/A N/A N/A axes figure canvas mpl_connect resize_event N/A N/A axes resizer on_resize N/A cache_axes N/A N/A axes toolbar N/A N/A N/A 
    Set up caching for an axes object.

    After this, cached renders will be used to quickly re-render an axes during
    window resizing or interactive pan/zooming.

    This function returns an AxesCache instance.

    Parameters
    ----------
    axes : `~matplotlib.axes.Axes`
        The axes to cache
    toolbar : `~glue.viewers.common.qt.toolbar.GlueToolbar`
        The toolbar managing the axes' canvas
     N/A canvas N/A N/A axes figure canvas N/A cache N/A AxesCache axes N/A N/A N/A N/A canvas resize_begin connect N/A cache enable N/A N/A N/A N/A canvas resize_end connect N/A cache disable N/A N/A N/A N/A toolbar pan_begin connect N/A cache enable N/A N/A N/A N/A toolbar pan_end connect N/A cache disable N/A cache N/A