original_docstring: Create region layer with known coordinates
  
      Returns
      -------
      data : list
          List containing data used to generate regions.
      layer : napari_plot.layers.InfLine
          Region layer.
      n_inflines : int
          Number of inflines in the InfLine layer
      known_non_infline : list
          Data coordinates that are known to contain no region. Useful during
          testing when needing to guarantee no region is clicked on.
      
docstring: Create region layer with known coordinates
  Returns
  
  data : list
  List containing data used to generate regions.
docstring_tokens: Create region layer with known coordinates Returns data : list List containing data used to generate regions .
code: def create_known_infline_layer():
      """Create region layer with known coordinates
  
      Returns
      -------
      data : list
          List containing data used to generate regions.
      layer : napari_plot.layers.InfLine
          Region layer.
      n_inflines : int
          Number of inflines in the InfLine layer
      known_non_infline : list
          Data coordinates that are known to contain no region. Useful during
          testing when needing to guarantee no region is clicked on.
      """
  
      data = [
          (25, "vertical"),
          (500, "horizontal"),
          (85, "vertical"),
      ]
      known_non_infline = [0]
      n_inflines = len(data)
  
      layer = InfLine(data)
      assert layer.ndim == 2
      assert len(layer.data) == n_inflines
      assert len(layer.orientation) == n_inflines
      assert len(layer.selected_data) == 0
  
      return data, layer, n_inflines, known_non_infline
code_tokens: def create_known_infline_layer ( ) : data = [ ( 25 , "vertical" ) , ( 500 , "horizontal" ) , ( 85 , "vertical" ) , ] known_non_infline = [ 0 ] n_inflines = len ( data ) layer = InfLine ( data ) assert layer . ndim == 2 assert len ( layer . data ) == n_inflines assert len ( layer . orientation ) == n_inflines assert len ( layer . selected_data ) == 0 return data , layer , n_inflines , known_non_infline
short_docstring: Create region layer with known coordinates
  Returns
short_docstring_tokens: Create region layer with known coordinates Returns
comment: """Create region layer with known coordinates
  
      Returns
      -------
      data : list
          List containing data used to generate regions.
      layer : napari_plot.layers.InfLine
          Region layer.
      n_inflines : int
          Number of inflines in the InfLine layer
      known_non_infline : list
          Data coordinates that are known to contain no region. Useful during
          testing when needing to guarantee no region is clicked on.
      """