[Matplotlib-devel] Ticked stroke implementation

Rob McDonald rob.a.mcdonald at gmail.com
Tue Oct 1 22:57:29 EDT 2019


I went ahead and integrated my TickedStroke into patheffects.py and pushed
it up as:

https://github.com/ramcdona/matplotlib/tree/TickedStroke

Unfortunately, I still am not set up with a proper local MatPlotLib dev
environment, so I haven't integrated a test in test_patheffects.py.
However, the attached test (though ugly) should demonstrate how this works.

Since my last message, I've integrated it into matplotlib and also changed
the dependence on scipy's 1d interpolation to numpy's interp -- this is
used in another part of matplotlib, so the dependence should be OK.  Before
submitting a PR, I would squash these changes down to avoid the dependence
during bisection.

I'd appreciate any comments, feedback, and review -- it probably isn't PR
ready yet, so let me know what you think.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20191001/3def5723/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_tickedstroke.py
Type: text/x-python-script
Size: 1410 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20191001/3def5723/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tick_plots.pdf
Type: application/pdf
Size: 25325 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20191001/3def5723/attachment-0001.pdf>


More information about the Matplotlib-devel mailing list