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

« back to all changes in this revision

Viewing changes to enthought/chaco/base_contour_plot.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-04-06 19:03:54 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110406190354-rwd55l2ezjecfo41
Tags: 3.4.0-2
d/rules: fix pyshared directory path (Closes: #621116)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    levels = Trait("auto", Int, List)
25
25
 
26
26
    # The color(s) of the lines.
27
 
    colors = Trait(None, Str, Instance("ColorMapper"), List, Tuple)
 
27
    colors = Trait(None, Str, Instance(ColorMapper), List, Tuple)
28
28
 
29
29
    # If present, the color mapper for the colorbar to look at.
30
 
    color_mapper = Property(Instance("ColorMapper"))
 
30
    color_mapper = Property(Instance(ColorMapper))
31
31
 
32
32
    # A global alpha value to apply to all the contours
33
33
    alpha = Trait(1.0, Range(0.0, 1.0))