✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

SPLOM tooltip dimension label + value


I’m using plotly js to create a SPLOM viz but I’m not able to show the “x” and “y” axes label strings in the tooltip when hovering a marker. I only see the “x” and “y” values (see screenshot)
Screenshot 2020-06-15 at 12.27.58

What I would like to have is a similar behaviour as plotly express (see screenshot)
Screenshot 2020-06-15 at 12.26.44

Do you know if this is possible using plotly js?


Maybe can use hovertemplate

Yes! Didn’t know I could access to axis’ info. Thanks @Saratoga.

	"%{yaxis.title.text}: %{y}<br>" +
	"%{xaxis.title.text}: %{x}<br>" +