parameters: (self, timestep=None, saveAs=None, axes=None, **kwargs)
return_statement: return
docstring: Plots the diagnostic.
  
  		Parameters:
  		-----------
  		timestep: int (default: None, which means the last timestep)
  			The number of the timestep to plot
  		figure: int (default: 1)
  			The figure number that is passed to matplotlib.
  		axes: (default: None)
  			Matplotlib's axes handle on which to plot. If None, make new axes.
  		vmin, vmax: floats (default to the current limits)
  			Data value limits.
  		xmin, xmax, ymin, ymax: floats (default to the current limits)
  			Axes limits.
  		xfactor, yfactor: floats (default: 1)
  			Factors to rescale axes.
  		saveAs: path string (default: None)
  			Name of a directory where to save each frame as figures.
  			You can even specify a filename such as mydir/prefix.png
  			and it will automatically make successive files showing
  			the timestep: mydir/prefix0.png, mydir/prefix1.png, etc.
  
  		Example:
  		--------
  			S = happi.Open("path/to/my/results")
  			S.ParticleBinning(1).plot(vmin=0, vmax=1e14)
docstring_summary: Plots the diagnostic.
docstring_tokens: Plots the diagnostic .
function: def plot(self, timestep=None, saveAs=None, axes=None, **kwargs):
  		""" Plots the diagnostic.
  
  		Parameters:
  		-----------
  		timestep: int (default: None, which means the last timestep)
  			The number of the timestep to plot
  		figure: int (default: 1)
  			The figure number that is passed to matplotlib.
  		axes: (default: None)
  			Matplotlib's axes handle on which to plot. If None, make new axes.
  		vmin, vmax: floats (default to the current limits)
  			Data value limits.
  		xmin, xmax, ymin, ymax: floats (default to the current limits)
  			Axes limits.
  		xfactor, yfactor: floats (default: 1)
  			Factors to rescale axes.
  		saveAs: path string (default: None)
  			Name of a directory where to save each frame as figures.
  			You can even specify a filename such as mydir/prefix.png
  			and it will automatically make successive files showing
  			the timestep: mydir/prefix0.png, mydir/prefix1.png, etc.
  
  		Example:
  		--------
  			S = happi.Open("path/to/my/results")
  			S.ParticleBinning(1).plot(vmin=0, vmax=1e14)
  		"""
  		if not self._validate(): return
  		if not self._prepare(): return
  		if not self._setAndCheck(**kwargs): return
  		self.info()
  		ax = self._make_axes(axes)
  		fig = ax.figure
  
  		if timestep is None:
  			timestep = self._timesteps[-1]
  		elif timestep not in self._timesteps:
  			print("ERROR: timestep "+str(timestep)+" not available")
  			return
  
  		save = SaveAs(saveAs, fig, self._plt)
  		self._plotOnAxes(ax, timestep)
  		self._plt.draw()
  		self._plt.pause(0.00001)
  		save.frame()
  		return
function_tokens: def plot ( self , timestep = None , saveAs = None , axes = None , * * kwargs ) : if not self . _validate ( ) : return if not self . _prepare ( ) : return if not self . _setAndCheck ( * * kwargs ) : return self . info ( ) ax = self . _make_axes ( axes ) fig = ax . figure if timestep is None : timestep = self . _timesteps [ - 1 ] elif timestep not in self . _timesteps : print ( "ERROR: timestep " + str ( timestep ) + " not available" ) return save = SaveAs ( saveAs , fig , self . _plt ) self . _plotOnAxes ( ax , timestep ) self . _plt . draw ( ) self . _plt . pause ( 0.00001 ) save . frame ( ) return