示例#1
0
 def __init__(self):
     AbstractPrinter.__init__(self, "graph")
     self.nb_print = 150
     self.tables = {}
     #self.lock = threading.Lock()
     #self.data = []
     #self.x=np.linspace(-5,5,100)
     #self.y=np.zeros((100,2))
     #self.y[:,0]=np.sin(self.x)
     #self.y[:,1]=np.cos(self.x)
     #plt.ion()
     self.first = True
示例#2
0
 def __init__(self):
     AbstractPrinter.__init__(self, "bar")
     self.option = "src_port"
     self.labels = ()
     self.legends = ()
     self.bar = {}
示例#3
0
 def __init__(self):
     AbstractPrinter.__init__(self, "console")
示例#4
0
 def __init__(self):
     AbstractPrinter.__init__(self,"rfile")