Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/m/a/mayavi-4.3.1/integrationtests/mayavi/test_streamline.py   mayavi(Download)
 
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        ############################################################
        s.render()
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
        s.render()
 
 
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        ############################################################
        s.scene.reset_zoom()
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        # Now deepcopy the source and replace the existing one with
        s.children[:] = sources
        s.scene.reset_zoom()
        self.compare_image(s, 'images/test_streamline.png')
 
        # If we have come this far, we are golden!

src/m/a/mayavi-HEAD/integrationtests/mayavi/test_streamline.py   mayavi(Download)
 
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        ############################################################
        s.render()
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
        s.render()
 
 
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        ############################################################
        s.scene.reset_zoom()
        # Now compare the image.
        self.compare_image(s, 'images/test_streamline.png')
 
        # Now deepcopy the source and replace the existing one with
        s.children[:] = sources
        s.scene.reset_zoom()
        self.compare_image(s, 'images/test_streamline.png')
 
        # If we have come this far, we are golden!