Skip to content

Expand guide_colourbar() tick options #1994

Closed
@wpetry

Description

@wpetry

Enable 'tick' argument to take additional arguments to control colour and size as in element_line(). For example, the default tick color is incompatible with colour bars containing light greys:

data("faithfuld")
ggplot(faithfuld, aes(waiting, eruptions)) +
       geom_raster(aes(fill = density)) +
       scale_fill_gradient(low = "white", high = "grey70")

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions