code: def test_grbs003_graph_wrapped_in_loading_component_does_not_fail(
      dash_dcc,
  ):
      app = Dash(__name__, suppress_callback_exceptions=True)
      app.layout = html.Div(
          [
              html.H1("subplot issue"),
              dcc.Location(id="url", refresh=False),
              dcc.Loading(id="page-content"),
          ]
      )
  
      @app.callback(
          Output("page-content", "children"), [Input("url", "pathname")]
      )
      def render_page(url):
          return [
              dcc.Dropdown(
                  id="my-dropdown",
                  options=[
                      {"label": "option 1", "value": "1"},
                      {"label": "option 2", "value": "2"},
                  ],
                  value="1",
              ),
              dcc.Graph(id="my-graph"),
          ]
  
      @app.callback(
          Output("my-graph", "figure"), [Input("my-dropdown", "value")]
      )
      def update_graph(value):
          values = [1, 2, 3]
          ranges = [1, 2, 3]
  
          return {
              "data": [
                  {
                      "x": ranges,
                      "y": values,
                      "line": {"shape": "spline"},
                  }
              ],
          }
  
      dash_dcc.start_server(app)
  
      dash_dcc.wait_for_element("#my-graph .main-svg")
  
      assert dash_dcc.get_logs() == []
  
file_path: dash/components/dash-core-components/tests/integration/graph/test_graph_basics.py
imports: import json
  import pytest
  import pandas
  from multiprocessing import Value, Lock
  import numpy
  from time import sleep
  import plotly.express
  import plotly.graph_objects
  from dash import Dash, Input, Output, dcc, html
  import dash.testing.wait
label_desc: Use image node_id 3 for calling a global function with example usage: test_grbs003_graph_wrapped_in_loading_component_does_not_fail(dash_dcc) and returns: list, dict