Skip to content

fix: update test for new mpl behaviour #3766

fix: update test for new mpl behaviour

fix: update test for new mpl behaviour #3766

Triggered via pull request February 3, 2025 15:09
@andrzejnovakandrzejnovak
synchronize #542
tfix
Status Failure
Total duration 1m 56s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 37 warnings
🐍 3.8 • ubuntu-latest: tests/test_basic.py#L77
test_log Failed: Error: Image files did not match. RMS Value: 6.5155241283159 Expected: /home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/baseline.png Actual: /home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/result.png Difference: /home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/result-failed-diff.png Tolerance: 2
🐍 3.8 • ubuntu-latest
Process completed with exit code 1.
🐍 3.9 • windows-latest
The job was canceled because "ubuntu-latest_3_8" failed.
🐍 3.9 • windows-latest
The operation was canceled.
🐍 3.8 • macOS-14
The job was canceled because "ubuntu-latest_3_8" failed.
🐍 3.8 • macOS-14
[notice] A new release of pip is available: 21.1.1 -> 25.0 [notice] To update, run: python3.8 -m pip install --upgrade pip
🐍 3.8 • macOS-14
The operation was canceled.
🐍 3.9 • macOS-13
The job was canceled because "ubuntu-latest_3_8" failed.
🐍 3.9 • macOS-13: tests/test_basic.py#L77
test_log Failed: Error: Image files did not match. RMS Value: 6.5155241283159 Expected: /Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/baseline.png Actual: /Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/result.png Difference: /Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_log/result-failed-diff.png Tolerance: 2
🐍 3.9 • macOS-13
The operation was canceled.
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.11 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.11 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.11 • ubuntu-latest: tests/test_basic.py#L242
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/unittest/mock.py#L515
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/unittest/mock.py#L515
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/unittest/mock.py#L515
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.11 • ubuntu-latest: opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/unittest/mock.py#L515
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.12 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.12 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.12 • ubuntu-latest: tests/test_basic.py#L242
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/unittest/mock.py#L529
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/unittest/mock.py#L529
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/unittest/mock.py#L529
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.12 • ubuntu-latest: opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/unittest/mock.py#L529
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.13 • ubuntu-latest: opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.13 • ubuntu-latest: opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.13 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.13 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.13 • ubuntu-latest: tests/test_basic.py#L242
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/matplotlib/cbook.py#L1709
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.10 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.10 • ubuntu-latest: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.10 • ubuntu-latest: tests/test_basic.py#L242
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/unittest/mock.py#L505
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/unittest/mock.py#L505
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/unittest/mock.py#L505
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.10 • ubuntu-latest: opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/unittest/mock.py#L505
The is_bbox attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11.
🐍 3.9 • macOS-13: Users/runner/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/matplotlib/cbook.py#L1762
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.9 • macOS-13: Users/runner/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/matplotlib/cbook.py#L1762
Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
🐍 3.9 • macOS-13: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.9 • macOS-13: tests/test_basic.py#L198
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
🐍 3.9 • macOS-13: tests/test_basic.py#L242
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.

Artifacts

Produced during runtime
Name Size
pytest_results-3.8-ubuntu-latest Expired
6.71 KB