Skip to content

Commit d1a31b0

Browse files
committed
Update reference hashes for Python 3.9 - 3.13
1 parent 54b3aec commit d1a31b0

File tree

6 files changed

+73
-45
lines changed

6 files changed

+73
-45
lines changed

regen_mpl_baseline.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ tox -e py37 -- --mpl-generate-path=tests/baseline
44

55
tox -e py37 -- --mpl-generate-hash-library=tests/image_hashes_37.json
66
tox -e py38 -- --mpl-generate-hash-library=tests/image_hashes_38.json
7-
tox -e py39 -- --mpl-generate-hash-library=tests/image_hashes.json
7+
tox -e py39 -- --mpl-generate-hash-library=tests/image_hashes_39.json
8+
tox -e py310 -- --mpl-generate-hash-library=tests/image_hashes.json
89
tox -e py313 -- --mpl-generate-hash-library=tests/image_hashes_313.json
910

1011
python3 sort_hashes_json.py

sort_hashes_json.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
for filename in [
3030
"tests/image_hashes_37.json",
3131
"tests/image_hashes_38.json",
32+
"tests/image_hashes_39.json",
3233
"tests/image_hashes_313.json",
3334
"tests/image_hashes.json",
3435
]:

tests/image_hashes.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"tests.test_plot.test_plot_mass_spec_linestyle": "2bf5adffda83a383b7d5d1b5858fd033be8222fd0fe568eefe975802ded0746a",
3-
"tests.test_plot.test_plot_mass_spec_alpha": "d9fbddaf7a9dd5e0ebeca7563315e81751bceb01486a1db4e8abc385db0ba3d2",
4-
"tests.test_plot.test_plot_tic": "b372d31c64e3291e3832d00a23ce68fadb3ea2d8735700f05ef8057620beec65",
5-
"tests.test_plot.test_plot_ic_linewidth": "64cba184d55f5ad751bf96cbb5f0a45cb95ef7357d5dea7fae6edd9275bc3535",
6-
"tests.test_plot.test_plot_tic_label": "1e14369208b79be937569cec64957923ac57a5c93b947fbd1c641ab851be1361",
7-
"tests.test_plot.test_plot_tic_linestyle": "c3c5e1c95c316dd63565f7369b528c3677500e53b5702cb21eee48f23c22a69a",
8-
"tests.test_plot.test_plot_ic_multiple": "d52028dafe5216324d93eaf762d4700b3ae3cf1d2d0505700b1ae811ee365fdf",
9-
"tests.test_plot.test_plot_head2tail": "f3728581bf8c4a2e2b151e383533a0679639932dbe7ab71b929dd0c03355724e",
10-
"tests.test_plot.test_plot_tic_title": "3dd40a7ae0d71897c464df73294e3492ae98cd767272e18d59a1d8decf307ab6",
11-
"tests.test_plot.test_plot_ic_title": "32cbef0a816574d3fea59b0b7e72ce1420dc0f7c8f05b447b27cc0ae51f9f925",
12-
"tests.test_plot.test_plot_tic_linewidth": "3c4a128807b5c5623b6835ed8acd805e7e7c26e5dfe95019bfc86b866b60b803",
13-
"tests.test_plot.test_plot_mass_spec_width": "81b155b36807638f0897d4f163ae5c3932c365dbf38dfd3cf1267d20e56d4fbb",
14-
"tests.test_plot.test_plot_peaks_errors": "a1bb075d07e386cc9e90be5e2614a01187423ed77ef50550e8c5745cdaed4bd4",
15-
"tests.test_plot.test_plot_ic_linestyle": "f3bde71d804cc0c67a7a6c467bf1aaed7fc193ff51d83025bbc705de07d814ad",
16-
"tests.test_plot.test_plot_ic_alpha": "e56d82b8ef4db63bb55d88d7d2fce1efa9a554f6e0a5dd28fd6ba92977f10399",
17-
"tests.test_plot.test_plot_ic": "86a48e733b0086dc9aa605617b5ebc3aa25642b509deea0294e3c454cb898cd2",
18-
"tests.test_plot.test_plot_peaks_with_tic": "00302994fb9ed825cc2382ad578224e1b4505148062b2ac689c7b2e150ff4cdd",
19-
"tests.test_plot.test_plot_tic_alpha": "21159bc075134ad02121ebfae555810408f760ef1385d946f0360405cc598749",
20-
"tests.test_plot.test_plot_ic_minutes": "0ee4ba15ab80416731eb47d046269a6b3693d95a050559443aba962d055a3f07",
21-
"tests.test_plot.test_plot_mass_spec": "2bf5adffda83a383b7d5d1b5858fd033be8222fd0fe568eefe975802ded0746a",
22-
"tests.test_plot.test_plot_mass_spec_title": "1270421b23d3067a0be39b021546ad827f5b25f908b8097c51e5ede8ab096a5b",
23-
"tests.test_plot.test_plot_ic_label": "9114b8a63fcf1f7b5488e33ad1740628a9c11b7dba07c259949700c9f9f10f97"
2+
"tests.test_plot.test_plot_mass_spec_linestyle": "559d9c7db953523183f812a6218c573a110feda62b5bbdc34c7f7d43cc9f104b",
3+
"tests.test_plot.test_plot_mass_spec_alpha": "c8dc647de29845b807a4dca5ef42a22262e528646234a4d6a8896fd365517f76",
4+
"tests.test_plot.test_plot_tic": "e3990906d7c88debb2ca9fa99e8f312dbd212188bb3ac96aa172f049425e2c9a",
5+
"tests.test_plot.test_plot_ic_linewidth": "f535fc60a17e909e72d8a924254ba0804d9872b2320f83d736519a158de10ba0",
6+
"tests.test_plot.test_plot_tic_label": "3f87327afa1532e5039c7308c6c724b5592271ec31580ea98c32cb2673ba7de4",
7+
"tests.test_plot.test_plot_tic_linestyle": "2e78127ef7379147b2bf97303ed7706edb6f41d53d4c70059b6e1ce69921c32b",
8+
"tests.test_plot.test_plot_ic_multiple": "9a86d37a04f2d59c69f8578c30fe103e6286b76ea466428315d1682b142fbb22",
9+
"tests.test_plot.test_plot_head2tail": "c18337fe8425d1243562cb50d5fc6d0d506f849307d0ea00df32e31c1387b97f",
10+
"tests.test_plot.test_plot_tic_title": "80a0244d2ca67d130528126fff325c66aa596d2c844248b6f319c634d9610a75",
11+
"tests.test_plot.test_plot_ic_title": "dcecba7508ef5623455ef2de3d94f2f557dd63f0ff407b789f3dae9235f8ed4e",
12+
"tests.test_plot.test_plot_tic_linewidth": "c84b3c68f9e7a51301ae9140319896f6217a787bada7f8afb58107de12050d9a",
13+
"tests.test_plot.test_plot_mass_spec_width": "9f463c7036d8e8cb21a6abf1331f30150bb4cf6373718d6c169cecead1712e77",
14+
"tests.test_plot.test_plot_peaks_errors": "b2059ee631b97796556e1e4fb3042228689a5372cc490ee24488b3e1db8b047f",
15+
"tests.test_plot.test_plot_ic_linestyle": "376a1bd6a73bc2ccae03f405bafa0b23047066ece4db243709636b0524ca02c0",
16+
"tests.test_plot.test_plot_ic_alpha": "16329e5d85ce8ca94b5ed202a5a09157a57333e7a2f510829c91bf5a7f4a083f",
17+
"tests.test_plot.test_plot_ic": "2cf423fce75b50915ca863fe92c4de63c25b7cab376d0ffadff808dee1627803",
18+
"tests.test_plot.test_plot_peaks_with_tic": "21bcb24a6ca20ae175de618a3be21a388ba610b602950a7fda3344d8d69cb11c",
19+
"tests.test_plot.test_plot_tic_alpha": "805b9d72cca2c856bc48b1e85494dc127ab9ae9926843b2212034bce32634110",
20+
"tests.test_plot.test_plot_ic_minutes": "880b83c0abc10b10994b8880e821a3309cdba2e4a367a4422c7e3684def83e6b",
21+
"tests.test_plot.test_plot_mass_spec": "559d9c7db953523183f812a6218c573a110feda62b5bbdc34c7f7d43cc9f104b",
22+
"tests.test_plot.test_plot_mass_spec_title": "aa18f3dc09ad2b59b50b26bfc6a8656c268d2a6c2e90cea3e465661313b3e656",
23+
"tests.test_plot.test_plot_ic_label": "1a0f31386b6bef23ebcdc725a45b3f365aac20a134c362f7316dd4a082543c3d"
2424
}

tests/image_hashes_313.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"tests.test_plot.test_plot_mass_spec_linestyle": "2bf5adffda83a383b7d5d1b5858fd033be8222fd0fe568eefe975802ded0746a",
3-
"tests.test_plot.test_plot_mass_spec_alpha": "d9fbddaf7a9dd5e0ebeca7563315e81751bceb01486a1db4e8abc385db0ba3d2",
4-
"tests.test_plot.test_plot_tic": "b372d31c64e3291e3832d00a23ce68fadb3ea2d8735700f05ef8057620beec65",
5-
"tests.test_plot.test_plot_ic_linewidth": "64cba184d55f5ad751bf96cbb5f0a45cb95ef7357d5dea7fae6edd9275bc3535",
6-
"tests.test_plot.test_plot_tic_label": "1e14369208b79be937569cec64957923ac57a5c93b947fbd1c641ab851be1361",
7-
"tests.test_plot.test_plot_tic_linestyle": "c3c5e1c95c316dd63565f7369b528c3677500e53b5702cb21eee48f23c22a69a",
8-
"tests.test_plot.test_plot_ic_multiple": "d52028dafe5216324d93eaf762d4700b3ae3cf1d2d0505700b1ae811ee365fdf",
9-
"tests.test_plot.test_plot_head2tail": "f3728581bf8c4a2e2b151e383533a0679639932dbe7ab71b929dd0c03355724e",
10-
"tests.test_plot.test_plot_tic_title": "3dd40a7ae0d71897c464df73294e3492ae98cd767272e18d59a1d8decf307ab6",
11-
"tests.test_plot.test_plot_ic_title": "32cbef0a816574d3fea59b0b7e72ce1420dc0f7c8f05b447b27cc0ae51f9f925",
12-
"tests.test_plot.test_plot_tic_linewidth": "3c4a128807b5c5623b6835ed8acd805e7e7c26e5dfe95019bfc86b866b60b803",
13-
"tests.test_plot.test_plot_mass_spec_width": "81b155b36807638f0897d4f163ae5c3932c365dbf38dfd3cf1267d20e56d4fbb",
14-
"tests.test_plot.test_plot_peaks_errors": "a1bb075d07e386cc9e90be5e2614a01187423ed77ef50550e8c5745cdaed4bd4",
15-
"tests.test_plot.test_plot_ic_linestyle": "f3bde71d804cc0c67a7a6c467bf1aaed7fc193ff51d83025bbc705de07d814ad",
16-
"tests.test_plot.test_plot_ic_alpha": "e56d82b8ef4db63bb55d88d7d2fce1efa9a554f6e0a5dd28fd6ba92977f10399",
17-
"tests.test_plot.test_plot_ic": "86a48e733b0086dc9aa605617b5ebc3aa25642b509deea0294e3c454cb898cd2",
18-
"tests.test_plot.test_plot_peaks_with_tic": "00302994fb9ed825cc2382ad578224e1b4505148062b2ac689c7b2e150ff4cdd",
19-
"tests.test_plot.test_plot_tic_alpha": "21159bc075134ad02121ebfae555810408f760ef1385d946f0360405cc598749",
20-
"tests.test_plot.test_plot_ic_minutes": "0ee4ba15ab80416731eb47d046269a6b3693d95a050559443aba962d055a3f07",
21-
"tests.test_plot.test_plot_mass_spec": "2bf5adffda83a383b7d5d1b5858fd033be8222fd0fe568eefe975802ded0746a",
22-
"tests.test_plot.test_plot_mass_spec_title": "1270421b23d3067a0be39b021546ad827f5b25f908b8097c51e5ede8ab096a5b",
23-
"tests.test_plot.test_plot_ic_label": "9114b8a63fcf1f7b5488e33ad1740628a9c11b7dba07c259949700c9f9f10f97"
2+
"tests.test_plot.test_plot_mass_spec_linestyle": "559d9c7db953523183f812a6218c573a110feda62b5bbdc34c7f7d43cc9f104b",
3+
"tests.test_plot.test_plot_mass_spec_alpha": "c8dc647de29845b807a4dca5ef42a22262e528646234a4d6a8896fd365517f76",
4+
"tests.test_plot.test_plot_tic": "e3990906d7c88debb2ca9fa99e8f312dbd212188bb3ac96aa172f049425e2c9a",
5+
"tests.test_plot.test_plot_ic_linewidth": "f535fc60a17e909e72d8a924254ba0804d9872b2320f83d736519a158de10ba0",
6+
"tests.test_plot.test_plot_tic_label": "3f87327afa1532e5039c7308c6c724b5592271ec31580ea98c32cb2673ba7de4",
7+
"tests.test_plot.test_plot_tic_linestyle": "2e78127ef7379147b2bf97303ed7706edb6f41d53d4c70059b6e1ce69921c32b",
8+
"tests.test_plot.test_plot_ic_multiple": "9a86d37a04f2d59c69f8578c30fe103e6286b76ea466428315d1682b142fbb22",
9+
"tests.test_plot.test_plot_head2tail": "c18337fe8425d1243562cb50d5fc6d0d506f849307d0ea00df32e31c1387b97f",
10+
"tests.test_plot.test_plot_tic_title": "80a0244d2ca67d130528126fff325c66aa596d2c844248b6f319c634d9610a75",
11+
"tests.test_plot.test_plot_ic_title": "dcecba7508ef5623455ef2de3d94f2f557dd63f0ff407b789f3dae9235f8ed4e",
12+
"tests.test_plot.test_plot_tic_linewidth": "c84b3c68f9e7a51301ae9140319896f6217a787bada7f8afb58107de12050d9a",
13+
"tests.test_plot.test_plot_mass_spec_width": "9f463c7036d8e8cb21a6abf1331f30150bb4cf6373718d6c169cecead1712e77",
14+
"tests.test_plot.test_plot_peaks_errors": "b2059ee631b97796556e1e4fb3042228689a5372cc490ee24488b3e1db8b047f",
15+
"tests.test_plot.test_plot_ic_linestyle": "376a1bd6a73bc2ccae03f405bafa0b23047066ece4db243709636b0524ca02c0",
16+
"tests.test_plot.test_plot_ic_alpha": "16329e5d85ce8ca94b5ed202a5a09157a57333e7a2f510829c91bf5a7f4a083f",
17+
"tests.test_plot.test_plot_ic": "2cf423fce75b50915ca863fe92c4de63c25b7cab376d0ffadff808dee1627803",
18+
"tests.test_plot.test_plot_peaks_with_tic": "21bcb24a6ca20ae175de618a3be21a388ba610b602950a7fda3344d8d69cb11c",
19+
"tests.test_plot.test_plot_tic_alpha": "805b9d72cca2c856bc48b1e85494dc127ab9ae9926843b2212034bce32634110",
20+
"tests.test_plot.test_plot_ic_minutes": "880b83c0abc10b10994b8880e821a3309cdba2e4a367a4422c7e3684def83e6b",
21+
"tests.test_plot.test_plot_mass_spec": "559d9c7db953523183f812a6218c573a110feda62b5bbdc34c7f7d43cc9f104b",
22+
"tests.test_plot.test_plot_mass_spec_title": "aa18f3dc09ad2b59b50b26bfc6a8656c268d2a6c2e90cea3e465661313b3e656",
23+
"tests.test_plot.test_plot_ic_label": "1a0f31386b6bef23ebcdc725a45b3f365aac20a134c362f7316dd4a082543c3d"
2424
}

tests/image_hashes_39.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"tests.test_plot.test_plot_mass_spec_linestyle": "2bd5e0da5777dfdcb3847f6d074062b58cf7da1124365a7365504cbe0e4fc619",
3+
"tests.test_plot.test_plot_mass_spec_alpha": "e807e183b8c293b3e1a1cec3a58ce8532ee0ed064e4443c65676c8143934b59f",
4+
"tests.test_plot.test_plot_tic": "605f4eda987755578b8128d8a119466d78e8c76c5945cef2d752a72fcdf6da37",
5+
"tests.test_plot.test_plot_ic_linewidth": "f7bf2c068d56be4ddc32aa512ea61c8364b49b182b7fb803e2f372fa0e096533",
6+
"tests.test_plot.test_plot_tic_label": "30be89056ee23dd21906eb98ca06147108bddb7947ef75e3a76903f2681c0de6",
7+
"tests.test_plot.test_plot_tic_linestyle": "c681826bdbed835518cea842c9cfa616c4e1beaebe0dc8031420da5093c75217",
8+
"tests.test_plot.test_plot_ic_multiple": "b4f93e8dabc11065fbfd8a909c663a935f198b8b81d4d354bd6b89259edcded2",
9+
"tests.test_plot.test_plot_head2tail": "091a1b872cf048a65f54866b150f9703b4210298cdce966079e36104c42baf7b",
10+
"tests.test_plot.test_plot_tic_title": "15342ec4703bf3f9dd111d3c49bae5f5c7eeb5bd85555010321ec2c5f25e172c",
11+
"tests.test_plot.test_plot_ic_title": "f1c27b7eeaef816a0e49b710754edf8eb0392491843e0d21ffc0754f5d4fbef0",
12+
"tests.test_plot.test_plot_tic_linewidth": "2846c596e4ed29cb374c5d3c7d8e6dc6fd47cf8438c9d168ef8c1f92b689c933",
13+
"tests.test_plot.test_plot_mass_spec_width": "2d84634ad9c24f4851bfeee56db2165872834d9d013c23e249a02c9de96df0ad",
14+
"tests.test_plot.test_plot_peaks_errors": "4496d7b67bfea5ec2a43c2cae77bfe113a52e5af8c388206bf68dcb47e562495",
15+
"tests.test_plot.test_plot_ic_linestyle": "1662993de5fbbefe474bad033e442bd816c540d611eb3b2aa4ac53c7937208bc",
16+
"tests.test_plot.test_plot_ic_alpha": "53da46d43bb940fbe3a3e34eb9defcbda4be3fd153df18977ac299bcf39e1347",
17+
"tests.test_plot.test_plot_ic": "c235faa01102fd48c8b7c4b6adbc98a7afaac793bc0797c4d2698f0cfec4f1f2",
18+
"tests.test_plot.test_plot_peaks_with_tic": "9672246bbd6e52d19c055da644529daac4e8361454be5198c52012a6289eb104",
19+
"tests.test_plot.test_plot_tic_alpha": "7f753556785dc06697c0beb6c1f6aba26e4915161a7729090342fa8ee3696e54",
20+
"tests.test_plot.test_plot_ic_minutes": "e7cde4cd962cec5e3409931e3c9d1c2e9d4b130818efad9c33e6c3b9c7056ab3",
21+
"tests.test_plot.test_plot_mass_spec": "2bd5e0da5777dfdcb3847f6d074062b58cf7da1124365a7365504cbe0e4fc619",
22+
"tests.test_plot.test_plot_mass_spec_title": "a65c370b9fda6d391bb61061f4587d1b35784ddc326d1457a51ea1ec1ad8b6b9",
23+
"tests.test_plot.test_plot_ic_label": "f33778fff291031320e8e55164387a8374d177ffbb30225473b90c6913e068c1"
24+
}

tests/test_plot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
image_hashes = str(PathPlus(__file__).parent / "image_hashes_37.json")
2929
elif sys.version_info[:2] == (3, 8):
3030
image_hashes = str(PathPlus(__file__).parent / "image_hashes_38.json")
31+
elif sys.version_info[:2] == (3, 9):
32+
image_hashes = str(PathPlus(__file__).parent / "image_hashes_39.json")
3133
elif sys.version_info >= (3, 13):
3234
image_hashes = str(PathPlus(__file__).parent / "image_hashes_313.json")
3335
else:

0 commit comments

Comments
 (0)