New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yoffset of label not working? #3892
Comments
is there a work around for this? |
In stackoverflow there is another example for the bug |
If you switch the holoviews backend to plotly using hv.extension('plotly') then yoffset is working. |
Plotly backend has specific tests for xoffset and yoffset:
I couldn't find those for bokeh or matplotlib: https://github.com/holoviz/holoviews/blob/master/holoviews/tests/plotting/bokeh/testlabels.py |
Hi, this feature could reduce a lot of trouble. Is there any update on this? |
Confirming that this bug is still present in the latest holoviews/bokeh. |
confirming that this bug is still present in HoloViews 1.17 |
the following:
hv.Labels({('x', 'y') : [['a',1], ['b',2]], 'text':['a', 'b']}, ['x','y'], 'text')*hv.Scatter([('a',1), ('b', 2)]).opts(padding=0.1)
it will plot the following:
but if i try add a yoffset to move the labels above the scatter point:
hv.Labels({('x', 'y') : [['a',1], ['b',2]], 'text':['a', 'b']}, ['x','y'], 'text').opts(yoffset=0.2)*hv.Scatter([('a',1), ('b', 2)]).opts(padding=0.1)
i do not get any output in Jupiter notebook. the following errors in:
is there any way to manipulate the yoffset above the points for categorical plots?
The text was updated successfully, but these errors were encountered: