API Reference for Enthought Tool Suite 2.7.1
Defines the DataLabel class and related trait and function.
Specifies the position of a label relative to its target. This can be one of the text strings indicated, or a tuple or list of floats representing the (x_offset, y_offset) in screen space of the label's lower left corner.
LabelPositionTrait = Trait('top right', Enum('center', 'bottom', 'left', 'right', 'top', 'top right', 'top left', 'bottom left', 'bottom right'), Tuple, List)
Renders an arrow from pt1 to pt2
An 'arrow' (opaque object) which can be passed in to subsequent calls to this method to short-circuit some of the computation.
| Local name | Refers to |
|---|---|
| Any | enthought.traits.traits.Any |
| Array | enthought.traits.traits.Array |
| array | numpy.array |
| asarray | numpy.asarray |
| Bool | enthought.traits.traits.Bool |
| Enum | enthought.traits.traits.Enum |
| Float | enthought.traits.traits.Float |
| Int | enthought.traits.traits.Int |
| List | enthought.traits.traits.List |
| marker_trait | enthought.chaco2.scatter_markers.marker_trait |
| norm | numpy.linalg.norm |
| render_markers | enthought.chaco2.scatterplot.render_markers |
| Str | enthought.traits.traits.Str |
| ToolTip | enthought.chaco2.tooltip.ToolTip |
| Trait | enthought.traits.traits.Trait |
| Tuple | enthought.traits.traits.Tuple |
Copyright © 2002-2008 Enthought, Inc.