Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Code
- ```
- using Plots
- pyplot()
- p1 = plot(rand(5))
- p2 = plot(rand(50), reuse=false)
- ```
- Output:
- ```
- ┌ Warning: No working GUI backend found for matplotlib
- └ @ PyPlot ~/.julia/packages/PyPlot/NsAWt/src/init.jl:153
- ┌ Warning: Error requiring `PyPlot` from `Plots`
- │ exception =
- │ ArgumentError: not a path: `/home/archisman/.julia/packages/Plots/UTR4H/src/backends/pyplot.jl`
- │ Stacktrace:
- │ [1] RelocatableFolders.Path(mod::Module, dir::String, path::String, ignore::Nothing)
- │ @ RelocatableFolders ~/.julia/packages/RelocatableFolders/xuLyx/src/RelocatableFolders.jl:55
- │ [2] _path(sym::Function)
- │ @ Plots ~/.julia/packages/Plots/UTR4H/src/backends.jl:59
- │ [3] top-level scope
- │ @ ~/.julia/packages/Plots/UTR4H/src/backends.jl:95
- │ [4] eval
- │ @ ./boot.jl:368 [inlined]
- │ [5] eval
- │ @ ~/.julia/packages/Plots/UTR4H/src/Plots.jl:1 [inlined]
- │ [6] (::Plots.var"#638#641")()
- │ @ Plots ~/.julia/packages/Requires/Z8rfN/src/require.jl:101
- │ [7] macro expansion
- │ @ timing.jl:382 [inlined]
- │ [8] err(f::Any, listener::Module, modname::String, file::String, line::Any)
- │ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:47
- │ [9] (::Plots.var"#637#640")()
- │ @ Plots ~/.julia/packages/Requires/Z8rfN/src/require.jl:100
- │ [10] withpath(f::Any, path::String)
- │ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:37
- │ [11] (::Plots.var"#636#639")()
- │ @ Plots ~/.julia/packages/Requires/Z8rfN/src/require.jl:99
- │ [12] #invokelatest#2
- │ @ ./essentials.jl:729 [inlined]
- │ [13] invokelatest
- │ @ ./essentials.jl:726 [inlined]
- │ [14] foreach(f::typeof(Base.invokelatest), itr::Vector{Function})
- │ @ Base ./abstractarray.jl:2774
- │ [15] loadpkg(pkg::Base.PkgId)
- │ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:27
- │ [16] top-level scope
- │ @ ~/.julia/packages/Plots/UTR4H/src/backends.jl:810
- │ [17] eval
- │ @ ./boot.jl:368 [inlined]
- │ [18] _initialize_backend(pkg::Plots.PyPlotBackend)
- │ @ Plots ~/.julia/packages/Plots/UTR4H/src/backends.jl:809
- │ [19] backend(pkg::Plots.PyPlotBackend)
- │ @ Plots ~/.julia/packages/Plots/UTR4H/src/backends.jl:260
- │ [20] #pyplot#315
- │ @ ~/.julia/packages/Plots/UTR4H/src/backends.jl:81 [inlined]
- │ [21] pyplot()
- │ @ Plots ~/.julia/packages/Plots/UTR4H/src/backends.jl:81
- │ [22] top-level scope
- │ @ ~/Documents/GitHub/skyrmion-graphene/new.jl:4
- └ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:51
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement