Menu

[r3567]: / trunk / matplotlib / mpl1 / test.py  Maximize  Restore  History

Download this file

16 lines (12 with data), 376 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
import numpy
from enthought.traits.api import HasTraits, Array
import mtraits
class Path(HasTraits):
"""
The path is an object that talks to the backends, and is an
intermediary between the high level path artists like Line and
Polygon, and the backend renderer
"""
strokecolor = mtraits.color('white')
p = Path()
print 'strokecolor', p.strokecolor