code: def extend_line():
      @ngjit
      def append(i, x, y, agg):
          agg[y, x] += 1
  
      mapper = ngjit(lambda x: x)
      map_onto_pixel = _build_map_onto_pixel_for_line(mapper, mapper)
      expand_aggs_and_cols = Glyph._expand_aggs_and_cols(
          append, 1, False
      )
      draw_line = _build_draw_segment(
          append, map_onto_pixel, expand_aggs_and_cols, 0, False
      )
      return _build_extend_line_axis0(
          draw_line, expand_aggs_and_cols, None
      )[0]
  
file_path: datashader/datashader/tests/benchmarks/test_extend_line.py
imports: import numpy
  import pytest
  from datashader.glyphs import Glyph
  from datashader.glyphs.line import _build_draw_segment, _build_extend_line_axis0, _build_map_onto_pixel_for_line
  from datashader.utils import ngjit
label_desc: Use image node_id 1 for calling a global function with example usage: extend_line() and returns: _build_extend_line_axis0