Inherits from
- Item: enthought.traits.ui.item.Item
Attributes
- bg_color
Background color of the plot (deprecated).
bg_color = Property
- bgcolor
Background color of the plot.
bgcolor = white_color_trait
- border_color
Color of the border.
border_color = black_color_trait
- border_dash
Line style of the border.
border_dash = LineStyle
- border_visible
Is the border visible?
border_visible = Bool(False)
- border_width
Width of the plot border
border_width = Int(1)
- color
Foreground olor of the plot.
color = ColorTrait('blue') - index
Name of the trait that references the index data source.
index = Str
- marker
Type of marker (for plots that use markers).
marker = marker_trait
- marker_size
Size of marker (for plots that use markers).
marker_size = Int(4)
- orientation
The orientation of the index axis.
orientation = Enum('h', 'v')
- outline_color
Marker outline color (for plots that user markers).
outline_color = black_color_trait
- padding_bg_color
Color of the background padding.
padding_bg_color = ColorTrait('sys_window') - title
Title of the plot (overlaid on the plot container).
title = Str('Plot Editor')
- type
The type of the plot.
type = Enum('line', 'scatter')
- type_trait
The type of the plot as a string.
type_trait = Str
- value
Name of the trait that references the value data source.
value = Str
- x_auto
Set the x-axis bounds automatically?
x_auto = Bool(True)
- x_bounds
Bounds of the x-axis, used if x_auto is False.
x_bounds = AxisBounds
- x_label
Label of the x-axis; if None, the index name is used.
x_label = Trait(None, None, Str)
- x_label_color
Color of the label of the x-axis.
x_label_color = black_color_trait
- x_label_font
Font for the label of the x-axis.
x_label_font = KivaFont('modern 10')
- x_label_trait
Name of the trait on the object containing the label of the x-axis. This takes precedence over x_label.
x_label_trait = Trait(None, None, Str)
- y_auto
Set the y-axis bounds automatically?
y_auto = Bool(True)
- y_bounds
Bounds of the y-axis, used if y_auto is False.
y_bounds = AxisBounds
- y_label
Label of the y-axis; if None, the value name is used.
y_label = Trait(None, None, Str)
- y_label_color
Color of the label of the y-axis.
y_label_color = black_color_trait
- y_label_font
Font for the label of the y-axis.
y_label_font = KivaFont('modern 10')
- y_label_trait
Name of the trait on the object containing the label of the y-axis. This takes precedence over y_label.
y_label_trait = Trait(None, None, Str)
Inherited from base classes
- container
- defined_when
- dock
- editor
- emphasized
- enabled_when
- export
- format_func
- format_str
- full_size
- get
- has_focus
- height
- help
- help_id
- id
- image
- invalid
- item_theme
- label
- label_theme
- name
- object
- on_trait_event
- padding
- resizable
- set
- show_label
- springy
- style
- tooltip
- trait_added
- trait_modified
- visible_when
- width
- wrappers
Method summary
- __init__(self, index, value, type = 'line', **traits)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __repr__(self)
- __setstate__(self, state, trait_change_notify = True)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- get_help(self, ui)
- get_id(self)
- get_label(self, ui)
- has_traits_interface(self, *interfaces)
- is_includable(self)
- is_spacer(self)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- replace_include(self, view_elements)
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- __init__(self, index, value, type = 'line', **traits)