API Reference for Enthought Tool Suite 2.7.1
Style traits for plots.
Alignment = Trait('center', TraitPrefixMap(_alignment_positions), editor = _alignment_editor)
AnnotationTypeTrait = Enum('string')
BORDER_BEVEL = 1
BORDER_DROP = 2
BORDER_SOLID = 0
BorderSize = Range(0, 15, value = 0, editor = _border_size_editor)
BorderStyle = Trait('solid', TraitPrefixMap(_border_styles), editor = _border_style_editor)
Edge = Trait('top', TraitPrefixMap(_edge_positions), editor = _edge_editor)
FillStyle = Trait('solid', TraitPrefixMap(_fill_styles), cols = 3)
HORIZONTAL = 1
LineStyle = Trait('solid', TraitPrefixMap(_line_styles), editor = _line_style_editor)
LineWeight = Range(1, 9, value = 1, editor = _line_weight_editor)
Margin = Range(0, 31, cols = 6)
Orientation = Trait('horizontal', TraitPrefixMap(_orientation_types), editor = _orientation_editor)
Origin = Trait('bottom left', _origin_positions, editor = _plot_origin_editor)
OutlineWeight = Range(0, 9, value = 1, editor = _outline_weight_editor)
PlotRenderers = Trait([ get_renderer_for('line') ], ListType)
PlotType = Trait('line', _plot_type_map, editor = _plot_type_editor)
Position = Trait('top left', _all_positions, editor = _position_editor)
Trait definition for symbol size.
RelativeSize = Trait('medium', TraitPrefixMap(_relative_sizes), editor = _relative_size_editor)
renderer_map = { }
FIXME : Seems like we want a better editor.
Rotation = Trait(0, [ 0, 90 ])
Symbol = Trait('square', TraitPrefixList(symbol_styles), cols = 3)
symbol_styles = [ 'circle', 'square', 'diamond', 'triangle', 'inverted triangle', 'cross', 'plus', 'dot', 'pixel', 'custom' ]
VERTICAL = 0
| Local name | Refers to |
|---|---|
| basic_sequence_types | enthought.chaco.plot_base.basic_sequence_types |
| BOTTOM | enthought.chaco.plot_base.BOTTOM |
| CheckListEditor | enthought.traits.ui.editors.CheckListEditor |
| ClassType | types.ClassType |
| Enum | enthought.traits.traits.Enum |
| EnumEditor | enthought.traits.ui.editors.EnumEditor |
| HCENTER | enthought.chaco.plot_base.HCENTER |
| ImageEnumEditor | enthought.traits.ui.editors.ImageEnumEditor |
| LEFT | enthought.chaco.plot_base.LEFT |
| ListType | types.ListType |
| plot_base | enthought.chaco.plot_base |
| print_exc | traceback.print_exc |
| Range | enthought.traits.traits.Range |
| Renderer | enthought.chaco.renderers.renderer.Renderer |
| RIGHT | enthought.chaco.plot_base.RIGHT |
| TOP | enthought.chaco.plot_base.TOP |
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
| TraitPrefixList | enthought.traits.trait_handlers.TraitPrefixList |
| TraitPrefixMap | enthought.traits.trait_handlers.TraitPrefixMap |
| VCENTER | enthought.chaco.plot_base.VCENTER |
Copyright © 2002-2008 Enthought, Inc.