Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Colors tests #539

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 8 commits into from
Aug 15, 2016
Merged

Colors tests #539

merged 8 commits into from
Aug 15, 2016

Conversation

Kully
Copy link
Contributor

@Kully Kully commented Aug 11, 2016

@theengineear

All tests are passing locally. The plan is to slowly replace the code in tools by the methods in colors. A renaming of some of the preexisting methods in colors.py will also be in order, but only after the code in tools is replaced first.

- rgb string, hex string or tuple

"""
from numbers import Number
Copy link
Contributor

Choose a reason for hiding this comment

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

🐄 imports go at the top of the module.

'width': 800
}
'data': [{'facecolor': np.array(
[b'rgb(145.0, 96.0, 143.0)',
Copy link
Contributor

Choose a reason for hiding this comment

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

@Kully remove the b's from here and the dtype='|S23'. You're just being overly-strict in this test. Python 2 and 3 treat str differently and will create a byte or unicode string, respectively.

@theengineear
Copy link
Contributor

💃 !

@Kully Kully merged commit 06a46fa into master Aug 15, 2016
@Kully Kully deleted the colors-tests branch August 15, 2016 19:29
@Kully Kully restored the colors-tests branch August 15, 2016 21:48
@cldougl cldougl deleted the colors-tests branch March 24, 2017 15:07
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.

2 participants