Skip to content

R Heatmap colorscale documentation broken #1241

Closed
@WizardTim

Description

@WizardTim

The Heatmaps in R page has an example for changing the colorscale that doesn't work.

p <- plot_ly(z = volcano, colorscale = "Greys", type = "heatmap")

This code regardless of what palette is chosen always renders the RdBu colorscale.
Greys is not grey

This code example should probably be changed to:
p <- plot_ly(z = volcano, colors = brewer.pal(7,"Greys"), type = "heatmap")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions