code: def test_bivariate_colorbar(self):
      bivariate = Bivariate(([3, 2, 1], [0, 1, 2]))
      bivariate.opts(colorbar=True)
      state = self._get_plot_state(bivariate)
      trace = state["data"][0]
      self.assertTrue(trace["showscale"])
  
      bivariate.opts(colorbar=False)
      state = self._get_plot_state(bivariate)
      trace = state["data"][0]
      self.assertFalse(trace["showscale"])
  
file_path: holoviews/holoviews/tests/plotting/plotly/test_bivariateplot.py
imports: import numpy
  from holoviews.element import Bivariate
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 4 for calling the TestBivariatePlot obj's underlying member method code with example usage: obj.test_bivariate_colorbar() without return types