code: def select_traces_fixture():
      fig = make_subplots(2, 3)
      for n in range(3):
          fig.add_trace(go.Scatter(x=[1, 2], y=[3, n]), row=2, col=3)
      for n, ty in zip(range(3), [go.Scatter, go.Bar, go.Bar]):
          fig.add_trace(ty(x=[1, 2], y=[3, 10 * n]), row=1, col=3)
      return fig
  
imports: from unittest import TestCase
  import inspect
  import copy
  import pytest
  import plotly.graph_objs
  from plotly.subplots import make_subplots
  from functools import reduce
label_desc: Use image node_id 1 for calling a global function with example usage: select_traces_fixture() and returns: fig