Skip to content

Fix installation under Pyodide 314 (matplotlib 3.10) - #1109

Merged
has2k1 merged 3 commits into
mainfrom
fix-pyodide-installation
Aug 14, 2026
Merged

Fix installation under Pyodide 314 (matplotlib 3.10)#1109
has2k1 merged 3 commits into
mainfrom
fix-pyodide-installation

Conversation

@has2k1

@has2k1 has2k1 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

This PR drops the lower bound for matplotlib 3.10 so that plotnine 0.16+ can be installed on under Pyodide.

fixes #1106

has2k1 added 3 commits August 14, 2026 18:00
Matplotlib 3.10 requires numeric line-spacing values. Convert `normal` to
its equivalent default, 1.2, so themes render on both supported Matplotlib
versions.
Matplotlib 3.10 raised `StopIteration` when setting secondary-axis ticks or
limits because it could not resolve the axis name. Panels now expose both
primary and secondary axes through Matplotlib's name lookup.
Pyodide supplies Matplotlib 3.10.8 and statsmodels 0.14.6 as platform
packages. plotnine's previous requirements excluded both versions. Allow
Matplotlib 3.10 and require statsmodels 0.14.6 on every platform.

Tests continue to require Matplotlib 3.11 or later because the existing
baseline images use Matplotlib 3.11 text metrics.
@has2k1
has2k1 merged commit cb1fc22 into main Aug 14, 2026
14 checks passed
@has2k1
has2k1 deleted the fix-pyodide-installation branch August 14, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix plotnine for Pyodide 314.0.0+

1 participant