File: README.pythondemos

package info (click to toggle)
plplot 5.15.0%2Bdfsg-19
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,312 kB
  • sloc: ansic: 79,707; xml: 28,583; cpp: 20,033; ada: 19,456; tcl: 12,081; f90: 11,431; ml: 7,276; java: 6,863; python: 6,792; sh: 3,274; perl: 828; lisp: 75; makefile: 50; sed: 34; fortran: 5
file content (21 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The Status of the Python Examples

For details of how we build PLplot access from Python please consult
../../bindings/python/README.pythonbuild.  The principal module is
plplot.py. This make all the common PLplot API available to python in a
user-friendly way.  plplot.py wraps the swig-generated plplotc.py which in
turn wraps the _plplotc extension module (built with the aid of swig). The
extension module, plplot_widget contains support for loading Plframe
from python.  This functionality is demonstrated with pytkdemo which
supplies GUI access to python standard examples 0 through 18 (except
for 14, 15, and 17).

To try out the x??.py examples without a widget simply run pythondemos.py
to run all of them (0-33) in numerical order (except for 14, 17, and 31 which
are standalone, and 32 which does not exist). Alternatively run them
one at at time by executing x??.

These pytkdemo, pythondemos.py, and x?? tests should be run in the python
subdirectory of the examples directory of the build tree (after python
prequisites have been built) or the equivalent directory for the installed
examples build.