Skip to content

ENH: Update the color spec parser to accept RGBA hex string values #5137

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

Closed
Jul3k opened this issue Sep 24, 2015 · 1 comment
Closed

ENH: Update the color spec parser to accept RGBA hex string values #5137

Jul3k opened this issue Sep 24, 2015 · 1 comment

Comments

@Jul3k
Copy link

Jul3k commented Sep 24, 2015

Currently the color spec parser does only check for RGB hex string color values in the form of #FFFFFF. If the user wants to pass RGBA values the color must be presented as a 4-tuple. For better user accesibility the parser could also accept color values in RGBA hex string format #FFFFFFAA directly, makeing the following code possible:

plt.rcParams['axes.color_cycle'][0] = "#FFFFFFAA"
@efiring
Copy link
Member

efiring commented May 23, 2019

I think this is closed by #6382.

@efiring efiring closed this as completed May 23, 2019
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

No branches or pull requests

2 participants