code: def test_scatter_state(self):
      scatter = Scatter([3, 2, 1])
      state = self._get_plot_state(scatter)
      self.assertEqual(state["data"][0]["type"], "scatter")
      self.assertEqual(state["data"][0]["y"], np.array([3, 2, 1]))
      self.assertEqual(state["data"][0]["mode"], "markers")
      self.assertEqual(state["layout"]["yaxis"]["range"], [1, 3])
  
imports: import numpy
  from holoviews.element import Scatter, Tiles
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 1 for calling the TestScatterPlot obj's underlying member method code with example usage: obj.test_scatter_state() without return types