Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Use data labels for axis labels by default #108

@sethaxen

Description

@sethaxen

When using Data and passing property names, it would be convenient if StatsMakie defaulted to using those property names for the corresponding axis labels if the user has not already set the axis labels. Here's an example:

using Makie, StatsMakie, RDatasets
mtcars = RDatasets.dataset("datasets", "mtcars")
p = violin(Data(mtcars), :VS, :MPG)

What we get:
test1

What I would like to get:
test2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions