why permutedims?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- julia
- Domain
- data-visualization
Research direction
Start at src/bivariate.jl line 21 and reproduce the Julia example using KernelDensity and Plots. Compare the density matrix orientation with the x and y coordinates, then determine the intended convention and make the result consistent with direct plotting or clearly document the required transformation.】【。} ڪا? Wait malformed extra? Need valid JSON and no weird. Ensure final exact.arlutik 天天中彩票中.
Written by the indexing model from the issue text.
Description
Why do we carry this permutedims? This requires that StatsPlots explicitly perform the inverse transformation to plot a kde correctly, and it makes Plots default functions to plot the kde incorrectly with the most simple interpretation of the result:
julia> using Plots, KernelDensity
julia> x = vcat(randn(1000), 10 .+ randn(1000));
julia> y = randn(2000);
julia> d = kde((x,y));
julia> heatmap(d.x, d.y, d.density)
julia> scatter!(Tuple.(zip(x,y))
produces:
for the records,
julia> heatmap(d.x, d.y, permutedims(d.density))
will produce the correct plot.
- Dominant language
- Julia
- Stars
- 213
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaStats/KernelDensity.jl
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
JuliaStats/KernelDensity.jl#139 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
JuliaStats/KernelDensity.jl#129 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
JuliaStats/KernelDensity.jl#128 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaStats/KernelDensity.jl#126 · 7 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
JuliaStats/KernelDensity.jl#125 · 5 comments ·
All issues in JuliaStats/KernelDensity.jl
Similar issues
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
path: splitext treats directory references and leading dots as extensionsPossibly taken @Hiten0305l claimed this today. Open
Difficulty 2/5 Half a day Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
JuliaRegistries/RegistryCI.jl#758 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day