API Reference for Enthought Tool Suite 3.2.0
Defines the Traits UI view for a PlotAxis
Traits UI for a PlotAxis.
AxisView = View(VGroup(Group(Item('object.mapper.range.low', label = 'Low Range'), Item('object.mapper.range.high', label = 'High Range')), Group(Item('title', label = 'Title', editor = TextEditor()), Item('title_font', label = 'Font', style = 'simple'), Item('title_color', label = 'Color', style = 'custom'), Item('tick_interval', label = 'Interval', editor = TextEditor(evaluate = float_or_auto)), label = 'Main'), Group(Item('tick_color', label = 'Color', style = 'custom'), Item('tick_weight', label = 'Thickness'), Item('tick_label_color', label = 'Label color', style = 'custom'), HGroup(Item('tick_in', label = 'Tick in'), Item('tick_out', label = 'Tick out')), Item('tick_visible', label = 'Visible'), label = 'Ticks'), Group(Item('axis_line_color', label = 'Color', style = 'custom'), Item('axis_line_weight', label = 'Thickness'), Item('axis_line_visible', label = 'Visible'), label = 'Line')), buttons = [ 'OK', 'Cancel' ])
Validator function that returns val if val is either a number or the word 'auto'. This is used as a validator for the text editor in the Traits UI for the tick_interval trait.
| Local name | Refers to |
|---|---|
| Group | enthought.traits.ui.group.Group |
| HGroup | enthought.traits.ui.group.HGroup |
| Item | enthought.traits.ui.item.Item |
| TextEditor | enthought.traits.ui.editors.text_editor.TextEditor |
| TraitError | enthought.traits.trait_errors.TraitError |
| VGroup | enthought.traits.ui.group.VGroup |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2009 Enthought, Inc.