code: def test_dveh004_validation_errors_creation(dash_duo):
      app = Dash(__name__)
  
      app.layout = html.Div(
          [
              html.Button(
                  id="button", children="update-graph", n_clicks=0
              ),
              html.Div(id="output"),
          ]
      )
  
      # animate is a bool property
      @app.callback(
          Output("output", "children"), [Input("button", "n_clicks")]
      )
      def update_output(n_clicks):
          if n_clicks == 1:
              return dcc.Graph(
                  id="output",
                  animate=0,
                  figure={"data": [{"y": [3, 1, 2]}]},
              )
  
      dash_duo.start_server(
          app,
          debug=True,
          use_reloader=False,
          use_debugger=True,
          dev_tools_hot_reload=False,
      )
  
      dash_duo.wait_for_element("#button").click()
      dash_duo.wait_for_text_to_equal(
          dash_duo.devtools_error_count_locator, "1"
      )
      dash_duo.find_element(".test-devtools-error-toggle").click()
      dash_duo.percy_snapshot(
          "devtools - validation creation exception - open"
      )
  
file_path: dash/tests/integration/devtools/test_devtools_error_handling.py
imports: from dash import Dash, Input, Output, html, dcc
  from dash.exceptions import PreventUpdate
label_desc: Use image node_id 7 for calling a global function with example usage: test_dveh004_validation_errors_creation(dash_duo) and returns: dcc