perf: Reduce SVG export size by more than half by reducing precision to 2 decimal places (#3567)

* render svg with a specified precision

* moved precision to a constant

* fix test case  to use rounded values
This commit is contained in:
Preet 2021-05-11 19:35:35 -07:00 committed by GitHub
parent 8068d1f853
commit 07839f8d20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 11 deletions

File diff suppressed because one or more lines are too long