-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use traditional linestyle shortcuts #4241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
'-'=solid, '--'=dashed, ':'=dotted, '-.'=dashdot. The conversion is done on the fly, no other changes needed in the code.
What is the motivation for this? The graphics context is a very internal thing so we can be very picky about it's input. |
Isn't there already a PR trying to solve this, and it got mired down in On Wed, Mar 18, 2015 at 9:01 AM, Thomas A Caswell notifications@github.com
|
Btw, consistency is the motivation for this. I opened issue #2136 a while On Wed, Mar 18, 2015 at 9:21 AM, Benjamin Root ben.root@ou.edu wrote:
|
@WeatherGod The other PR is taking care of this validation/consistency at the |
I agree with that. I just wanted to make sure that we choose this PR for On Wed, Mar 18, 2015 at 9:32 AM, Thomas A Caswell notifications@github.com
|
err.. not choose On Wed, Mar 18, 2015 at 9:40 AM, Benjamin Root ben.v.root@gmail.com wrote:
|
I think the other PR is very close. It needs a final review but I have not On Wed, Mar 18, 2015 at 9:41 AM Benjamin Root notifications@github.com
|
Sorry for not having seen the other PR, which is indeed way more complete (including user-level documentation). Yet I don't understand comment "get an exception at artist creation time, not at draw time". As for now, an invalid linestyle is intercepted in |
Right. The point is that if an exception is thrown at draw time, the user On Wed, Mar 18, 2015 at 9:55 AM, Yannick Copin notifications@github.com
|
iirc, one of the things that #3772 does is to push the exceptions up to creation time. |
I think this is superceded by #3772 which has now been merged. If not, please reopen it. In any case, thank you for the contribution. |
'-'=solid, '--'=dashed, ':'=dotted, '-.'=dashdot. The conversion is done on the fly, no other changes needed in the code.