-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contour limits changed from 0.19.9
to 0.19.10
#3259
Comments
There is still a Makie.jl/src/basic_recipes/contours.jl Lines 326 to 333 in 2b8b8a1
Or is that only 3d? |
Yea, calling that reports the old results: julia> Rect2f(Makie.point_iterator(c))
GeometryBasics.HyperRectangle{2, Float32}(Float32[-3.858967, -3.973673], Float32[7.2212353, 8.19762]) which should be the limits of the raw data input, rather than the generated lines. I would say the new limits are better and we should just keep them. (Though they are probably a bit more expensive because there are probably more points in the lines than the input?) |
Yes I think they're better, too. Ok then I understand where the difference comes from. Still a bit weird that the result is different depending on whether a plot is nested or not, but maybe |
The old path was The new path is I think this is one of those cases that could use some stronger definitions. What do we mean with |
0.19.9
to 0.19.10
This has been reverted in 0.21 for better or worse... |
Closing this as fixed |
@ffreyer I don't quite understand it yet but assume it's connected with #3227
MWE:
In 0.19.9, this contour plot has quite a lot of white space around it. Interestingly, the two different
data_limits
calls I@show
have different return values. The latter is tighter. But I have already deleted thetext
child plot here which was introduced a while ago when labels were added.This is the output image:
When I define this method and don't delete the
text
plotI get this output plot:
Which corresponds to the tighter limits.
On 0.19.10 I get this output
Maybe the new behavior is just a bug fix, and it seems so from the look of it because the limits are tighter around the actually visible lines. But I still want to understand why the old one had a different result, even when excluding the
text
.The text was updated successfully, but these errors were encountered: