code: def test_scatter_color_mapped(self):
      scatter = Scatter([3, 2, 1]).opts(color="x")
      state = self._get_plot_state(scatter)
      self.assertEqual(
          state["data"][0]["marker"]["color"], np.array([0, 1, 2])
      )
      self.assertEqual(state["data"][0]["marker"]["cmin"], 0)
      self.assertEqual(state["data"][0]["marker"]["cmax"], 2)
  
imports: import numpy
  from holoviews.element import Scatter, Tiles
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 3 for calling the TestScatterPlot obj's underlying member method code with example usage: obj.test_scatter_color_mapped() without return types