Rotating and jittering labels

I’m trying to use the holoviews “Labels” type to label some Spikes and would like to rotate the label text. I found a matching stack overflow question ( but setting the xrotation option for the Labels type doesn’t have any effect. Is there a way to do it?

Also, is there any magic way to “jitter” labels so they don’t cover each other up? I’m aware of the x and y offset values, but as those values are fixed, point plot labels end up covering each other slightly offset from the points instead of on top of the points. Using the fixed offset is also very zoom un-friendly. I’m guessing it’s not supported right now, but I thought I’d ask.

1 Like