Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

With Jupyter notebook.

import PythonPlot as plt
using Random
Random.seed!(2022)
Random.TaskLocalRNG()
plt.plot(1:5, rand(1:6, 5))

Runtime information

using InteractiveUtils
InteractiveUtils.versioninfo()
Julia Version 1.12.6
Commit 15346901f00 (2026-04-09 19:20 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × AMD EPYC 9V74 80-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, znver4)
  GC: Built with stock GC
Threads: 2 default, 1 interactive, 2 GC (on 4 virtual cores)
Environment:
  JULIA_CPU_TARGET = generic;icelake-server,clone_all;znver3,clone_all
  JULIA_CONDAPKG_OFFLINE = true
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_CI = true
  JULIA_NUM_THREADS = 2
  JULIA_PYTHONCALL_EXE = /home/runner/work/template-juliabook-matrix/template-juliabook-matrix/.venv/bin/python
import Pkg
Pkg.status()
Status `~/work/template-juliabook-matrix/template-juliabook-matrix/Project.toml`
  [682c06a0] JSON v1.6.0
  [98b081ad] Literate v2.21.0
  [91a5bcdd] Plots v1.41.6
  [274fc56d] PythonPlot v1.0.6
  [e80f4348] Startup v0.1.0 `Startup`

This notebook was generated using Literate.jl.