code: def test_points_non_numeric_size_warning(self):
      data = (
          np.arange(10),
          np.arange(10),
          list(map(chr, range(94, 104))),
      )
      points = Points(data, vdims=["z"]).opts(size_index=2)
      with ParamLogStream() as log:
          mpl_renderer.get_plot(points)
      log_msg = log.stream.read()
      warning = (
          "The `size_index` parameter is deprecated in favor of size style mapping, e.g. "
          "`size=dim('size')**2`.\nz dimension is not numeric, cannot use to scale Points size.\n"
      )
      self.assertEqual(log_msg, warning)
  
imports: import matplotlib.pyplot
  import numpy
  import pytest
  from holoviews.core.options import AbbreviatedException
  from holoviews.core.overlay import NdOverlay
  from holoviews.core.spaces import HoloMap
  from holoviews.element import Points
  from ..utils import ParamLogStream
  from .test_plot import TestMPLPlot, mpl_renderer
label_desc: Use image node_id 1 for calling the TestPointPlot obj's underlying member method code with example usage: obj.test_points_non_numeric_size_warning() without return types