Skip to content

BarPlot bars not appearing in facet plot using TimeType data #718

@jamesahoward

Description

@jamesahoward

Bars are missing in axes only containing a single bar when TimeType is used.

using Dates, DataFramesMeta, GLMakie, AlgebraOfGraphics

df = DataFrame(
    A = Date.([1, 2, 3, 1]),
    B = [1, 1, 1, 1],
    C = [1, 2, 3, 3]
)

spec = data(df) * mapping(:A, :B, row=:C) * visual(BarPlot)
draw(spec)

Image

Issue is not observed without facets.

spec = mapping(Date(1), 1) * visual(BarPlot)
draw(spec)
Image

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