Aller au contenu principal
Accès ouvert déclaré 2026 software

AstroJacobLi/smplotlib: v1.0.1

0Citations signalées — pas une note de qualité
3Institutions déclarées
2Pays d’affiliation déclarés

Résumé fourni par la source

Compatibility release for Matplotlib 3.11. Fixed Numbers in MathText rendered in italics on Matplotlib 3.11+. Matplotlib 3.11 redefined the mathtext.default rcParam: the setting that keeps math letters italic while leaving digits and punctuation upright (the SuperMongo / classic TeX look) moved from 'it' to the new value 'normal'. Under 3.11 the old 'it' forces every glyph italic, digits included. set_style() now selects 'normal' on Matplotlib ≥ 3.11 and keeps 'it' on older versions, so math renders identically across Matplotlib 3.3–3.11. (reported by Sam Beiler) Silenced the cosmetic findfont: Failed to find font weight ... log lines newly emitted by Matplotlib 3.11. The bundled AVHershey fonts only ship Light / Medium / Heavy weights (200 / 500 / 800), so Matplotlib logs a note whenever it snaps a requested normal / bold weight to the nearest one. The correct font file was always chosen; only the message is new. Genuine "font family not found" warnings still show. Added tests/test_mathtext.py — regression tests for digit/letter slant, the version-appropriate mathtext.default, warning suppression, and an end-to-end render. Verified against Matplotlib 3.7, 3.8, 3.9, 3.10, and 3.11. Upgrade notes Anyone on Matplotlib 3.11+ should upgrade. Behaviour on Matplotlib ≤ 3.10 is unchanged. The manual workaround (mpl.rcParams["mathtext.default"] = "normal") is no longer needed — import smplotlib handles it. Full changelog: https://github.com/AstroJacobLi/smplotlib/compare/v1.0.0...v1.0.1

Ce résumé expose les affirmations des auteurs. BNTIC ne l’interprète pas comme une validation indépendante des résultats.

Contrôle bibliographique ouvert

La source scientifique ouverte est momentanément indisponible.

Institutions déclarées

Une affiliation ne permet pas de déduire la nationalité d’un auteur.

BNTIC News n’est pas le producteur de ces données. Recherche à la demande dans Crossref et Europe PMC, sans clé ; OpenAlex reste optionnel. Aucun service payant requis, aucune réponse conservée. Sources et limites.