code: def test_pandas_series():
      tips = px.data.tips()
      before_tip = tips.total_bill - tips.tip
      fig = px.bar(tips, x="day", y=before_tip)
      assert (
          fig.data[0].hovertemplate
          == "day=%{x}<br>y=%{y}<extra></extra>"
      )
      fig = px.bar(tips, x="day", y=before_tip, labels={"y": "bill"})
      assert (
          fig.data[0].hovertemplate
          == "day=%{x}<br>bill=%{y}<extra></extra>"
      )
      # lock down that we can pass df.col to facet_*
      fig = px.bar(
          tips, x="day", y="tip", facet_row=tips.day, facet_col=tips.day
      )
      assert (
          fig.data[0].hovertemplate
          == "day=%{x}<br>tip=%{y}<extra></extra>"
      )
  
imports: import plotly.express
  import plotly.graph_objects
  import numpy
  import pandas
  import pytest
  from packaging import version
  import unittest.mock
  from plotly.express._core import build_dataframe
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_pandas_series() without return types