code: def test_update_by_type_and_grid_and_selector(self):
      # xaxis
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1, 2],
          {"title.font.family": "Rockwell"},
          row=1,
          selector={"title.text": "A"},
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1],
          {"title.font.family": "Rockwell"},
          col=1,
          selector={"title.text": "A"},
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [],
          {"title.font.family": "Rockwell"},
          col=2,
          selector={"title.text": "A"},
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [3, 4],
          {"title.font.family": "Rockwell"},
          col=1,
          selector={"title.text": "B"},
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [3],
          {"title.font.family": "Rockwell"},
          row=2,
          selector={"title.text": "B"},
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [4],
          {"title.font.family": "Rockwell"},
          row=3,
          col=1,
          selector={"title.text": "B"},
      )
  
      # yaxis
      self.assert_update_subplots(
          "yaxis",
          "yaxes",
          [1, 3],
          {"title.font.family": "Rockwell"},
          col=1,
          selector={"title.text": "A"},
      )
  
      self.assert_update_subplots(
          "yaxis",
          "yaxes",
          [4],
          {"title.font.family": "Rockwell"},
          col=1,
          selector={"title.text": "B"},
      )
  
      # polar
      self.assert_update_subplots(
          "polar",
          "polars",
          [1, 2],
          {"radialaxis.title.font.family": "Rockwell"},
          row=2,
          selector={"angularaxis.rotation": 45},
      )
  
      self.assert_update_subplots(
          "polar",
          "polars",
          [1],
          {"radialaxis.title.font.family": "Rockwell"},
          col=2,
          selector={"angularaxis.rotation": 45},
      )
  
      self.assert_update_subplots(
          "polar",
          "polars",
          [2],
          {"radialaxis.title.font.family": "Rockwell"},
          row=2,
          col=3,
          selector={"angularaxis.rotation": 45},
      )
  
      self.assert_update_subplots(
          "polar",
          "polars",
          [],
          {"radialaxis.title.font.family": "Rockwell"},
          row=2,
          col=3,
          selector={"angularaxis.rotation": 0},
      )
  
      # kwargs
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1, 2],
          title_font_family="Courier",
          title_font_color="yellow",
          row=1,
          selector={"title.text": "A"},
      )
  
imports: import copy
  from unittest import TestCase
  import plotly.graph_objs
  from plotly.graph_objs import Figure
  from plotly.subplots import make_subplots
label_desc: Use image node_id 12 for calling the TestSelectForEachUpdateSubplots obj's underlying member method code with example usage: obj.test_update_by_type_and_grid_and_selector() without return types