code: def test_point_color_index_color_clash(self):
      points = Points(
          [(0, 0, 0), (0, 1, 1), (0, 2, 2)], vdims="color"
      ).opts(color="color", color_index="color")
      with ParamLogStream() as log:
          mpl_renderer.get_plot(points)
      log_msg = log.stream.read()
      warning = (
          "The `color_index` parameter is deprecated in favor of color style mapping, e.g. "
          "`color=dim('color')` or `line_color=dim('color')`\nCannot declare style mapping "
          "for 'color' option and declare a color_index; ignoring the color_index.\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 36 for calling the TestPointPlot obj's underlying member method code with example usage: obj.test_point_color_index_color_clash() without return types