code: def plotEz(self,*args,**kwargs):
          
          if not kwargs.get('pot',None) is None: kwargs['pot']= flatten_potential(kwargs.get('pot'))
          return self._orb.plotEz(*args,**kwargs)
docs: NAME:
  
             plotEz
  
          PURPOSE:
  
             plot E_z(.) along the orbit
  
          INPUT:
  
             pot=  Potential instance or list of instances in which the orbit was integrated
  
             d1= plot Ez vs d1: e.g., 't', 'z', 'R'
  
             normed= if set, plot E(t)/E(0) rather than E(t)
  
             ro= (Object-wide default) physical scale for distances to use to convert (can be Quantity)
  
             vo= (Object-wide default) physical scale for velocities to use to convert (can be Quantity)
  
             use_physical= use to override Object-wide default for using a physical scale for output
  
             +bovy_plot.bovy_plot inputs
  
          OUTPUT:
  
             figure to output device
  
          HISTORY:
  
             2010-07-10 - Written - Bovy (NYU)