File: example_subclassing_mayavi_application.rst

package info (click to toggle)
mayavi2 4.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,892 kB
  • sloc: python: 49,447; javascript: 32,885; makefile: 129; fortran: 60
file content (25 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


.. _example_subclassing_mayavi_application:

Subclassing mayavi application example
--------------------------------------------


This script demonstrates how one can script the Mayavi application by
subclassing the application, create a new scene and create a few
simple modules.

This should be run as::

   $ python test.py



**Python source code:** :download:`subclassing_mayavi_application.py`

.. literalinclude:: subclassing_mayavi_application.py
    :lines: 12-