#12852: dashed arrows have arrowheads that are not solid
---------------------------------------------------------------+------------
Reporter: jason | Owner:
jason, was
Type: enhancement | Status:
positive_review
Priority: major | Milestone:
sage-5.11
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Michael Orlitzky, Karl-Dieter Crisman, Jason Grout
Authors: Jae-Joon Lee, Jason Grout, Michael Orlitzky | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------------------+------------
Changes (by kcrisman):
* status: needs_work => positive_review
* work_issues: rebase =>
Old description:
> Right now, if you have a dashed arrow, the arrowhead is also drawn with a
> dashed linestyle, which really looks bad. Compare before and after for
> `arrow((0,0), (1,1), linestyle='dashed')`.
>
> This code works around a design issue in matplotlib. Currently, the
> specified linestyle is used to draw both the path and the arrowhead. If
> linestyle is 'dashed', this looks really odd. This code is from Jae-Joon
> Lee in response to a post to the matplotlib mailing list. See
> http://sourceforge.net/mailarchive/forum.php?thread_name=CAG%3DuJ
> %2Bnw2dE05P9TOXTz_zp-
> mGP3cY801vMH7yt6vgP9_WzU8w%40mail.gmail.com&forum_name=matplotlib-users
New description:
Right now, if you have a dashed arrow, the arrowhead is also drawn with a
dashed linestyle, which really looks bad. Compare before and after for
`arrow((0,0), (1,1), linestyle='dashed')`.
This code works around a design issue in matplotlib. Currently, the
specified linestyle is used to draw both the path and the arrowhead. If
linestyle is 'dashed', this looks really odd. This code is from Jae-Joon
Lee in response to a post to the matplotlib mailing list. See
http://sourceforge.net/mailarchive/forum.php?thread_name=CAG%3DuJ
%2Bnw2dE05P9TOXTz_zp-
mGP3cY801vMH7yt6vgP9_WzU8w%40mail.gmail.com&forum_name=matplotlib-users
----
Apply [attachment:trac_12852-dashedarrows.patch] and
[attachment:trac_12852-review-rebase.patch].
--
Comment:
Patchbot, apply trac_12852-dashedarrows.patch and trac_12852-review-
rebase.patch
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12852#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.