Skip to content

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

Merged
merged 7 commits into from
May 30, 2016

Conversation

tacaswell
Copy link
Member

@mdboom This is what I was talking about on the phone call.

@tacaswell tacaswell changed the title WIP WIP: errorbar color cycle clean up Dec 1, 2015
@tacaswell tacaswell added this to the unassigned milestone Dec 1, 2015
@mdboom
Copy link
Member

mdboom commented Dec 1, 2015

Great -- this definitely addresses part of #5584 in a better way. Should we also remove the use of Axes.plot in favor of Axes.line2d while we're in there?

Instead of using calls to `plt.plot`
@tacaswell tacaswell force-pushed the fix_errorbar_cycleing branch from ddde346 to c8a365a Compare May 13, 2016 02:32
@tacaswell tacaswell modified the milestones: 2.1 (next point release), unassigned May 13, 2016
tacaswell added 4 commits May 12, 2016 22:58
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
@tacaswell
Copy link
Member Author

The decision to consult the prop-cycle still needs to be fixed.

attn @WeatherGod

@tacaswell
Copy link
Member Author

and is this a 2.0 or 2.1 tagged issue?

@tacaswell tacaswell modified the milestones: 2.0 (style change major release), 2.1 (next point release) May 13, 2016
uplims = np.asarray(uplims, bool)
if plot_line:
l0 = mlines.Line2D(x, y, **plot_line_style)
self.add_line(l0)
Copy link
Member

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)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, will fix that.

@jenshnielsen
Copy link
Member

👍 @tacaswell Does this need more work ([WIP] in the title) of is it ready?

@tacaswell tacaswell changed the title WIP: errorbar color cycle clean up ENH: errorbar color cycle clean up May 25, 2016
'l0' (el-zero) looks too much like 10 (ten) to be used as a variable
name.
@tacaswell tacaswell force-pushed the fix_errorbar_cycleing branch from 751d108 to 2338e2e Compare May 28, 2016 20:18
@tacaswell
Copy link
Member Author

This should be ready to go.

@jenshnielsen jenshnielsen merged commit 597d2ef into matplotlib:master May 30, 2016
jenshnielsen added a commit to jenshnielsen/matplotlib that referenced this pull request May 30, 2016
@jenshnielsen
Copy link
Member

Back port to 2.x as acfab37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants