code: def test_select_annotations_no_grid(self):
      (
          self.fig.add_annotation(text="A1", arrowcolor="red")
          .add_annotation(text="A2", arrowcolor="blue")
          .add_annotation(text="A3", arrowcolor="blue")
      )
      self.assert_selected("annotations", [0, 1, 2])
      self.assert_selected(
          "annotations", [0], selector=dict(arrowcolor="red")
      )
      self.assert_selected(
          "annotations", [1, 2], selector=dict(arrowcolor="blue")
      )
  
imports: import types
  from unittest import TestCase
  import plotly.graph_objs
  from plotly.subplots import make_subplots
  import pytest
label_desc: Use image node_id 6 for calling the TestSelectForEachUpdateAnnotations obj's underlying member method code with example usage: obj.test_select_annotations_no_grid() without return types