code: def test_update_by_type_and_grid(self):
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1, 3, 4],
          {"title.font.family": "Rockwell"},
          col=1,
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1, 2],
          {"title.font.family": "Rockwell"},
          row=1,
      )
  
      self.assert_update_subplots(
          "xaxis",
          "xaxes",
          [1],
          {"title.font.family": "Rockwell"},
          row=1,
          col=1,
      )
  
      self.assert_update_subplots(
          "polar", "polars", [1, 2], {"angularaxis.rotation": 15}, row=2
      )
  
      self.assert_update_subplots(
          "polar", "polars", [1], {"angularaxis.rotation": 15}, col=2
      )
  
      self.assert_update_subplots(
          "polar",
          "polars",
          [2],
          {"angularaxis.rotation": 15},
          row=2,
          col=3,
      )
  
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 10 for calling the TestSelectForEachUpdateSubplots obj's underlying member method code with example usage: obj.test_update_by_type_and_grid() without return types