Quantcast

linestyle option for FancyArrowPatch and similar commands

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

linestyle option for FancyArrowPatch and similar commands

P Purkayastha
Hi all,

   I was wondering why there are inconsistent values for the 'linestyle'
option in matplotlib.backend_bases.GraphicsContextBase. The values
allowed are 'solid', 'dashed', 'dotted' and 'dashdot', aside from tuples.

Compare this with the options available for the usual pyplot.plot()
command, where the linestyles are '-', '--', '-.', ':', etc.

Is there a specific reason for the difference in the options? It doesn't
seem too hard to add the options '-', '--', etc to the
GraphicsContextBase class - one only needs to add these to a dict at

https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backend_bases.py#L671

   Regards,
       basu.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...