chiark / gitweb /
m.plots: adapt for matplotlib 3.0.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 20:28:19 +0000 (22:28 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 21:22:49 +0000 (23:22 +0200)
commit644658c758fd124a98410954429b8226671532b4
treee649025c9e353e2a960025a4bcd5c8e93dd3a7f1
parentf895abfb73d20c33b93211e89a1a16f04cad2d11
m.plots: adapt for matplotlib 3.0.

3.0 uses a HTTPS URL in the SVG preamble, so the regex needed updating.
That's it. And I was putting this off for over a year, heh.

Well, actually now I have THREE DIFFERENT OUTPUTS to test for --
Python 3.5 and older has slightly different number rounding, while
matplotlib 3.1 adds a CSS property that 3.0 didn't have. Yay this is
annoying as hell.
documentation/test_python/page_plugins/index.html
documentation/test_python/page_plugins/index.rst
documentation/test_python/page_plugins/plots.html [new file with mode: 0644]
documentation/test_python/page_plugins/plots.rst [new file with mode: 0644]
documentation/test_python/test_page.py
plugins/m/plots.py
plugins/m/test/plots/page-22.html [new file with mode: 0644]
plugins/m/test/plots/page-py35.html [new file with mode: 0644]
plugins/m/test/plots/page.html
plugins/m/test/test_plots.py