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

ColorBrewer palettes not working in PlotlyJS v0.11.1 #225

Closed
sam81 opened this issue Sep 18, 2018 · 2 comments
Closed

ColorBrewer palettes not working in PlotlyJS v0.11.1 #225

sam81 opened this issue Sep 18, 2018 · 2 comments

Comments

@sam81
Copy link

sam81 commented Sep 18, 2018

up to PlotlyJS v0.10.2 I was able to use ColorBrewer palettes as in the code example below, but with PlotlyJS v0.11.1 all plotting symbols appear black:

using ColorBrewer, PlotlyJS
cls = palette("Set1", 3)
ln1 = scatter(;x=rand(10), y=rand(10), mode="markers", line_color=cls[1])
ln2 = scatter(;x=rand(10), y=rand(10), mode="markers", line_color=cls[2])
plot([ln1, ln2])
@sglyon
Copy link
Member

sglyon commented Sep 18, 2018

Thanks for reporting!

Fixed in sglyon/PlotlyBase.jl@477f861

@sam81
Copy link
Author

sam81 commented Sep 18, 2018

great thanks! Closing the issue since it's been fixed.

@sam81 sam81 closed this as completed Sep 18, 2018
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