Skip to content

Generated violin plots sometimes cannot be rendered inline in GitHub #349

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

Open
mpage opened this issue Jan 23, 2025 · 1 comment
Open

Generated violin plots sometimes cannot be rendered inline in GitHub #349

mpage opened this issue Jan 23, 2025 · 1 comment

Comments

@mpage
Copy link
Collaborator

mpage commented Jan 23, 2025

I think this might be an issue with how GitHub renders SVGs, but occasionally the SVGs generated for violin plots won't render, and instead an error message is displayed saying "Error rendering embedded code: Invalid image source".

This SVG is one such example. I suspect it's an issue with GitHub, because the raw SVG renders fine for me.

I'm using Chrome on a Mac, in case it matters.

@mdboom
Copy link
Contributor

mdboom commented Feb 5, 2025

Yeah, I'm not sure what the cause is -- maybe GitHub just has a maximum file size or something to prevent DoS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants