Skip to content

Warnings about bargroupgap #1956

Open
Open
@chschan

Description

@chschan

Getting warnings "'layout' objects don't have these attributes: 'bargroupgap'" (which is listed here: https://plotly.com/r/reference/#layout-bargroupgap). Apart from the warnings, the chart looks fine but it would be nice to not have spurious warnings

pp <- plot_ly()
pp <- add_trace(pp, x=1:10, y=1:10, type = "bar", name = "A")
pp <- add_trace(pp, x=1:10, y=15-(1:10), type = "bar", name = "B")
pp <- layout(pp, bargap = 0.2, bargroupgap=0.05)
pp

Metadata

Metadata

Assignees

No one assigned

    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