Label for "sum of" in histogram

Hi, is it possible to set a label for the “sum of” expression?

image

labels={'ano':'Ano','processo':'Nº de Processos','sum of':'','instancia_desc':'Instância'}

Anyone? I really need to find a way to “translate” this.

Hi, maybe you could create a custom hovertemplate?

1 Like

Do you have a sample or link to documentation about hovertemplate?

Hi, here’s some link to give you an idea on how to get started:

https://plotly.com/python/hover-text-and-formatting/

If you get stuck further, please provide a minimal example so people can help you better.

There are some examples on this site by searching for hovertemplate:
one such example: https://community.plotly.com/t/hovertemplate-with-customdata-or-hover-data-of-variable-shape/67901/2

also there are some guides to be found when you search on custom hovertemplate on google:

etc.

1 Like