code: def test_given_misspecified_uncertainties_when_bar_plot_then_does_not_raise_error():
      bar_plot(
          {"X": 1, "Y": 2, "Z": 3},
          uncertainties={"X": (1.1, 0.9), "Y": (1.5, 2.1)},
      )
      bar_plot(
          {"X": 1, "Y": 2},
          uncertainties={
              "X": (10**-2, 10**-1),
              "Y": (10**-2, 10**-1),
          },
      )
      bar_plot({"X": 1}, uncertainties={"X": (0, 1)})
      bar_plot({"X": 1}, uncertainties={"X": (0, 0.99999999999)})
      bar_plot(
          {"X": 1}, uncertainties={"X": (1 - 10**-15, 1 + 10**-15)}
      )
  
file_path: dowhy/tests/utils/test_plotting.py
imports: import networkx
  import numpy
  import pandas
  import pytest
  from _pytest.python_api import approx
  from dowhy.utils import plot, plot_adjacency_matrix
  from dowhy.utils.networkx_plotting import plot_causal_graph_networkx
  from dowhy.utils.plotting import _calc_arrow_width, bar_plot
label_desc: Use image node_id 6 for calling a global function with example usage: test_given_misspecified_uncertainties_when_bar_plot_then_does_not_raise_error() without return types