Skip to content

hexadecimal color definition with alpha #1651

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
Drumbits opened this issue Jul 2, 2019 · 2 comments
Closed

hexadecimal color definition with alpha #1651

Drumbits opened this issue Jul 2, 2019 · 2 comments
Labels
bug something broken

Comments

@Drumbits
Copy link

Drumbits commented Jul 2, 2019

Hi,

It seems plotly.py does not support hexadecimal color definition when it includes alpha.
This issue might be related to issue #1416, though the latter is declared as solved, while my issue is still valid with version 3.10.0. It appeared in version 3.0 (no issue with version 2.7)
A very simple offline notebook code to show the problem:

import plotly.graph_objs as go
import plotly.offline as po

po.init_notebook_mode(connected=True)
c = '#112233ff'
po.iplot([go.Scatter(x=[1, 2], y=[1, 1], line=dict(color=c))])

Without alpha, or with plotly 2.7.0, this code works.

@jonmmease jonmmease added enhancement bug something broken and removed enhancement labels Jul 3, 2019
@jonmmease
Copy link
Contributor

Thanks for the report @Drumbits

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

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

No branches or pull requests

3 participants