Skip to content
New issue

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

group and error bars not working together anymore #194

Closed
JianghuiDu opened this issue May 7, 2020 · 0 comments
Closed

group and error bars not working together anymore #194

JianghuiDu opened this issue May 7, 2020 · 0 comments

Comments

@JianghuiDu
Copy link

JianghuiDu commented May 7, 2020

xs = collect(1:100)
μs = log.(xs)
σs = rand(length(xs))
scatter(xs,μs,grid=false,yerror=(σs,σs),group=xs)

This code works perfect fine before I update (can't remember which version was using). Now it keeps reporting

MethodError: no method matching split_attribute(::Symbol, ::Array{Float64,1}, ::Array{Int64,1})
Closest candidates are:
  split_attribute(::Any, ::Any, ::AbstractArray, !Matched::Any) at C:\Users\JD\.julia\packages\RecipesPipeline\2pkja\src\api.jl:34
  split_attribute(::Any, ::Any, !Matched::Tuple, !Matched::Any) at C:\Users\JD\.julia\packages\RecipesPipeline\2pkja\src\api.jl:36
  split_attribute(!Matched::Plots.Plot, ::Any, !Matched::Plots.SeriesAnnotations, !Matched::Any) at C:\Users\JD\.julia\packages\Plots\V8QVi\src\pipeline.jl:52

However, it works if not using group

scatter(xs,μs,grid=false,yerror=(σs,σs))

or if only use one vector for error bar

scatter(xs,μs,grid=false,yerror=σs,group=xs)

Problems with the new version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant