code: def test_quadmesh_state_inverted(self):
      img = QuadMesh(
          ([1, 2, 4], [0, 1], np.array([[0, 1, 2], [2, 3, 4]]))
      ).opts(invert_axes=True)
      state = self._get_plot_state(img)
      self.assertEqual(
          state["data"][0]["x"], np.array([-0.5, 0.5, 1.5])
      )
      self.assertEqual(
          state["data"][0]["y"], np.array([0.5, 1.5, 3.0, 5.0])
      )
      self.assertEqual(
          state["data"][0]["z"], np.array([[0, 1, 2], [2, 3, 4]]).T
      )
      self.assertEqual(state["data"][0]["zmin"], 0)
      self.assertEqual(state["data"][0]["zmax"], 4)
      self.assertEqual(state["layout"]["xaxis"]["range"], [-0.5, 1.5])
      self.assertEqual(state["layout"]["yaxis"]["range"], [0.5, 5])
  
file_path: holoviews/holoviews/tests/plotting/plotly/test_quadmeshplot.py
imports: import numpy
  from holoviews.element import QuadMesh
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 4 for calling the TestQuadMeshPlot obj's underlying member method code with example usage: obj.test_quadmesh_state_inverted() without return types