API Reference for Enthought Tool Suite 3.0.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('bottom', 'left', 'right', 'top', 'top right', 'top left', 'bottom left', 'bottom right'), Tuple, List)
Renders an arrow from pt1 to pt2. If gc is None, then just returns the arrow object.
An 'arrow' (opaque object) which can be passed in to subsequent calls to this method to short-circuit some of the computation. Even if an arrow is not drawn (due to minlen/maxlen restrictions), an arrow will be returned.
| Local name | Refers to |
|---|---|
| Any | enthought.traits.trait_types.Any |
| Array | enthought.traits.trait_numeric.Array |
| array | numpy.array |
| asarray | numpy.asarray |
| Bool | enthought.traits.trait_types.Bool |
| Enum | enthought.traits.trait_types.Enum |
| Float | enthought.traits.trait_types.Float |
| inf | numpy.inf |
| Int | enthought.traits.trait_types.Int |
| List | enthought.traits.trait_types.List |
| marker_trait | enthought.chaco.scatter_markers.marker_trait |
| norm | numpy.linalg.norm |
| render_markers | enthought.chaco.scatterplot.render_markers |
| Str | enthought.traits.trait_types.Str |
| ToolTip | enthought.chaco.tooltip.ToolTip |
| Trait | enthought.traits.traits.Trait |
| Tuple | enthought.traits.trait_types.Tuple |
© Copyright 2002-2008 Enthought, Inc.