Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Move axis labels to top/right

Hello,
How do I move axis labels to the opposite side of my chart? I’m using tutorial code https://plot.ly/python/dendrogram/ to draw a heatmap with dendrograms, but my y-axis labels are being masked by the dendrogram itself. I’d like to specify that they instead should appear on yaxis2. My only idea so far is to shorten the width of the heatmap and move the labels using {"anchor:‘free’, position:1}

2 Likes

here’s how: http://codepen.io/etpinard/pen/GoaodV

2 Likes

well, this is embarrassing. Very straightforward and simple answer! Thanks Etienne!

No problem. Our documentation is far from perfect. You can’t blame yourself for not finding this info.

2 Likes