code: def test_callback_on_plotly_relayout(self):
      fn_range = MagicMock()
      self.figure.layout.on_change(
          fn_range, "xaxis.range", "yaxis.range", "width"
      )
  
      self.figure.plotly_relayout(
          relayout_data={
              "xaxis.range": [-10, 10],
              "yaxis.range": [11, 22],
          }
      )
  
      fn_range.assert_called_once_with(
          self.figure.layout, (-10, 10), (11, 22), 1000
      )
  
imports: import sys
  from unittest import TestCase
  import pytest
  import plotly.graph_objs
label_desc: Use image node_id 15 for calling the TestOnChangeCallbacks obj's underlying member method code with example usage: obj.test_callback_on_plotly_relayout() without return types