meerk40t / svgelements

SVG Parsing for Elements, Paths, and other SVG Objects.
MIT License
139 stars 29 forks source link

Softening numpy requirement #73

Closed tatarize closed 3 years ago

tatarize commented 3 years ago

In the header requires all users to import rather than just those calling npoint features.

Corrects #72 See: meerk40t/meerk40t#270

@abey79 I've not actually checked the on the fly import checking for speed so if this gives you a performance hit you might want to make arrangements you feel are appropriate.

abey79 commented 3 years ago

I'm not expecting a performance hit. Only the first ever import should do the heavy lifting of actual module import. It should stay "imported" in the interpreter instance afterwards. Further import just bring the module back in the local namespace.