1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#
# Sample Chaco template
#
# Chaco templates are just python modules. They generally consist of a series
# of top-level functions, each of which build out a plot component in the
# plot hierarchy.
#
# They must define a special symbol __plot_metadata__ which is an instance of
# TemplateMetadata.
from chaco.api import TemplateMetadata
__plot_metadata__ = TemplateMetadata(version = "1.0",
pkg_name = "enthought.chaco",
root_name = "top_frame",
template_vars = { "left_slot": "VPlotContainer",
"center_slot": "OverlayPlotContainer",
"bottom_data": "ArrayDataSource" }
)
|