-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
bar plot multi_level=False issues with Bokeh backend in Safari #5672
Labels
Comments
Can you share a minimal, reproducible example (MRE)? I would like to fiddle around with the settings myself. |
hoxbro
added
type: bug
Something isn't correct or isn't working
tag: backend: bokeh
labels
Apr 11, 2023
Looks broken in 3.1.1 looking at your screenshot above. |
See also #5726 |
I was mainly talking about the missing font, but yes, the bar is broken in 3.1.1. |
Merged
I finally understood the problem... I have opened a PR with your suggested fix. Thank you for your patience. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting
multi_level=False
for a bar plot setsmajor_label_text_font_size
=0pt
(see https://github.com/holoviz/holoviews/blob/main/holoviews/plotting/bokeh/chart.py#L802). This does not work well in Safari which simply ignores "too small" fonts, leading to displayed, overlapping labels (see screenshot below).As an alternative one could set
major_label_text_alpha
to 0,major_label_text_line_height
to 0 andmajor_label_text_font_size
to1px
to hide the labels:Possibly there could also be a nicer solution, avoiding these hacks to hide the labels altogether, using
major_label_overrides
or a custom ticker?The text was updated successfully, but these errors were encountered: