-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
cannot set default drawstyle (to 'steps-post') #12582
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
Comments
attn @anntzer Did we change this intentionally? |
That's been the case since #8040 (2.1.0) and I don't have anything to do with that :) |
Ah, I miss read the version @tsdlovell was starting with (sorry!) I must have remembered seeing #12442 . |
#11797 concerns the linestyle. In addition I mentionned in #12493 about adding
I wasn't aware that |
Yes, we would also appreciate a |
I'm not even sure, that should be a rc parameter. Steps is not a style but a fundamental change to the meaning of lines. For your purposes, is it an option to use step() for plotting? That makes the intention more explicit. |
Yes, you do have a point, but it would be quite useful in practice. |
Based on the discussion above and the lack of activity for years, I am going to claim that not supporting drawstyles in lines.linestyle is intentional (I still don't think it should be supported). If someone wants to put up a PR for adding lines.drawstyle this could be discussed with the PR. |
Bug report
Bug summary
Cannot set drawstyle default to 'steps-post' in 3.0.0
In 2.0.2 I could set the default drawstyle by settings rcParams['lines.linestyle']. In 3.0.0, it barfs.
Is there a different way to set this? I don't see any rcParams keys that reference drawstyle or look like they could be impacting drawstyle
Code for reproduction
In 3.0.0, this happens
The text was updated successfully, but these errors were encountered: