Hello, I couldn’t plot a histogram with 2 million points, so I downsized it. But even with 10 (ten) points, it doesn’t work. So, here is a MRE
the data
60
60
60
60
60
60
60
0
60
60
the code, I use a Pluto notebook
df2=CSV.read(“MAPQ.dist_sample”, DataFrame; header = false)
rename!(df2,[:MAPQ])
begin
CairoMakie.activate!(type = “svg”)
fig2 = Figure(pt_per_unit = 2)
ax2 = Axis(fig[1, 1], xlabel = “MAPQ”)
title2 = (“MAPQ of the hifi reads”)
hist!(ax2, df2.MAPQ,)
CairoMakie.save(“MAPG.svg”,fig)
fig2
end
Any idea of what can happen? Also, the computation time is consistently around 60 seconds. So either I found a bug (very unlikely) or my code is so bad it’s close to break reality.
I would appreciate any help.
Many thanks.