import logging
import StringIO
+import sys
from numpy import arange
# the plugin is loaded, this function is executed. If there
# is something you need to do when Hooke starts, code it in
# this function.
- print 'I am the Tutorial plugin initialization!'
+ print >> sys.stderr, 'I am the Tutorial plugin initialization!'
# This super() call similar to the old-style
# Plugin.__init__
# loading curves.
outqueue.put('drivers: %s'
% ', '.join([driver.name for driver in hooke.drivers]))
- # hooke.playlists contains a
- # :class:`hooke.playlist.NoteIndexList` of
- # :class:`hooke.playlist.Playlist`\s. Each playlist may
+ # hooke.playlists is a
+ # :class:`hooke.playlist.Playlists` instance full of
+ # :class:`hooke.playlist.FilePlaylist`\s. Each playlist may
# contain several :class:`hooke.curve.Curve`\s representing a
# grouped collection of data.
playlist = hooke.playlists.current()
class PointInfoCommand (Command):
- """Get information about two user-selected points.
+ """Get information about user-selected points.
Ordinarily a command that knew it would need user selected points
would declare an appropriate argument (see, for example,