Skip to content
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

Minor tab colour fix #7847

Merged
merged 3 commits into from Jan 16, 2017
Merged

Minor tab colour fix #7847

merged 3 commits into from Jan 16, 2017

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Jan 16, 2017

Just a minor correction to the prefix in one last location. Also remove a redundant OrderedDict.

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Jan 16, 2017
@@ -260,7 +260,7 @@ def to_hex(c, keep_alpha=False):
### Backwards-compatible color-conversion API

cnames = CSS4_COLORS
COLOR_NAMES = {'xkcd': XKCD_COLORS, 'css4': CSS4_COLORS, 'tc': TABLEAU_COLORS}
COLOR_NAMES = {'xkcd': XKCD_COLORS, 'css4': CSS4_COLORS, 'tab': TABLEAU_COLORS}
Copy link
Member

Choose a reason for hiding this comment

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

This isn't used internally anymore and is not in any non-rc release. Do we just want to remove it?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you're right; what was this for, anyway?

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like it was removed in #6382, but left for backwards-compatibility. Should we just remove tab here?

Copy link
Member

Choose a reason for hiding this comment

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

but it went in from #5775

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 for removing it if we can (but you probably could guess my vote).

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I see, I didn't look back far enough.

This dictionary was added in matplotlib#5775 sha: 9655f45 (and not yet released)
and was removed from internal use by matplotlib#6382 sha: (master) 22a7b95 / (2.x
backport) 3281bcd
@tacaswell
Copy link
Member

@QuLogic I took the liberty of just removing it.

@NelleV NelleV changed the title Minor tab colour fix [MRG+2] Minor tab colour fix Jan 16, 2017
@tacaswell tacaswell merged commit f63ae7a into matplotlib:v2.x Jan 16, 2017
@QuLogic QuLogic deleted the tab-colours branch January 16, 2017 23:45
@QuLogic QuLogic changed the title [MRG+2] Minor tab colour fix Minor tab colour fix Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants