Module ImportFrom alias ImportFrom alias Import alias Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num keyword Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num keyword Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num keyword Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A os.path abspath io BytesIO N/A copy N/A numpy np N/A unittest mayavi.core.null_engine NullEngine mayavi.filters.contour Contour mayavi.filters.optional Optional mayavi.filters.collection Collection mayavi.filters.api PolyDataNormals mayavi.modules.api Surface mayavi.sources.vtk_data_source VTKDataSource mayavi.tests datasets TestOptionalCollection N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A Initial setting up of test fixture, automatically called by TestCase before any other test method is invoked N/A e N/A NullEngine N/A N/A N/A e start N/A N/A N/A e new_scene N/A N/A self e e N/A sgrid N/A N/A datasets generateStructuredGrid N/A src N/A VTKDataSource data sgrid N/A N/A N/A e add_source src N/A c N/A Contour N/A n N/A PolyDataNormals name Normals N/A o N/A Optional filter n label_text Compute normals N/A coll N/A Collection filters N/A c o name IsoSurface N/A N/A N/A e add_filter coll N/A s N/A Surface N/A N/A N/A e add_module s N/A N/A self coll coll N/A N/A self scene N/A e current_scene N/A N/A tearDown N/A N/A self N/A N/A N/A For necessary clean up, automatically called by TestCase after the test methods have been invoked N/A N/A N/A N/A self e stop N/A N/A check N/A N/A self coll N/A N/A N/A Do the actual testing. N/A scene N/A self scene N/A Check if test status is OK given the collection. N/A N/A c o N/A coll filters N/A c N/A c filter N/A n N/A o filter N/A r N/A N/A N/A N/A N/A coll get_output_dataset point_data scalars range N/A N/A N/A self assertEqual N/A N/A np allclose r N/A 6.09 6.09 atol 0.00101 True N/A N/A N/A N/A c contours append 200 N/A N/A N/A self assertEqual N/A N/A np allclose r N/A 6.09 6.09 atol 0.00101 True N/A N/A N/A self assertEqual N/A N/A N/A coll outputs N/A 0 N/A N/A n outputs N/A 0 True N/A N/A o enabled False N/A N/A N/A self assertEqual N/A disabled N/A o name True N/A N/A N/A self assertEqual N/A N/A N/A coll outputs N/A 0 N/A N/A c outputs N/A 0 True N/A N/A N/A N/A c contours pop N/A N/A o enabled True N/A N/A N/A self assertEqual N/A N/A np allclose r N/A 6.09 6.09 atol 0.00101 True N/A N/A N/A self assertEqual N/A N/A N/A coll outputs N/A 0 N/A N/A n outputs N/A 0 True N/A N/A N/A self assertEqual N/A disabled N/A o name True N/A test_optional_collection N/A N/A self N/A N/A N/A Test if the test fixture works N/A coll N/A self coll N/A N/A N/A self check coll N/A test_save_and_restore N/A N/A self N/A N/A N/A Test if saving a visualization and restoring it works. N/A engine N/A self e N/A scene N/A self scene N/A f N/A BytesIO N/A N/A f name N/A abspath test.mv2 N/A N/A N/A engine save_visualization f N/A N/A N/A f seek 0 N/A N/A N/A engine close_scene scene N/A N/A N/A engine load_visualization f N/A N/A self scene N/A engine current_scene N/A coll N/A N/A N/A N/A N/A self scene children N/A 0 children N/A 0 N/A N/A N/A self check coll N/A test_deepcopied N/A N/A self N/A N/A N/A Test if the MayaVi2 visualization can be deep-copied. N/A s N/A self scene N/A source N/A N/A N/A s children pop N/A N/A N/A N/A s children append source N/A coll N/A N/A N/A N/A s children N/A 0 children N/A 0 N/A N/A N/A self check coll N/A source1 N/A N/A copy deepcopy source N/A N/A N/A s children N/A 0 source1 N/A coll N/A N/A N/A N/A s children N/A 0 children N/A 0 N/A N/A N/A self check coll N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main