Skip to content

Fix 'no shared levels' warning #122

@matt-dray

Description

@matt-dray

Noticed in #120 that there was a warning message being printed to the console. This happens on main, so it must have been introduced by #107. Not sure how I didn't spot this before.

Warning: No shared levels found between `names(values)` of the manual scale and the data's colour values.
Warning: No shared levels found between `names(values)` of the manual scale and the data's alpha values.
Warning: No shared levels found between `names(values)` of the manual scale and the data's colour values.
Warning: No shared levels found between `names(values)` of the manual scale and the data's alpha values.

Happens after switching to a different geography. And then after every time switching back and forth.

Seems related to the rates and funnel plots.

Should investigate and fix, as maybe it's messing with data presentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: shouldMoSCoW priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions