code: def test_histogram_plot_inverted(self):
      hist = Histogram((self.edges, self.frequencies)).opts(
          invert_axes=True
      )
  
      state = self._get_plot_state(hist)
      np.testing.assert_equal(state["data"][0]["y"], self.edges)
      np.testing.assert_equal(state["data"][0]["x"], self.frequencies)
      self.assertEqual(state["data"][0]["type"], "bar")
      self.assertEqual(state["data"][0]["orientation"], "h")
      self.assertEqual(state["data"][0]["width"], 1)
      self.assertEqual(state["layout"]["yaxis"]["range"], [-3.5, 2.5])
      self.assertEqual(state["layout"]["yaxis"]["title"]["text"], "x")
      self.assertEqual(state["layout"]["xaxis"]["range"], [0, 5])
      self.assertEqual(
          state["layout"]["xaxis"]["title"]["text"], "Frequency"
      )
  
file_path: holoviews/holoviews/tests/plotting/plotly/test_histogram.py
imports: import numpy
  from holoviews.element import Histogram
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 3 for calling the TestHistogramPlot obj's underlying member method code with example usage: obj.test_histogram_plot_inverted() without return types