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

ERROR: LoadError: MethodError: no method matching sizehint!(::RecipesPipeline.DefaultsDict, ::Int64) #4144

Closed
truedichotomy opened this issue Mar 20, 2022 · 0 comments
Labels

Comments

@truedichotomy
Copy link

Details

I was just testing Plots.jl on Julia master on macOS Apple Silicon machine and encountered the following error. Not sure if this is a Plots.jl issue or a OrderedCollections.jl issue.

ERROR: LoadError: MethodError: no method matching sizehint!(::RecipesPipeline.DefaultsDict, ::Int64)
Closest candidates are:
  sizehint!(::DataStructures.BinaryHeap, ::Integer) at ~/.julia/packages/DataStructures/vSp4s/src/heaps/binary_heap.jl:114
  sizehint!(::OrderedCollections.OrderedSet, ::Integer) at ~/.julia/packages/OrderedCollections/PRayh/src/ordered_set.jl:21
  sizehint!(::SparseArrays.SparseVector, ::Integer) at ~/GitHub/julia/usr/share/julia/stdlib/v1.9/SparseArrays/src/sparsevector.jl:89
  ...
Stacktrace:
 [1] merge!(d::RecipesPipeline.DefaultsDict, others::Dict{Symbol, Any})
   @ Base ./abstractdict.jl:220
 [2] plot!(::Plots.Plot, ::Plots.Plot, ::Plots.Plot, ::Vararg{Plots.Plot}; kw::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
   @ Plots ~/.julia/packages/Plots/8K4be/src/plot.jl:159
 [3] plot(::Plots.Plot{Plots.PlotlyBackend}, ::Plots.Plot{Plots.PlotlyBackend}, ::Plots.Plot{Plots.PlotlyBackend}, ::Vararg{Plots.Plot{Plots.PlotlyBackend}}; kw::Base.Pairs{Symbol, Any, NTuple{5, Symbol}, NamedTuple{(:layout, :xrotation, :size, :xticks, :legend), Tuple{Matrix{Any}, Int64, Tuple{Int64, Int64}, Vector{Date}, Bool}}})
   @ Plots ~/.julia/packages/Plots/8K4be/src/plot.jl:96
 [4] top-level scope
   @ ~/GitHub/covid19/plot_covid19.jl:382
 [5] include
   @ ./client.jl:476 [inlined]
 [6] top-level scope
   @ ./timing.jl:242
 [7] include(fname::String)
   @ Base.MainInclude ./client.jl:476
 [8] top-level scope
   @ REPL[10]:1

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot x
plotlyjs x
pgfplotsx x
unicodeplots x
inspectdr x
gaston x
plotly x

Versions

package versions:

  [f0f68f2c] PlotlyJS v0.18.8
  [91a5bcdd] Plots v1.27.1

Output of versioninfo():

Julia Version 1.9.0-DEV.218
Commit 1b686b2633 (2022-03-19 09:28 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants