code: def test_select_subplot_coordinates(
      subplot_fig_fixture, test_input, expected
  ):
      rows, cols, product = test_input
      er, ec = _sort_row_col_lists(*expected)
      t = subplot_fig_fixture._select_subplot_coordinates(
          rows, cols, product=product
      )
      r, c = zip(*t)
      r, c = _sort_row_col_lists(r, c)
      assert (r == er) and (c == ec)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_update_objects/test_row_col_subplot_addressing.py
imports: import plotly.graph_objs
  from plotly.subplots import make_subplots
  from plotly.basedatatypes import _indexing_combinations
  import pytest
  from itertools import product
label_desc: Use image node_id 8 for calling a global function with example usage: test_select_subplot_coordinates(subplot_fig_fixture, test_input, expected) without return types