-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
Clean up SVG figures #494
Comments
hi @maxim-belkin : I've cleaned up 1 file in this PR #537 -- let me know if you like the new format, and I can do the remaining images. |
Example SVG:
|
I wrote a Python program that can be used as the first step in cleaning up / optimizing SVG files: It can use svgcleaner, scour, and svgo. It also performs steps to clean up SVG figures generated with Matplotlib. |
Co-authored-by: Maxim Belkin <[email protected]>
Hi @maxim-belkin, I tried running your script and got the following results (attached below): Original repo size: 1665560 bytes (1.7 MB) I have rendered the lesson website locally and apparently all images are OK. Best, V
|
I was wondering why I was getting these errors from SVGO. Turns out the |
We have quite a few figures in our repository and they have to be easy to maintain. Therefore, we need to clean them up so that they:
Please feel free to submit PRs and reference this issue.
Each such PR should modify one figure only (not all at once).
The text was updated successfully, but these errors were encountered: