code: def test_single_bounds(self):
      bounds = Tiles("") * Bounds(
          (
              self.x_range[0],
              self.y_range[0],
              self.x_range[1],
              self.y_range[1],
          )
      ).redim.range(x=self.x_range, y=self.y_range)
  
      state = self._get_plot_state(bounds)
      self.assertEqual(state["data"][1]["type"], "scattermapbox")
      self.assertEqual(state["data"][1]["mode"], "lines")
      self.assertEqual(
          state["data"][1]["lon"],
          np.array([self.lon_range[i] for i in (0, 0, 1, 1, 0)]),
      )
      self.assertEqual(
          state["data"][1]["lat"],
          np.array([self.lat_range[i] for i in (0, 1, 1, 0, 0)]),
      )
      self.assertEqual(state["data"][1]["showlegend"], False)
      self.assertEqual(
          state["data"][1]["line"]["color"], default_shape_color
      )
      self.assertEqual(
          state["layout"]["mapbox"]["center"],
          {"lat": self.lat_center, "lon": self.lon_center},
      )
  
imports: import numpy
  from holoviews.element import Bounds, Box, HLine, Path, Rectangles, Segments, Tiles, VLine
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 1 for calling the TestMapboxBounds obj's underlying member method code with example usage: obj.test_single_bounds() without return types