JuliaPlots / StatsPlots.jl

Statistical plotting recipes for Plots.jl
Other
437 stars 88 forks source link

The density of marginalscatter is not working properly #476

Open diegozea opened 2 years ago

diegozea commented 2 years ago

Hi! The top density plot of the marginalscatter is incomplete as we can see in the following figure:

image

It works fine in marginalhist.

I'm using Pluto and

RDatasets v0.7.6
StatsPlots v0.14.30

Code:

begin
    using RDatasets, StatsPlots 
    iris = dataset("datasets", "iris") 
end

@df iris marginalscatter(:PetalLength, :PetalWidth, density=true)

@df iris marginalhist(:PetalLength, :PetalWidth, density=true)