- Combines [`pytikz`](https://github.com/allefeld/pytikz), a python interface to `tikz`, with `sage`.
-
Jupyter notebook

---
### Another example of `pytikz`:
.png)
(~40 loc, from the
Eigenvarieties book )
===
## Problem: Can't compile tikz in the browser!
===
## [Drawspec v2 (2025)](https://github.com/LMFDB/lmfdb/blob/main/lmfdb/number_fields/draw_spectrum.py)
- Uses [`svg.py`](https://github.com/orsinium-labs/svg.py), a python library to generate SVG files
- SVG = Scalable Vector Graphics - vectorized images
---

- Color corresponds to ramification index
- Size corresponds to degree of residue field
===
## Picture in the properties box?
===
##
Spectra in the LMFDB

===
## Thanks to:
- The LMFDB team for helpful discussion
- James Taylor & Jay Swar for brainstorming