Skip to content

fonts

Register bundled IBM Plex font files with Qt and matplotlib.

Functions:

load_bundled_fonts

load_bundled_fonts() -> None

Register every bundled IBM Plex TTF with Qt and matplotlib.

Must run after QApplication is constructed and before any widget renders. Also updates matplotlib rcParams so Figures instantiated later pick up Plex without needing per-plot overrides. Raises :class:BRMSError if a font file is missing or Qt rejects it.