title: How to change currency format in plotly express hover data?
body: <p>I have been trying to change the currency format in this plotly express figure in the hover data, without any success. I am looking to change it from US dollars to my home currency, GBP. Does anyone know what i need to do to achieve this? The documentation doesn't really go into it much.</p>
  <pre><code>fig = px.bar(
  df, 
  x=df['cat_level2'], 
  y=df['count'], 
  labels={&quot;cat_level2&quot;: &quot;Category&quot;, &quot;count&quot;: &quot;Product Count&quot;, &quot;max&quot;:&quot;Maximum Price&quot;, &quot;mean&quot;:&quot;Average Price&quot;, &quot;min&quot;:&quot;Minimum Price&quot;}, 
  hover_name=&quot;cat_level2&quot;, 
  hover_data={&quot;cat_level2&quot;:False, &quot;max&quot;:&quot;:$.2f&quot;, &quot;mean&quot;:&quot;:$.2f&quot;, &quot;min&quot;:&quot;:$.2f&quot;}
  )
  
  fig.show()
  </code></pre>
  <p>If I change the $ symbols to pound symbols (£) this shows customdata in the chart tooltip. According to them they are using the d3 library for currency formatting which claims to use the system locale. I have checked that i am using the correct locale, (which is en_GB.utf-8), so i don't know what else to check?</p>