def Plot(obj, ys=None, style='', **options):
 options = _UnderrideColor(options)
 label = getattr(obj, 'label', '_nolegend_')
 options = _Underride(options, linewidth=3, alpha=0.8, label=label)
 xs = obj
 if (ys is None):
  if hasattr(obj, 'Render'):
   (xs, ys) = obj.Render()
  if isinstance(obj, pandas.Series):
   ys = obj.values
   xs = obj.index
 if (ys is None):
  pyplot.plot(xs, style, **options)
 else:
  pyplot.plot(xs, ys, style, **options)

def Plot ( obj , ys = None , style = '' , ** options ) : options = _UnderrideColor ( options ) label = getattr ( obj , 'label' , '_nolegend_' ) options = _Underride ( options , linewidth = 3 , alpha = 0.8 , label = label ) xs = obj if ( ys is None ) : if hasattr ( obj , 'Render' ) : ( xs , ys ) = obj . Render ( ) if isinstance ( obj , pandas . Series ) : ys = obj . values xs = obj . index if ( ys is None ) : pyplot . plot ( xs , style , ** options ) else : pyplot . plot ( xs , ys , style , ** options )
plots a line .