We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
histogram
when I run histogram([1,2,1,1,4,3,8], bins=0:8), I got the following error
histogram([1,2,1,1,4,3,8], bins=0:8)
ERROR: The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension. Stacktrace: [1] _make_hist(vs::Tuple{Vector{Float64}}, binning::UnitRange{Int64}; normed::Bool, weights::Nothing) @ Plots ~/.julia/packages/Plots/oZheM/src/recipes.jl:787 [2] macro expansion @ ~/.julia/packages/Plots/oZheM/src/recipes.jl:799 [inlined] [3] apply_recipe(plotattributes::AbstractDict{Symbol, Any}, #unused#::Type{Val{:barhist}}, x::Any, y::Any, z::Any) @ Plots ~/.julia/packages/RecipesBase/92zOw/src/RecipesBase.jl:282 [4] _process_seriesrecipe(plt::Any, plotattributes::Any) @ RecipesPipeline ~/.julia/packages/RecipesPipeline/uPBKQ/src/series_recipe.jl:50 [5] _process_seriesrecipe(plt::Any, plotattributes::Any) @ RecipesPipeline ~/.julia/packages/RecipesPipeline/uPBKQ/src/series_recipe.jl:60 [6] _process_seriesrecipes!(plt::Any, kw_list::Any) @ RecipesPipeline ~/.julia/packages/RecipesPipeline/uPBKQ/src/series_recipe.jl:27 [7] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any) @ RecipesPipeline ~/.julia/packages/RecipesPipeline/uPBKQ/src/RecipesPipeline.jl:97 [8] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any) @ Plots ~/.julia/packages/Plots/oZheM/src/plot.jl:172 [9] #plot#131 @ ~/.julia/packages/Plots/oZheM/src/plot.jl:58 [inlined] [10] histogram(args::Any; kw::Any) @ Plots ~/.julia/packages/RecipesBase/92zOw/src/RecipesBase.jl:403 [11] top-level scope @ REPL[28]:1
gr()
Plots.jl version: Plots v1.10.2 Backend version (]st -m): GR v0.53.0 Output of versioninfo():
Plots v1.10.2
]st -m
GR v0.53.0
versioninfo()
Julia Version 1.7.0-DEV.400 Commit 9de107a63a (2021-01-28 19:51 UTC) Platform Info: OS: macOS (x86_64-apple-darwin18.7.0) CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, haswell) Environment: JULIA_PKG_SERVER = https://mirrors.bfsu.edu.cn/julia/static JULIA_EDITOR = code
The text was updated successfully, but these errors were encountered:
Out of curiosity, what Julia version are you using? This looks similar to our test failures on nightly. However, I can't reproduce on 1.6-rc1.
Sorry, something went wrong.
@daschw, Yes, it is on nightly.
Cannot reproduce.
No branches or pull requests
Details
when I run
histogram([1,2,1,1,4,3,8], bins=0:8)
,I got the following error
Backends
gr()
Versions
Plots.jl version:
Plots v1.10.2
Backend version (
]st -m
):GR v0.53.0
Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: