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

« back to all changes in this revision

Viewing changes to chaco/multi_array_data_source.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:
13
13
 
14
14
 
15
15
class MultiArrayDataSource(AbstractDataSource):
16
 
    """ A data source representing a single, continuous array of numerical data
17
 
    of potentially more than one dimension.
 
16
    """ A data source representing a single, continuous array of
 
17
    multidimensional numerical data.
 
18
 
 
19
    It is useful, for example, to define 2D vector data at each point of
 
20
    a scatter plot (as in QuiverPlot), or to represent multiple values
 
21
    for each index (as in MultiLinePlot).
18
22
 
19
23
    This class does not listen to the array for value changes;  To implement
20
24
    such behavior, define a subclass that hooks up the appropriate listeners.