Skip to content

Logical image() argument names & defaults to make images look like images #524

@IanButterworth

Description

@IanButterworth

Related to JuliaPlots/AbstractPlotting.jl#98, #295 and #205

With the caveat of not being someone with familiarity of the inner workings.. here's my suggestion for image() functionality, to make images appear like I think most people would expect them to. I've aimed for logical keywords that I might try before looking at the docs...

Defaults for image():

  • transpose::Bool=true - Swaps the x & y axes. Happens before the options below
  • flipy::Bool=true - Prevents images looking upside down
  • flipx::Bool=false - A good option to have access to. i.e. front-facing cameras where flipx is common practice
  • squarepixels::Bool=true - The equivalent of scale_plot = false.
  • show_axis::Bool=false - I think most would expect image() to show without the axes & grid

@ssfrr @SimonDanisch

Metadata

Metadata

Assignees

No one assigned

    Labels

    MakieBackend independent issues (Makie core)planningFor discussion and planning development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions