Plotting with Plots.jl

Plotting with Plots.jl#

With Jupyter notebook.

using Plots
using Random
Plots.default(fmt=:png)
Random.seed!(2024)
[ Info: Precompiling IJuliaExt [2f4121a4-3b3a-5ce6-9c5e-1f2673ce168a] 
TaskLocalRNG()
plot(1:5, rand(1:6, 5))
../_images/832e37fac356eb983683e9f6e036cadbab8a9797c0d80dbc747ea32fbfbc9ea3.png

Runtime information#

versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × AMD EPYC 7763 64-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 4 default, 0 interactive, 2 GC (on 4 virtual cores)
Environment:
  JULIA_CI = true
  JULIA_NUM_THREADS = auto
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_PATH = /usr/local/julia/
import Pkg
Pkg.status()
Status 
`/tmp/Project.toml`
  [91a5bcdd] Plots v1.40.9
  [274fc56d] PythonPlot v1.0.5