Skip to content

Specify backend while "using Plots" with PlutoPkg #1305

Open
@DebChanda

Description

I am using the built-in package manager of Pluto. Is there a working example where I can see how to use different backends with Plots, currently gr and plotly are working by default. pyplot gives

ArgumentError: Package PyPlot not found in current path:
- Run `import Pkg; Pkg.add("PyPlot")` to install the PyPlot package.

    top-level scope@backends.jl:507
    eval@boot.jl:360[inlined]
    _initialize_backend(::Plots.PyPlotBackend)@backends.jl:506
    backend@backends.jl:174[inlined]
    var"#pyplot#259"(::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, ::typeof(Plots.pyplot))@backends.jl:31
    pyplot@backends.jl:31[inlined]
    top-level scope@Local: 1[inlined]

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions