示例#1
0
 def plot(self, *args, **kwargs):    
     o = BookViewer.plot(self, *args, **kwargs)
     if o is None: return
     if o.getvar('y').dtype.name.startswith('complex'):
         convert_figobj(o)
         self.add_video_obj(o)
     return o
示例#2
0
 def plot(self, *args, **kwargs):
     o = BookViewer.plot(self, *args, **kwargs)
     if o is None: return
     if o.getvar('y').dtype.name.startswith('complex'):
         convert_figobj(o)
         self.add_video_obj(o)
     return o
示例#3
0
 def plot(self, *args, **kwargs):
     o = BookViewer.plot(self, *args, **kwargs)
     if o is None:
         return
     y = args[1]
     if y.dtype.name.startswith('complex'):
         o.setvar('complex_y', y)
         convert_figobj(o)
         self.add_video_obj(o)
     return o