code: def test_inin026_graphs_in_tabs_do_not_share_state(dash_duo):
      app = Dash(__name__, suppress_callback_exceptions=True)
  
      app.layout = html.Div(
          [
              dcc.Tabs(
                  id="tabs",
                  children=[
                      dcc.Tab(label="Tab 1", value="tab1", id="tab1"),
                      dcc.Tab(label="Tab 2", value="tab2", id="tab2"),
                  ],
                  value="tab1",
              ),
              # Tab content
              html.Div(id="tab_content"),
          ]
      )
      tab1_layout = [
          html.Div(
              [
                  dcc.Graph(
                      id="graph1",
                      figure={
                          "data": [
                              {
                                  "x": [1, 2, 3],
                                  "y": [5, 10, 6],
                                  "type": "bar",
                              }
                          ]
                      },
                  )
              ]
          ),
          html.Pre(id="graph1_info"),
      ]
  
      tab2_layout = [
          html.Div(
              [
                  dcc.Graph(
                      id="graph2",
                      figure={
                          "data": [
                              {
                                  "x": [4, 3, 2],
                                  "y": [5, 10, 6],
                                  "type": "bar",
                              }
                          ]
                      },
                  )
              ]
          ),
          html.Pre(id="graph2_info"),
      ]
  
      @app.callback(
          Output("graph1_info", "children"),
          Input("graph1", "clickData"),
      )
      def display_hover_data(hover_data):
          return json.dumps(hover_data)
  
      @app.callback(
          Output("graph2_info", "children"),
          Input("graph2", "clickData"),
      )
      def display_hover_data_2(hover_data):
          return json.dumps(hover_data)
  
      @app.callback(
          Output("tab_content", "children"), Input("tabs", "value")
      )
      def render_content(tab):
          return tab2_layout if tab == "tab2" else tab1_layout
  
      dash_duo.start_server(app)
  
      dash_duo.find_element("#graph1:not(.dash-graph--pending)").click()
  
      until(
          lambda: '"label": 2'
          in dash_duo.find_element("#graph1_info").text,
          timeout=3,
      )
  
      dash_duo.find_element("#tab2").click()
  
      dash_duo.find_element("#graph2:not(.dash-graph--pending)").click()
  
      until(
          lambda: '"label": 3'
          in dash_duo.find_element("#graph2_info").text,
          timeout=3,
      )
  
imports: import datetime
  import flask
  import json
  import pytest
  import re
  from bs4 import BeautifulSoup
  import dash_dangerously_set_inner_html
  import dash_flow_example
  import dash
  from dash import Dash, html, dcc, Input, Output
  from dash.exceptions import PreventUpdate
  from dash.testing.wait import until
label_desc: Use image node_id 13 for calling a global function with example usage: test_inin026_graphs_in_tabs_do_not_share_state(dash_duo) and returns: json, json, unknown