[Matplotlib-devel] Generalize BoxStyle?

Benjamin Root ben.v.root at gmail.com
Fri Oct 16 12:19:28 EDT 2015


Looking into the recent "how to make a toothed curve" question, I started
to wonder if the BoxStyle stuff could be refactored into something composed
of draw style mutators, and at the same time rework the current draw style
implementation? This way, one can easily create fancy lines or boxes, all
using the same code and what-ever options are available for boxes are also
available for lines.

Does anyone see a roadblock/pitfall with this idea?

(note, I am aware that this wouldn't solve the original poster's question
because the sawtooth wouldn't be filled in, but it would be neat to have
anyway).

Cheers!
Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20151016/5d29dd69/attachment.html>


More information about the Matplotlib-devel mailing list