Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Register for the Oct 27 webinar.

Format hovertemplate text - Display long string vertically


I’m attemping to display a list of values in the hovertemplate in plotly express

I have the list saved as a single string. It’s made up of 10-20 substrings broken up by commas

The default is for the list to displayed horizontally which doesn’t look best on a map.

Is there a workaround for this to be displayed vertically.

value is something like “a,b,c,d,e,f,g,h,i”

I’d like it to be displays


A second question. Is there a way to get plotly to ignore or supress a null value, currently if a value is missing it displays {%cutomdata}