Skip to content
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

Svg backend cannot draw annular_wedge correctly [BUG] #9213

ruoyu0088 opened this issue Sep 5, 2019 · 2 comments · Fixed by #10402

Svg backend cannot draw annular_wedge correctly [BUG] #9213

ruoyu0088 opened this issue Sep 5, 2019 · 2 comments · Fixed by #10402


Copy link

Here is the code:

from bokeh.plotting import figure, show

p = figure(plot_width=400, plot_height=400, output_backend="svg")
p.annular_wedge(x=[1, 2, 3], y=[1, 2, 3], inner_radius=0.1, outer_radius=0.25,
                start_angle=0.4, end_angle=4.8, color="green", alpha=0.6)


and the output:


Copy link

bryevdv commented Sep 5, 2019

Confirmed this on master. @ruoyu0088 please always provide the requested version information.

Unfortunately, Bokeh relies on a third party library for Canvas<->SVG conversion, and this bug is almost certainly in that library. It's possible that there is simply a new version we can update to that fixes the problem, but AFAIK it is not under heavy development, so I am not to hopeful of that. Just to set expectations: if we have to fix things ourselves on our fork of the library, it will probably not be done anytime soon.

Copy link

mattpap commented Sep 6, 2019

(...) but AFAIK it is not under heavy development (...)

canvas2svg isn't maintained anymore, so we shouldn't expect any bug fixes like that happen on its own. I think we will have to look into alternatives in the long term.

@mattpap mattpap mentioned this issue Aug 16, 2020
8 tasks
@mattpap mattpap modified the milestones: short-term, 2.3, 2.2 Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

3 participants