-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improve __repr__ and Viewbox #117
Merged
Merged
Commits on Aug 13, 2021
-
1. Viewbox `init` now handles various forms of arguments so it can recreate from a repr: * "x y w h" * x=x etc. 2. Viewbox creates a correct better `repr`. 3. SVGImage adds missing attributes, puts the href (which is potentially huge) last and (I hope this is correct) puts the href attribute in quotations so that the end is easily parseable.
Configuration menu - View commit details
-
Copy full SHA for 57f52cf - Browse repository at this point
Copy the full SHA 57f52cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b3241e - Browse repository at this point
Copy the full SHA 9b3241eView commit details -
SVG attribute is preserveAspectRatio
Since `**kwargs` are often converted using attribute name, we need to use `preserveAspectRatio` everywhere instead of `preserve_aspect_ratio`. We also need to convert "none" to `None`.
Configuration menu - View commit details
-
Copy full SHA for 0e29472 - Browse repository at this point
Copy the full SHA 0e29472View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7ddac2 - Browse repository at this point
Copy the full SHA f7ddac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb8149 - Browse repository at this point
Copy the full SHA 9bb8149View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e2d7b - Browse repository at this point
Copy the full SHA b5e2d7bView commit details
Commits on Aug 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 997e09c - Browse repository at this point
Copy the full SHA 997e09cView commit details
Commits on Aug 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e1ef4f1 - Browse repository at this point
Copy the full SHA e1ef4f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df48b6 - Browse repository at this point
Copy the full SHA 6df48b6View commit details -
Remove image_width/height from repr
These are NOT part of the SVG 2.0 spec.
Configuration menu - View commit details
-
Copy full SHA for 9e595fa - Browse repository at this point
Copy the full SHA 9e595faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40cfbf5 - Browse repository at this point
Copy the full SHA 40cfbf5View commit details
Commits on Aug 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7d0defe - Browse repository at this point
Copy the full SHA 7d0defeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd62fd - Browse repository at this point
Copy the full SHA 1bd62fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13a9438 - Browse repository at this point
Copy the full SHA 13a9438View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ec0d65 - Browse repository at this point
Copy the full SHA 0ec0d65View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.