Casey Duckering
Casey Duckering
This is caused by a sympy bug where `a+1 == a+1.0` but `hash(a+1) != hash(a+1.0)` (https://github.com/sympy/sympy/issues/11707).
This function could possibly be used to canonicalize expressions before using them: ``` def canonical_expression(val): """Convert all constants in a sympy expression to float or complex. If not an expression,...
Once a file is commited pytest-changed-files works as expected.
They can inherit from ControlledGate and still override default_decompose() later.
Fonts are not well supported in SVG in general but you can depending on your use case. If you plan to view and print the SVG from Firefox or Chrome...
Thanks for reporting this issue with how text is displayed. Unfortunately, the `dominant-baseline` attribute might be poorly supported by Inkscape ([related bug](https://bugs.launchpad.net/inkscape/+bug/811862), [discussion](https://stackoverflow.com/questions/38738223/inkscape-svg-dominant-baseline-property-not-interpreted)). Drawsvg is generating the requested SVG but...
Please do. Your issue really exemplified this.
Hi @tristanryerparke. There is currently no built in way to reduce the precision of numbers in the generated SVG other than rounding them yourself. For example: `path.M(round(x, 2), round(y, 2))`....
Thanks for the report. That definitely looks like a bug. My guess is that the SVG generation code (the part that replaces multiple uses of an element with a single...