-
-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Labels
Description
A Python package I'm loading (via PythonCall) is somehow setting set_zero_subnormals(true)
. That's annoying, but I wasn't aware - but what made me aware was that this affected my plotting in Makie.
Specifically, it makes it so that x- or y-ticks marks set to 0 are not shown:
julia> set_zero_subnormals(true);
julia> using GLMakie
julia> faxp=plot(0.0:1.0:5.0, rand(6))
julia> faxp.axis.limits = (0.0, 5.0, 0.0, 1.0)
(0.0, 5.0, 0.0, 1.0)
Will result in a plot like this (not the missing x- and y-tick marks at zero):
The tickmarks do not appear even if we set x.ticks = ([0.0, 5.0], ["Start", "End"])
(similarly for the y-ticks).
You could reasonably argue that the real issue is that pyimport
in PythonCall sets set_zero_subnormals(true)
, but after discussion on Slack, I figured I'd file it as an issue anyway.