~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to examples/tutorials/tutor.py

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2014-06-01 17:04:08 UTC
  • mfrom: (7.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140601170408-m86xvdjd83a4qon0
Tags: 4.4.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
 - Let the binary-predeb target work on the usr/lib/python* directory
   as we don't have usr/share/pyshared anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#-------------------------------------------------------------------------------
2
 
#
3
 
#  Copyright (c) 2009-2010, Enthought, Inc.
4
 
#  All rights reserved.
5
 
#
6
 
#  This software is provided without warranty under the terms of the BSD
7
 
#  license included in enthought/LICENSE.txt and may be redistributed only
8
 
#  under the conditions described in the aforementioned license.  The license
9
 
#  is also available online at http://www.enthought.com/licenses/BSD.txt
10
 
#
11
 
#  Thanks for using Enthought open source!
12
 
#
13
 
#  Author: Vibha Srinivasan
14
 
#  Date: 02/03/2009
15
 
#
16
 
#-------------------------------------------------------------------------------
17
 
 
18
 
""" Run the Chaco demo.
19
 
"""
20
 
 
21
 
from traitsui.extras.demo import demo
22
 
 
23
 
# Uncomment the config_filename portion to see a tree editor based on the
24
 
# examples.cfg file.
25
 
demo(use_files=True,
26
 
     config_filename='tutorials.cfg',
27
 
     title = 'Chaco Tutorials'
28
 
    )
29