-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ENH: errorbar color cycle clean up #5593
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
ENH: errorbar color cycle clean up #5593
Conversation
Great -- this definitely addresses part of #5584 in a better way. Should we also remove the use of |
e538f5b
to
3e53330
Compare
Instead of using calls to `plt.plot`
ddde346
to
c8a365a
Compare
Need 3 internal style dictionaries: - eb_lines_style : used for the line collections - eb_cap_style : base style to be used for the bar 'caps' - plot_line_style : used from the 'main' line
The decision to consult the prop-cycle still needs to be fixed. attn @WeatherGod |
and is this a 2.0 or 2.1 tagged issue? |
uplims = np.asarray(uplims, bool) | ||
if plot_line: | ||
l0 = mlines.Line2D(x, y, **plot_line_style) | ||
self.add_line(l0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick this variable name looks a bit to close to 10
I first read the line as self.add_line(10)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, will fix that.
👍 @tacaswell Does this need more work ([WIP] in the title) of is it ready? |
'l0' (el-zero) looks too much like 10 (ten) to be used as a variable name.
751d108
to
2338e2e
Compare
This should be ready to go. |
ENH: errorbar color cycle clean up
Back port to 2.x as acfab37 |
@mdboom This is what I was talking about on the phone call.