def __call__(self, track, slice = None):
     s = [random.randint(0,20) for x in range(40)]
     random.shuffle( s )
     # do the plotting
     R.x11()
     R.plot( s, s )
     return odict( (("text", "#$rpl %i$#" % getCurrentRDevice()),) )
示例#2
0
    def __call__(self, track, slice=None):
        if not R:
            return

        s = [random.randint(0, 20) for x in range(40)]
        random.shuffle(s)
        # do the plotting
        R.x11()
        R.plot(s, s)

        return {"text": "#$rpl %i$#" % R["dev.cur"]()[0]}
示例#3
0
 def startPlot( self ):
     R.x11()