original_docstring: Plots NARR grid points intersected by a warm front or cold front.
  
      This method plots data over a contiguous subset of the NARR grid, which need
      not be *strictly* a subset.  In other words, the "subset" could be the full
      NARR grid.
  
      :param frontal_grid_matrix: See documentation for
          `front_utils.frontal_grid_to_points`.
      :param axes_object: Instance of `matplotlib.axes._subplots.AxesSubplot`.
      :param basemap_object: Instance of `mpl_toolkits.basemap.Basemap`.
      :param first_row_in_narr_grid: Row 0 in the subgrid is row
          `first_row_in_narr_grid` in the full NARR grid.
      :param first_column_in_narr_grid: Column 0 in the subgrid is row
          `first_column_in_narr_grid` in the full NARR grid.
      :param opacity: Opacity for colour map (in range 0...1).
      
docstring: Plots NARR grid points intersected by a warm front or cold front.
  This method plots data over a contiguous subset of the NARR grid, which need
  not be *strictly* a subset.  In other words, the "subset" could be the full
  NARR grid.
docstring_tokens: Plots NARR grid points intersected by a warm front or cold front . This method plots data over a contiguous subset of the NARR grid which need not be * strictly * a subset . In other words the " subset " could be the full NARR grid .
code: def plot_narr_grid(
          frontal_grid_matrix, axes_object, basemap_object,
          first_row_in_narr_grid=0, first_column_in_narr_grid=0,
          opacity=DEFAULT_GRID_OPACITY):
      """Plots NARR grid points intersected by a warm front or cold front.
  
      This method plots data over a contiguous subset of the NARR grid, which need
      not be *strictly* a subset.  In other words, the "subset" could be the full
      NARR grid.
  
      :param frontal_grid_matrix: See documentation for
          `front_utils.frontal_grid_to_points`.
      :param axes_object: Instance of `matplotlib.axes._subplots.AxesSubplot`.
      :param basemap_object: Instance of `mpl_toolkits.basemap.Basemap`.
      :param first_row_in_narr_grid: Row 0 in the subgrid is row
          `first_row_in_narr_grid` in the full NARR grid.
      :param first_column_in_narr_grid: Column 0 in the subgrid is row
          `first_column_in_narr_grid` in the full NARR grid.
      :param opacity: Opacity for colour map (in range 0...1).
      """
  
      error_checking.assert_is_integer_numpy_array(frontal_grid_matrix)
      error_checking.assert_is_numpy_array(frontal_grid_matrix, num_dimensions=2)
  
      error_checking.assert_is_geq_numpy_array(
          frontal_grid_matrix, numpy.min(front_utils.VALID_INTEGER_IDS)
      )
      error_checking.assert_is_leq_numpy_array(
          frontal_grid_matrix, numpy.max(front_utils.VALID_INTEGER_IDS)
      )
  
      colour_map_object, _, colour_bounds = get_colour_map_for_grid()
  
      frontal_grid_matrix = numpy.ma.masked_where(
          frontal_grid_matrix == front_utils.NO_FRONT_INTEGER_ID,
          frontal_grid_matrix)
  
      narr_plotting.plot_xy_grid(
          data_matrix=frontal_grid_matrix, axes_object=axes_object,
          basemap_object=basemap_object, colour_map=colour_map_object,
          colour_minimum=colour_bounds[1], colour_maximum=colour_bounds[-2],
          first_row_in_narr_grid=first_row_in_narr_grid,
          first_column_in_narr_grid=first_column_in_narr_grid, opacity=opacity)
code_tokens: def plot_narr_grid ( frontal_grid_matrix , axes_object , basemap_object , first_row_in_narr_grid = 0 , first_column_in_narr_grid = 0 , opacity = DEFAULT_GRID_OPACITY ) : error_checking . assert_is_integer_numpy_array ( frontal_grid_matrix ) error_checking . assert_is_numpy_array ( frontal_grid_matrix , num_dimensions = 2 ) error_checking . assert_is_geq_numpy_array ( frontal_grid_matrix , numpy . min ( front_utils . VALID_INTEGER_IDS ) ) error_checking . assert_is_leq_numpy_array ( frontal_grid_matrix , numpy . max ( front_utils . VALID_INTEGER_IDS ) ) colour_map_object , _ , colour_bounds = get_colour_map_for_grid ( ) frontal_grid_matrix = numpy . ma . masked_where ( frontal_grid_matrix == front_utils . NO_FRONT_INTEGER_ID , frontal_grid_matrix ) narr_plotting . plot_xy_grid ( data_matrix = frontal_grid_matrix , axes_object = axes_object , basemap_object = basemap_object , colour_map = colour_map_object , colour_minimum = colour_bounds [ 1 ] , colour_maximum = colour_bounds [ - 2 ] , first_row_in_narr_grid = first_row_in_narr_grid , first_column_in_narr_grid = first_column_in_narr_grid , opacity = opacity )
short_docstring: Plots NARR grid points intersected by a warm front or cold front.
short_docstring_tokens: Plots NARR grid points intersected by a warm front or cold front .
comment: """Plots NARR grid points intersected by a warm front or cold front.
  
      This method plots data over a contiguous subset of the NARR grid, which need
      not be *strictly* a subset.  In other words, the "subset" could be the full
      NARR grid.
  
      :param frontal_grid_matrix: See documentation for
          `front_utils.frontal_grid_to_points`.
      :param axes_object: Instance of `matplotlib.axes._subplots.AxesSubplot`.
      :param basemap_object: Instance of `mpl_toolkits.basemap.Basemap`.
      :param first_row_in_narr_grid: Row 0 in the subgrid is row
          `first_row_in_narr_grid` in the full NARR grid.
      :param first_column_in_narr_grid: Column 0 in the subgrid is row
          `first_column_in_narr_grid` in the full NARR grid.
      :param opacity: Opacity for colour map (in range 0...1).
      """