chaco.overlays.container_overlay module

Plot overlay which is an Enable Container

This module provides an Enable Container subclass which renders itself into the overlay of a plot. This allows the easy use of standard Enable components in plot overlays.

class chaco.overlays.container_overlay.ContainerOverlay(*components, **traits)

Bases: enable.container.Container, chaco.plot_component.PlotComponent

Container which is also a Chaco plot overlay

Since this is an Enable container, any Components that it contains will be rendered into the overlay layer of the plot.

overlay(other, gc, view_bounds, mode)