parameters: (self,boundary=False,fig=True,show=True,**kwargs)
docstring: (`External API`) Make 2D contour plots in the unit coordinate space.
  
          Parameters
          ----------
          boundary : `bool, optional, default False`
              Draw lines at the grid boundaries (`True`) or not (`False`).
          fig : `bool, optional, default True`
              Create a fresh figure (`True`) or not (`False`).
          show : `bool, optional, default True`
              Display the figure (`True`) or not (`False`).
          **kwargs : `optional`
              Arbitrary keyword argments passed to `pyplot.contour`.
docstring_summary: (`External API`) Make 2D contour plots in the unit coordinate space.
docstring_tokens: ( External API ) Make 2D contour plots in the unit coordinate space .
function: def plot_unit_contours(self,boundary=False,fig=True,show=True,**kwargs):
          """
          (`External API`) Make 2D contour plots in the unit coordinate space.
  
          Parameters
          ----------
          boundary : `bool, optional, default False`
              Draw lines at the grid boundaries (`True`) or not (`False`).
          fig : `bool, optional, default True`
              Create a fresh figure (`True`) or not (`False`).
          show : `bool, optional, default True`
              Display the figure (`True`) or not (`False`).
          **kwargs : `optional`
              Arbitrary keyword argments passed to `pyplot.contour`.
          """
          if self.grid_dim!=2:
              self.error('cannot plot contours in unit coordinates\ngrid must have dimension 2 to make contour plots\ndimension of grid for this function: {}'.format(self.grid_dim))
          #end if
          X,Y = self.grid.unit_points().T
          X.shape = self.grid_shape
          Y.shape = self.grid_shape
          Zm = self.f.T
          for Z in Zm:
              Z.shape = self.grid_shape
              fig,ax = self.setup_mpl_fig(fig=fig,dim=self.grid_dim)
              ax.contour(X,Y,Z,**kwargs)
              if boundary:
                  self.grid.plot_unit_boundary(fig=False,show=False)
              #end if
          #end for
          if show:
              plt.show()
function_tokens: def plot_unit_contours ( self , boundary = False , fig = True , show = True , * * kwargs ) : if self . grid_dim != 2 : self . error ( 'cannot plot contours in unit coordinates\ngrid must have dimension 2 to make contour plots\ndimension of grid for this function: {}' . format ( self . grid_dim ) ) #end if X , Y = self . grid . unit_points ( ) . T X . shape = self . grid_shape Y . shape = self . grid_shape Zm = self . f . T for Z in Zm : Z . shape = self . grid_shape fig , ax = self . setup_mpl_fig ( fig = fig , dim = self . grid_dim ) ax . contour ( X , Y , Z , * * kwargs ) if boundary : self . grid . plot_unit_boundary ( fig = False , show = False ) #end if #end for if show : plt . show ( )