Skip to content

Commit

Permalink
fix for missed renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
tlnagy committed Jun 3, 2018
1 parent 978bc4a commit 084bb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ function apply_statistic(stat::DensityStatistic,

# if the densities are stacked then we'll need to clamp them so that they
# share the same evaluation points (e.g. x values)
(stat.position != :dodge) && (boundary = extrema(getfield(aes, densityvar)))
(stat.position != :dodge) && (boundary = extrema(getfield(aes, output_dims[2])))

for (idx, (keys, belongs)) in enumerate(grouped_data)
input = getfield(aes, output_dims[2])[belongs]
Expand Down

0 comments on commit 084bb29

Please sign in to comment.