API Reference for Enthought Tool Suite 2.7.1
This is a palette of 10 nice colors to use for mapping/discrete color differentiation. From ColorBrewer.
COLOR_PALETTE = (array([ 166, 206, 227, 31, 120, 180, 178, 223, 138, 51, 160, 44, 251, 154, 153, 227, 26, 28, 253, 191, 111, 255, 127, 0, 202, 178, 214, 106, 61, 154 ], dtype = float) / 255).reshape(10, 3)
doc = """ This file contains a support class that wraps up the boilerplate wx calls that virtually all the demo programs have to use, and doesn't actually do anything when run on its own. Try running simple_line.py, colormapped_scatter.py, or check out any of the programs in in tutorials/. """
Takes the class of the demo to run as an argument.
| Local name | Refers to |
|---|---|
| array | numpy.array |
| logging | logging |
| logging.handlers | logging.handlers |
| wx | wx |
Copyright © 2002-2008 Enthought, Inc.