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

All Samples(8)  |  Call(0)  |  Derive(6)  |  Import(2)

src/m/a/mayavi-4.3.1/mayavi/tools/decorations.py   mayavi(Download)
import mayavi.modules.api as modules
from .pipe_base import make_function
from .modules import ModuleFactory
from .engine_manager import get_engine, engine_manager
 
class SingletonModuleFactory(ModuleFactory):
    """ Base classe for factories that can find an existing object
    matching certain criteria instead of building a new one"""
 
    # The parent object on which this module is going to be added.
class Text(ModuleFactory):
    """ Adds a text on the figure.
 
        **Function signature**::
 
class Text3D(ModuleFactory):
    """ Positions text at a 3D location in the scene.
 
        **Function signature**::
 

src/m/a/mayavi-HEAD/mayavi/tools/decorations.py   mayavi(Download)
import mayavi.modules.api as modules
from .pipe_base import make_function
from .modules import ModuleFactory
from .engine_manager import get_engine, engine_manager
 
class SingletonModuleFactory(ModuleFactory):
    """ Base classe for factories that can find an existing object
    matching certain criteria instead of building a new one"""
 
    # The parent object on which this module is going to be added.
class Text(ModuleFactory):
    """ Adds a text on the figure.
 
        **Function signature**::
 
class Text3D(ModuleFactory):
    """ Positions text at a 3D location in the scene.
 
        **Function signature**::