code: def test_supplied_yref_on_multi_plot_subplot():
      ### test multiple subploted figure object with subplots.make_subplots
      fig = make_subplots(
          rows=1,
          cols=2,
          shared_yaxes=False,
          specs=[[{"secondary_y": True}, {"secondary_y": True}]],
      )
      ### Add traces to the first subplot
      fig.add_trace(go.Scatter(x=[1, 2, 3], y=[1, 2, 3]), row=1, col=1)
      fig.add_trace(
          go.Scatter(x=[1, 2, 3], y=[3, 2, 1], yaxis="y2"),
          row=1,
          col=1,
          secondary_y=True,
      )
      ### Add traces to the second subplot
      fig.add_trace(
          go.Scatter(x=[1, 2, 3], y=[1, 2, 3], yaxis="y"), row=1, col=2
      )
      fig.add_trace(
          go.Scatter(x=[1, 2, 3], y=[1, 1, 2], yaxis="y2"),
          row=1,
          col=2,
          secondary_y=True,
      )
      # add a horizontal line on both subplots on their respective secondary y.
      # When using the subplots.make_subplots() method yref parameter should NOT be supplied per docstring instructions.
      # Instead secondary_y specs and secondary_y parameter MUST be True to plot on secondary y
      fig.add_hline(y=2, row=1, col=1, secondary_y=True)
      fig.add_hline(y=1, row=1, col=2, secondary_y=True)
      assert fig.layout["shapes"][0]["yref"] == "y2"
      assert fig.layout["shapes"][0]["xref"] == "x domain"
      assert fig.layout["shapes"][1]["yref"] == "y4"
      assert fig.layout["shapes"][1]["xref"] == "x2 domain"
  
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 5 for calling a global function with example usage: test_supplied_yref_on_multi_plot_subplot() without return types