You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error and warning when try to display a plot constructed using scatter as follows:
pyplot()
p1=scatter(abs.(wf).^2)
display(p1)
The error and warning about outdated matplotlib (I performed the exact instructions it suggested but it didnt change anything; I also rebuilt Plots after performing the said instructions)
┌ Warning: You are using Matplotlib 2.2.3, which is no longer
│ officialy supported by the Plots community. To ensure smooth Plots.jl
│ integration update your Matplotlib library to a version >= 3.4.0
│
│ If you have used Conda.jl to install PyPlot (default installation),
│ upgrade your matplotlib via Conda.jl and rebuild the PyPlot.
│
│ If you are not sure, here are the default instructions:
│
│ In Julia REPL:
│ ```
│ import Pkg;
│ Pkg.add("Conda")
│ import Conda
│ Conda.update()
│ Pkg.build("PyPlot")
│ ```
│
└ @ Plots ~/.julia/packages/Plots/LSKOd/src/backends/pyplot.jl:29
ERROR: LoadError: MethodError: no method matching getproperty(::Dict{Any, Any}, ::String)
Closest candidates are:
getproperty(::PyPlot.LazyPyModule, ::AbstractString) at /home/ron/.julia/packages/PyPlot/XaELc/src/plot3d.jl:16
getproperty(::PyCall.PyObject, ::AbstractString) at /home/ron/.julia/packages/PyCall/3fwVL/src/PyCall.jl:311
getproperty(::PyPlot.Figure, ::AbstractString) at /home/ron/.julia/packages/PyPlot/XaELc/src/PyPlot.jl:66
...
Stacktrace:
[1] _before_layout_calcs(plt::Plots.Plot{Plots.PyPlotBackend})
@ Plots ~/.julia/packages/Plots/LSKOd/src/backends/pyplot.jl:1209
[2] prepare_output(plt::Plots.Plot{Plots.PyPlotBackend})
@ Plots ~/.julia/packages/Plots/LSKOd/src/plot.jl:217
[3] display(#unused#::Plots.PlotsDisplay, plt::Plots.Plot{Plots.PyPlotBackend})
@ Plots ~/.julia/packages/Plots/LSKOd/src/output.jl:147
[4] display(x::Any)
@ Base.Multimedia ./multimedia.jl:328
[5] #76
@ ~/.vscode/extensions/julialang.language-julia-1.4.3/scripts/packages/VSCodeServer/src/display.jl:156 [inlined]
[6] with_no_default_display(f::VSCodeServer.var"#76#77"{Plots.Plot{Plots.PyPlotBackend}})
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.4.3/scripts/packages/VSCodeServer/src/display.jl:34
[7] display(d::VSCodeServer.InlineDisplay, x::Plots.Plot{Plots.PyPlotBackend})
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.4.3/scripts/packages/VSCodeServer/src/display.jl:156
[8] display(x::Any)
@ Base.Multimedia ./multimedia.jl:328
[9] top-level scope
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
Versions
The issue does not occur in Plots v1.20.1, but it does occur in the latest version Plots v1.23.2. I have not tested other versions.
The text was updated successfully, but these errors were encountered:
Details
I am getting the following error and warning when try to display a plot constructed using scatter as follows:
The error and warning about outdated matplotlib (I performed the exact instructions it suggested but it didnt change anything; I also rebuilt Plots after performing the said instructions)
Backends
This bug occurs on ( insert
x
below )Versions
The issue does not occur in Plots v1.20.1, but it does occur in the latest version Plots v1.23.2. I have not tested other versions.
The text was updated successfully, but these errors were encountered: