API Reference for Enthought Tool Suite 3.0.1
Defines the PlotGrid class, and associated Traits UI View and validator function.
View for setting grid properties.
GridView = View(VGroup(HGroup(Item('grid_interval', label = 'Interval', editor = TextEditor(evaluate = float_or_auto)), Item('visible', label = 'Visible')), Item('line_color', label = 'Color', style = 'custom'), Item('line_style', label = 'Dash style'), Item('line_width', label = 'Thickness')), 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.
© Copyright 2002-2008 Enthought, Inc.