code: def test_key_error():
      assert ErrorX(value=0.1, typ="percent", color="red") == {
          "color": "red",
          "typ": "percent",
          "value": 0.1,
      }
  
imports: from plotly.graph_objs import ErrorX, ErrorY
  from plotly.exceptions import PlotlyDictKeyError
label_desc: Use image node_id 3 for calling a global function with example usage: test_key_error() without return types