Module ImportFrom alias alias alias Import alias identifier ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str decorator_list ClassDef bases NameLoad body Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad TryFinally body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListComp SubscriptLoad SubscriptLoad NameLoad Index Num Index Num comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list
N/A __future__ absolute_import division print_function N/A numpy np mock MagicMock patch glue.core Data DataCollection glue.app.qt GlueApplication glue.core.tests.util simple_session data_viewer DataViewer glue.viewers.histogram.qt HistogramWidget glue.viewers.image.qt ImageWidget glue.viewers.scatter.qt ScatterWidget setup_function N/A N/A func N/A N/A N/A os N/A N/A N/A os environ N/A GLUE_TESTING True N/A BaseTestDataViewer N/A object N/A N/A ndim 1 test_unregister_on_close N/A N/A self N/A N/A N/A session N/A simple_session N/A hub N/A session hub N/A w N/A N/A self widget_cls session N/A N/A N/A w register_to_hub hub N/A N/A N/A patch object DataViewer unregister unregister N/A N/A N/A N/A w close N/A N/A N/A unregister assert_called_once_with hub N/A test_single_draw_call_on_create N/A N/A self N/A N/A N/A d N/A Data x N/A N/A N/A np random random N/A N/A 2 N/A self ndim N/A dc N/A DataCollection N/A d N/A app N/A GlueApplication dc N/A N/A glue.viewers.common.qt.mpl_widget MplCanvas N/A draw N/A MplCanvas draw N/A N/A MplCanvas draw N/A MagicMock N/A N/A N/A app new_data_viewer N/A self widget_cls data d N/A selfs N/A N/A N/A c N/A 0 N/A 0 N/A c N/A N/A MplCanvas draw call_arg_list N/A N/A N/A len N/A set selfs N/A len selfs N/A N/A N/A MplCanvas draw draw N/A test_close_on_last_layer_remove N/A N/A self N/A N/A N/A d1 N/A Data x N/A N/A N/A np random random N/A N/A 2 N/A self ndim N/A d2 N/A Data y N/A N/A N/A np random random N/A N/A 2 N/A self ndim N/A dc N/A DataCollection N/A d1 d2 N/A app N/A GlueApplication dc N/A N/A N/A patch object N/A self widget_cls close close N/A N/A w N/A N/A app new_data_viewer N/A self widget_cls data d1 N/A N/A N/A w add_data d2 N/A N/A N/A dc remove d1 N/A N/A N/A dc remove d2 N/A N/A N/A close call_count 1 N/A test_viewer_size N/A N/A self tmpdir N/A N/A N/A d1 N/A Data x N/A N/A N/A np random random N/A N/A 2 N/A self ndim N/A d2 N/A Data x N/A N/A N/A np random random N/A N/A 2 N/A self ndim N/A dc N/A DataCollection N/A d1 d2 N/A app N/A GlueApplication dc N/A w N/A N/A app new_data_viewer N/A self widget_cls data d1 N/A N/A w viewer_size N/A 300 400 N/A filename N/A N/A N/A tmpdir join session.glu strpath N/A N/A N/A app save_session filename include_data True N/A app2 N/A N/A GlueApplication restore_session filename N/A viewer N/A app2 viewers N/A N/A N/A N/A N/A viewer N/A 0 viewer_size N/A 300 400 N/A N/A N/A app close N/A N/A N/A app2 close N/A N/A TestDataViewerScatter N/A BaseTestDataViewer N/A N/A widget_cls ScatterWidget N/A TestDataViewerImage N/A BaseTestDataViewer N/A N/A ndim 2 N/A widget_cls ImageWidget N/A TestDataViewerHistogram N/A BaseTestDataViewer N/A N/A widget_cls HistogramWidget N/A