Skip to content

Conversation

@priyatharsan
Copy link
Contributor

@priyatharsan priyatharsan commented Aug 3, 2018

R tutorial for WebGL Heatmap created with ref to issue #740
@cldougl @bcdunbar

Copy link
Contributor

@bcdunbar bcdunbar left a comment

Choose a reason for hiding this comment

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

Looks good. I'd just define the colors a little more (see comment).


p <- plot_ly(
z = zdata,
colorscale = list(c(0,1),c("rgb(155,112,184)","rgb(128,100,64)")),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd probably make the colors pop a little more, something like you have but colorscale = list(c(0,0.5,1),c("blue", "white", "red"))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! @bcdunbar I have changed them to the suggested colorscale.

@bcdunbar
Copy link
Contributor

bcdunbar commented Aug 6, 2018

@priyatharsan Great 👍 lgtm 💃

@priyatharsan priyatharsan merged commit ac4e635 into source-design-merge Aug 6, 2018
@priyatharsan priyatharsan deleted the R-heatmap-webgl-doc-update branch August 6, 2018 21:45
@priyatharsan
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants