chiark / gitweb /
m.plots: update to work with matplotlib 3.5 as well.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 3 Jan 2022 18:21:22 +0000 (19:21 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 3 Jan 2022 19:04:18 +0000 (20:04 +0100)
commit7d5a572ebeeb55965d2a6a42ab84d72075f1504d
tree9552acfb09e8a8ef530f192cd5577cb8508625a3
parent81399b9bcddc05a2b4c339e65b60da9683d359af
m.plots: update to work with matplotlib 3.5 as well.

The major change in 3.5 is that the attributes have a different order
and styles have more whitespace and less semicolons. To avoid explosion
of find/replace patterns, the search strings were converted to regexps
-- which on the other hand allowed me to drop some duplicates, and
discard the font name replacement altogether.

On the CI I'm now using the latest version on Python 3.8+, 3.7 stays on
3.4 to avoid regressions on that versions, and 3.6 on 3.3 which is also
a bit different.
documentation/test_python/page_plugins/plots-34.html [new file with mode: 0644]
documentation/test_python/page_plugins/plots.html
documentation/test_python/test_page.py
package/ci/circleci.yml
plugins/m/plots.py
plugins/m/test/plots/page-34.html [new file with mode: 0644]
plugins/m/test/plots/page.html
plugins/m/test/test_plots.py