code: def test_wide_mode_labels_external():
      # here we prove that the _uglylabels_ can be renamed using the usual labels kwarg
      df = pd.DataFrame(
          dict(a=[1, 2, 3], b=[4, 5, 6], c=[7, 8, 9]),
          index=[11, 12, 13],
      )
      fig = px.bar(df)
      assert fig.layout.xaxis.title.text == "index"
      assert fig.layout.yaxis.title.text == "value"
      assert fig.layout.legend.title.text == "variable"
      labels = dict(
          index="my index", value="my value", variable="my column"
      )
      fig = px.bar(df, labels=labels)
      assert fig.layout.xaxis.title.text == "my index"
      assert fig.layout.yaxis.title.text == "my value"
      assert fig.layout.legend.title.text == "my column"
      df.index.name = "my index"
      df.columns.name = "my column"
      fig = px.bar(df)
      assert fig.layout.xaxis.title.text == "my index"
      assert fig.layout.yaxis.title.text == "value"
      assert fig.layout.legend.title.text == "my column"
  
imports: import plotly.express
  import plotly.graph_objects
  import pandas
  import numpy
  from plotly.express._core import build_dataframe, _is_col_list
  from pandas.testing import assert_frame_equal
  import pytest
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: test_wide_mode_labels_external() without return types