prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Regression in v1.18.0 `st.metric`'s `help` tooltip position
  ### Checklist
  
  - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
  - [X] I added a very descriptive title to this issue.
  - [X] I have provided sufficient information below to help reproduce this issue.
  
  ### Summary
  
  [Reported](https://discuss.streamlit.io/t/version-1-18-0/37501/3?u=snehankekre) by @marduk2 on our forum. The `help` tooltip for `st.metric` has changed positions in v1.18.0 and appears under the metric label instead of to its right.
  
  ### Reproducible Code Example
  
  ```Python
  import streamlit as st
  
  st.title("'Help' tooltips in st.metric render in a weird position")
  
  st.metric(
      label="Example metric",
      help="Something doesn't feel right...",
      value=150.59,
      delta="Very high",
  )
  ```
  
  
  ### Steps To Reproduce
  
  1. Run the app
  
  ### Expected Behavior
  
  ![image](https://user-images.githubusercontent.com/20672874/218045613-aa7e4a97-5f7f-418f-ad64-a795807a7d33.png)
  
  
  ### Current Behavior
  
  ![image](https://user-images.githubusercontent.com/20672874/218045435-bc389e06-c5ae-4bd9-bd0b-74b1c4860976.png)
  
  
  ### Is this a regression?
  
  - [X] Yes, this used to work in a previous version.
  
  ### Debug info
  
  - Streamlit version: 1.18.0
  - Python version: 3.9
  - Operating System: macOS
  - Browser: Chrome
  - Virtual environment: NA
  
  
  ### Additional Information
  
  _No response_
  
  ### Are you willing to submit a PR?
  
  - [ ] Yes, I am willing to submit a PR!
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `e2e/scripts/st_metric.py`
  Content:
  ```
  1 # Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 import streamlit as st
  16 
  17 col1, col2, col3 = st.columns(3)
  18 
  19 with col1:
  20     st.metric("User growth", 123, 123, "normal")
  21 with col2:
  22     st.metric("S&P 500", -4.56, -50)
  23 with col3:
  24     st.metric("Apples I've eaten", "23k", " -20", "off")
  25 
  26 " "
  27 
  28 col1, col2, col3 = st.columns(3)
  29 
  30 with col1:
  31     st.selectbox("Pick one", [])
  32 with col2:
  33     st.metric("Test 2", -4.56, 1.23, "inverse")
  34 with col3:
  35     st.slider("Pick another")
  36 
  37 
  38 with col1:
  39     st.metric("Test 3", -4.56, 1.23, label_visibility="visible")
  40 with col2:
  41     st.metric("Test 4", -4.56, 1.23, label_visibility="hidden")
  42 with col3:
  43     st.metric("Test 5", -4.56, 1.23, label_visibility="collapsed")
  44
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/e2e/scripts/st_metric.py b/e2e/scripts/st_metric.py
  --- a/e2e/scripts/st_metric.py
  +++ b/e2e/scripts/st_metric.py
  @@ -41,3 +41,13 @@
       st.metric("Test 4", -4.56, 1.23, label_visibility="hidden")
   with col3:
       st.metric("Test 5", -4.56, 1.23, label_visibility="collapsed")
  +
  +col1, col2, col3, col4, col5, col6, col7, col8 = st.columns(8)
  +
  +with col1:
  +    st.metric(
  +        label="Example metric",
  +        help="Something should feel right",
  +        value=150.59,
  +        delta="Very high",
  +    )
  
verification_info: {"golden_diff": "diff --git a/e2e/scripts/st_metric.py b/e2e/scripts/st_metric.py\n--- a/e2e/scripts/st_metric.py\n+++ b/e2e/scripts/st_metric.py\n@@ -41,3 +41,13 @@\n     st.metric(\"Test 4\", -4.56, 1.23, label_visibility=\"hidden\")\n with col3:\n     st.metric(\"Test 5\", -4.56, 1.23, label_visibility=\"collapsed\")\n+\n+col1, col2, col3, col4, col5, col6, col7, col8 = st.columns(8)\n+\n+with col1:\n+    st.metric(\n+        label=\"Example metric\",\n+        help=\"Something should feel right\",\n+        value=150.59,\n+        delta=\"Very high\",\n+    )\n", "issue": "Regression in v1.18.0 `st.metric`'s `help` tooltip position\n### Checklist\r\n\r\n- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.\r\n- [X] I added a very descriptive title to this issue.\r\n- [X] I have provided sufficient information below to help reproduce this issue.\r\n\r\n### Summary\r\n\r\n[Reported](https://discuss.streamlit.io/t/version-1-18-0/37501/3?u=snehankekre) by @marduk2 on our forum. The `help` tooltip for `st.metric` has changed positions in v1.18.0 and appears under the metric label instead of to its right.\r\n\r\n### Reproducible Code Example\r\n\r\n```Python\r\nimport streamlit as st\r\n\r\nst.title(\"'Help' tooltips in st.metric render in a weird position\")\r\n\r\nst.metric(\r\n    label=\"Example metric\",\r\n    help=\"Something doesn't feel right...\",\r\n    value=150.59,\r\n    delta=\"Very high\",\r\n)\r\n```\r\n\r\n\r\n### Steps To Reproduce\r\n\r\n1. Run the app\r\n\r\n### Expected Behavior\r\n\r\n![image](https://user-images.githubusercontent.com/20672874/218045613-aa7e4a97-5f7f-418f-ad64-a795807a7d33.png)\r\n\r\n\r\n### Current Behavior\r\n\r\n![image](https://user-images.githubusercontent.com/20672874/218045435-bc389e06-c5ae-4bd9-bd0b-74b1c4860976.png)\r\n\r\n\r\n### Is this a regression?\r\n\r\n- [X] Yes, this used to work in a previous version.\r\n\r\n### Debug info\r\n\r\n- Streamlit version: 1.18.0\r\n- Python version: 3.9\r\n- Operating System: macOS\r\n- Browser: Chrome\r\n- Virtual environment: NA\r\n\r\n\r\n### Additional Information\r\n\r\n_No response_\r\n\r\n### Are you willing to submit a PR?\r\n\r\n- [ ] Yes, I am willing to submit a PR!\n", "before_files": [{"content": "# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport streamlit as st\n\ncol1, col2, col3 = st.columns(3)\n\nwith col1:\n    st.metric(\"User growth\", 123, 123, \"normal\")\nwith col2:\n    st.metric(\"S&P 500\", -4.56, -50)\nwith col3:\n    st.metric(\"Apples I've eaten\", \"23k\", \" -20\", \"off\")\n\n\" \"\n\ncol1, col2, col3 = st.columns(3)\n\nwith col1:\n    st.selectbox(\"Pick one\", [])\nwith col2:\n    st.metric(\"Test 2\", -4.56, 1.23, \"inverse\")\nwith col3:\n    st.slider(\"Pick another\")\n\n\nwith col1:\n    st.metric(\"Test 3\", -4.56, 1.23, label_visibility=\"visible\")\nwith col2:\n    st.metric(\"Test 4\", -4.56, 1.23, label_visibility=\"hidden\")\nwith col3:\n    st.metric(\"Test 5\", -4.56, 1.23, label_visibility=\"collapsed\")\n", "path": "e2e/scripts/st_metric.py"}], "after_files": [{"content": "# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport streamlit as st\n\ncol1, col2, col3 = st.columns(3)\n\nwith col1:\n    st.metric(\"User growth\", 123, 123, \"normal\")\nwith col2:\n    st.metric(\"S&P 500\", -4.56, -50)\nwith col3:\n    st.metric(\"Apples I've eaten\", \"23k\", \" -20\", \"off\")\n\n\" \"\n\ncol1, col2, col3 = st.columns(3)\n\nwith col1:\n    st.selectbox(\"Pick one\", [])\nwith col2:\n    st.metric(\"Test 2\", -4.56, 1.23, \"inverse\")\nwith col3:\n    st.slider(\"Pick another\")\n\n\nwith col1:\n    st.metric(\"Test 3\", -4.56, 1.23, label_visibility=\"visible\")\nwith col2:\n    st.metric(\"Test 4\", -4.56, 1.23, label_visibility=\"hidden\")\nwith col3:\n    st.metric(\"Test 5\", -4.56, 1.23, label_visibility=\"collapsed\")\n\ncol1, col2, col3, col4, col5, col6, col7, col8 = st.columns(8)\n\nwith col1:\n    st.metric(\n        label=\"Example metric\",\n        help=\"Something should feel right\",\n        value=150.59,\n        delta=\"Very high\",\n    )\n", "path": "e2e/scripts/st_metric.py"}]}