feat: correct ax.legend() order for stack hists #3592
Annotations
7 errors and 1 warning
|
Set up Python 3.8
[notice] A new release of pip is available: 21.1.1 -> 24.2
[notice] To update, run: python3.8 -m pip install --upgrade pip
|
Test with pytest:
tests/test_basic.py#L918
test_histplot_stack
Failed: Error: Image files did not match.
RMS Value: 2.7103914846383352
Expected:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_stack/baseline.png
Actual:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_stack/result.png
Difference:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_stack/result-failed-diff.png
Tolerance:
2
|
Test with pytest:
tests/test_basic.py#L918
test_histplot_kwargs
Failed: Error: Image files did not match.
RMS Value: 3.260618192919864
Expected:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_kwargs/baseline.png
Actual:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_kwargs/result.png
Difference:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_kwargs/result-failed-diff.png
Tolerance:
2
|
Test with pytest:
tests/test_basic.py#L918
test_histplot_real
Failed: Error: Image files did not match.
RMS Value: 5.137619682304248
Expected:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/baseline.png
Actual:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/result.png
Difference:
/Users/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/result-failed-diff.png
Tolerance:
2
|
Test with pytest:
tests/test_mock.py#L96
test_histplot_real
AssertionError: assert 19 == 18
+ where 19 = len([call.get_xlabel(),\n call.set_prop_cycle(cycler('color', ['#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7...'5386511216'>),\n call.get_window_extent().transformed().width.__rmul__(30),\n call.legend(),\n call.set_title('Data/MC')])
+ where [call.get_xlabel(),\n call.set_prop_cycle(cycler('color', ['#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7...'5386511216'>),\n call.get_window_extent().transformed().width.__rmul__(30),\n call.legend(),\n call.set_title('Data/MC')] = <Mock spec='Axes' id='5383698848'>.mock_calls
|
Test with pytest
Process completed with exit code 1.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "pytest_results-3.10-ubuntu-latest", "pytest_results-3.11-ubuntu-latest", "pytest_results-3.8-macOS-14".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading