Skip to content

Allow customization of axis in recipes #5361

@juliohm

Description

@juliohm

The recipe system allows the selection of axis based on types:

Makie.args_preferred_axis(obj::Object1) = Makie.Axis
Makie.args_preferred_axis(obj::Object2) = Makie.Axis3

Unfortunately, many default options in Axis and Axis3 do not meet expectations of users. It would be great if a new function Makie.args_preferred_axis_defaults was introduced to set the defaults within recipes. For example:

Makie.args_preferred_axis_defaults(obj::Object2) = (aspect=:data, viewmode=:free, perspectiveness=0.5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests and enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions