MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.42k stars 313 forks source link

What happened to limits keyword in `image`? #4580

Open dlfivefifty opened 1 week ago

dlfivefifty commented 1 week ago

There seems to no longer be a keyword named limits for specifying the bounding box of an image. How would one do this now?

I'm trying to update ComplexPhasePortrait.jl which uses this:

https://github.com/JuliaHolomorphic/ComplexPhasePortrait.jl/blob/master/ext/ComplexPhasePortraitMakieExt.jl

SimonDanisch commented 1 week ago

Image never had a limits argument as far as I know... My theory is that this was never working and simply got ignored and now we check for invalid keyword arguments

dlfivefifty commented 1 week ago

Hmm it's possible you are right... but then how do you specify the bounding box for an image? In ComplexPhasePortrait.jl I want to plot a function on top of an image and have the axes be consistent

SimonDanisch commented 1 week ago

You mean the size of the image? It should be the x and y arguments: image((0, 1), (-5, 5), image_data).