code: def some_fig():
      fig = go.Figure()
      fig.add_trace(go.Scatter(x=[], y=[]))
      fig.add_shape(type="rect", x0=1, x1=2, y0=3, y1=4)
      fig.add_shape(type="rect", x0=10, x1=20, y0=30, y1=40)
      fig.add_trace(go.Scatter(x=[1, 2, 3], y=[4, 5, 6]))
      return fig
  
imports: import plotly.graph_objects
  from _plotly_utils.exceptions import PlotlyKeyError
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: some_fig() and returns: fig