code: def _handle_underflow(dtype, *elements):
      """Wrapper around path description which converts underflow into proper points"""
      out = []
      for el in elements:
          newElement = [el[0]]
          for ii in range(1, 3):
              coord = el[ii]
              if coord < 0:
                  coord = np.array(coord, dtype=dtype)
              newElement.append(float(coord))
          out.append(tuple(newElement))
      return out
  
imports: from collections import OrderedDict
  from copy import deepcopy
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal
  import pyqtgraph
  from pyqtgraph.functions import arrayToQPath, eq
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 10 for calling a global function with example usage: _handle_underflow(dtype) and returns: out