Using Literate.jl
import PythonPlot as plt
using Random
Random.seed!(2022)
CondaPkg Found dependencies: /root/.julia/packages/CondaPkg/0UqYV/CondaPkg.toml
CondaPkg Found dependencies: /root/.julia/packages/PythonCall/mkWc2/CondaPkg.toml
CondaPkg Found dependencies: /root/.julia/packages/PythonPlot/oS8x4/CondaPkg.toml
CondaPkg Resolving changes
+ libstdcxx
+ libstdcxx-ng
+ matplotlib
+ openssl
+ python
CondaPkg Initialising pixi
│ /root/.julia/artifacts/cefba4912c2b400756d043a2563ef77a0088866b/bin/pixi
│ init
│ --format pixi
└ /tmp/.CondaPkg
Created /tmp/.CondaPkg/pixi.toml
CondaPkg Wrote /tmp/.CondaPkg/pixi.toml
│ [dependencies]
│ openssl = ">=3, <3.6"
│ libstdcxx = ">=3.4,<15.0"
│ libstdcxx-ng = ">=3.4,<15.0"
│ matplotlib = ">=1"
│
│ [dependencies.python]
│ channel = "conda-forge"
│ build = "*cp*"
│ version = ">=3.9,<4"
│
│ [project]
│ name = ".CondaPkg"
│ platforms = ["linux-64"]
│ channels = ["conda-forge"]
│ channel-priority = "strict"
└ description = "automatically generated by CondaPkg.jl"
CondaPkg Installing packages
│ /root/.julia/artifacts/cefba4912c2b400756d043a2563ef77a0088866b/bin/pixi
│ install
└ --manifest-path /tmp/.CondaPkg/pixi.toml
The default environment has been installed.
plt.figure()
plt.plot(1:5, rand(1:6, 5))
plt.gcf()
Back to top