code: def test_get_subplot_out_of_bounds(self):
      fig = subplots.make_subplots(rows=4, cols=2)
  
      self.assertRaises(ValueError, lambda: fig.get_subplot(0, 1))
      self.assertRaises(ValueError, lambda: fig.get_subplot(5, 1))
      self.assertRaises(ValueError, lambda: fig.get_subplot(1, 0))
      self.assertRaises(ValueError, lambda: fig.get_subplot(1, 3))
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_subplots/test_get_subplot.py
imports: from unittest import TestCase
  from plotly.graph_objs import Figure
  from plotly import subplots
  import plotly.graph_objs
  from plotly.subplots import SubplotXY, SubplotDomain
label_desc: Use image node_id 2 for calling the TestGetSubplot obj's underlying member method code with example usage: obj.test_get_subplot_out_of_bounds() without return types