Inherits from
- OverlayPlotContainer: enthought.chaco.plot_containers.OverlayPlotContainer
Attributes
- bgcolor
Background color (overrides Enable Component)
bgcolor = 'white'
- border_visible
border_visible = True
- default_origin
The default location of the origin for new plots
default_origin = Enum('bottom left', 'top left', 'bottom right', 'top right')
- index_axis
Convenience property for accessing the index axis, which can be X or Y, depending on orientation.
index_axis = AxisProperty
- index_grid
Convenience property for accessing the index grid, which can be horizontal or vertical, depending on orientation.
index_grid = GridProperty
- index_mapper
The mapper to use for the index data.
index_mapper = Instance(Base1DMapper)
- index_range
The range used for the index data.
index_range = Property
- index_scale
For x-y plots, the scale of the index axis.
index_scale = Enum('linear', 'log')
- orientation
The orientation of the index axis.
orientation = Enum('h', 'v')
- origin
The origin reported to axes, etc
origin = Property(depends_on = 'default_origin')
- padding_bottom
padding_bottom = 50
- padding_left
padding_left = 50
- padding_right
padding_right = 50
- padding_top
Padding defaults.
padding_top = 50
- range2d
The 2-D data range whose x- and y-ranges are exposed as the index_range and value_range property traits. This allows supporting both XY plots and 2-D (image) plots.
range2d = Instance(DataRange2D)
- value_axis
Convenience property for accessing the value axis, which can be Y or X, depending on orientation.
value_axis = AxisProperty
- value_grid
Convenience property for accessing the value grid, which can be vertical or horizontal, depending on orientation.
value_grid = GridProperty
- value_mapper
The mapper to use for value data.
value_mapper = Instance(Base1DMapper)
- value_range
The range used for the value data.
value_range = Property
- value_scale
For x-y plots, the scale of the index axis.
value_scale = Enum('linear', 'log')
- x_axis
The horizontal axis. Its position relative to the plot area can be "top", "bottom", or "float". The default position for a new x-axis is "bottom".
x_axis = Instance(PlotAxis)
- x_grid
The grid that intersects the x-axis, i.e., a set of vertical lines.
x_grid = Instance(PlotGrid)
- x_mapper
Convenience property that offers access to whatever mapper corresponds to the X-axis.
x_mapper = OrientedMapperProperty
- y_axis
The vertical axis. Its position relative to the plot area can be "left", "right", or "float". The default position for a new y-axis is "left".
y_axis = Instance(PlotAxis)
- y_grid
The grid that intersects the y-axis, i.e., a set of horizontal lines.
y_grid = Instance(PlotGrid)
- y_mapper
Convenience property that offers access to whatever mapper corresponds to the Y-axis
y_mapper = OrientedMapperProperty
Inherited from base classes
- accepts_focus
- active_tool
- aspect_ratio
- auto_center
- auto_handle_event
- auto_size
- backbuffer_padding
- border_color
- border_dash
- border_width
- bounds
- classes
- components
- container
- controller
- cursor_color
- cursor_style
- default_size
- draw_order
- draw_valid
- drawn_outer_bounds
- drawn_outer_position
- event_state
- fill_padding
- fit_components
- fit_window
- height
- hpadding
- id
- inset_border
- intercept_events
- invisible_layout
- layout_controller
- layout_needed
- on_trait_event
- outer_bounds
- outer_height
- outer_position
- outer_width
- outer_x
- outer_x2
- outer_y
- outer_y2
- overlay_border
- overlays
- padding
- padding_accepts_focus
- pointer
- position
- resizable
- resolver
- set
- tools
- tooltip
- trait_added
- trait_modified
- underlays
- unified_draw
- use_backbuffer
- use_selection
- viewports
- visible
- vpadding
- width
- window
- wrappers
- x
- x2
- y
- y2
Method summary
- __init__(self, **kwtraits)
- map_data(self, screen_pt)
- map_screen(self, data_array)
Inherited from base classes
- __components_changed(self, event)
- __components_items_changed(self, event)
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __setstate__(self, state, trait_change_notify = True)
- add(self, *components)
- 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)
- as_coordinates(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)
- cleanup(self, window)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- compact(self)
- components_at(self, x, y)
- 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)
- dispatch(self, event, suffix)
- do_layout(self, size = None, force = False)
- draw(self, gc, view_bounds = None, mode = 'default')
- draw_select_box(self, gc, position, bounds, width, dash, inset, color, bgcolor, marker_size)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- get(self, **kw)
- get_absolute_coords(self, *coords)
- get_event_transform(self, event = None, suffix = '')
- get_preferred_size(self, components = None)
- has_traits_interface(self, *interfaces)
- insert(self, index, component)
- invalidate_and_redraw(self)
- invalidate_draw(self, damaged_regions = None, self_relative = False)
- is_in(self, x, y)
- lower_component(self, component)
- normal_mouse_leave(self, event)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- raise_component(self, component)
- remove(self, *components)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- request_redraw(self)
- reset_traits(self, traits = None, **metadata)
- set_outer_bounds(self, ndx, val)
- set_outer_position(self, ndx, val)
- 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, **kwtraits)
- map_data(self, screen_pt)
Maps a screen space point into the 2D data space of this plot. (Note that this differs from the BaseXYPlot implementation, which by default only maps into the 1D index space.)
- map_screen(self, data_array)
Maps an array of data points to screen space and returns an array of screen space points.