Casey Duckering

Results 64 comments of Casey Duckering

> Note: SVG 2 removed the need for the xlink namespace, so instead of xlink:href you should use href. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href drawSvg primarily supports SVG 1.1 and I believe CairoSVG (used...

Leaving this open until I add an example to the documentation.

This looks great. I think it would be a nice addition to drawSvg. My suggestion would be to make code like this work: ```python with draw.animate_video('example6.gif', draw_frame, duration=0.05, gif_transparency=True, gif_alpha_threshold=128...

No problem. Your code example should be a good starting point if anyone else wants to contribute.

Thanks for reporting the issue. I can't reproduce the issue you are seeing. Do any of the other examples work? Can you try in a fresh python virtual environment? You...

Thanks. I can reproduce it now. The issue is with JupyterLab (I was trying to reproduce in Jupyter Notebook). drawSvg has only been tested in Jupyter Notebook (although I assumed...

Also, the hyperlink example isn't working because JupyterLab embeds the SVG in the page as an image instead of directly in the HTML.

I have not had time to look into this issue yet. If you make progress, please reply here with what you find.

This would be great to add. Would you like to implement support for the pattern tag? The pull request would be similar to https://github.com/cduck/drawSvg/pull/13.

I agree this is an issue. However, I think a subtle problem with your solution of `seed=np.random.RandomState()` will cause the simulator in each process to get the same sequence of...