feat: correct ax.legend() order for stack hists #3593
Annotations
7 errors and 1 warning
|
Test with pytest:
tests/test_basic.py#L918
test_histplot_stack
Failed: Error: Image files did not match.
RMS Value: 2.7103914846383352
Expected:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_stack/baseline.png
Actual:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_stack/result.png
Difference:
/home/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:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_kwargs/baseline.png
Actual:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_kwargs/result.png
Difference:
/home/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:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/baseline.png
Actual:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/result.png
Difference:
/home/runner/work/mplhep/mplhep/pytest_results/test_basic.test_histplot_real/result-failed-diff.png
Tolerance:
2
|
Test with pytest:
tests/test_mock.py#L44
test_simple
AssertionError: assert 13 == 12
+ where 13 = len([call.get_xlabel(),\n call.has_data(),\n call.stairs(values=array([1., 3., 2.]), edges=array([0., 1., 2., 3.]), baseline....figure.dpi_scale_trans.inverted()' id='139865895651504'>),\n call.get_window_extent().transformed().width.__rmul__(30)])
+ where [call.get_xlabel(),\n call.has_data(),\n call.stairs(values=array([1., 3., 2.]), edges=array([0., 1., 2., 3.]), baseline....figure.dpi_scale_trans.inverted()' id='139865895651504'>),\n call.get_window_extent().transformed().width.__rmul__(30)] = <Mock spec='Axes' id='139865897454992'>.mock_calls
|
Test with pytest:
tests/test_mock.py#L88
test_histplot_real
AssertionError: assert 27 == 24
+ where 27 = len([call.get_xlabel(),\n call.has_data(),\n call.stairs(values=array([ 9., 20., 70., 146., 217., 239., 160., 86., 38.,...139865894533776'>),\n call.get_window_extent().transformed().width.__rmul__(30),\n call.legend(),\n call.set_title('Raw')])
+ where [call.get_xlabel(),\n call.has_data(),\n call.stairs(values=array([ 9., 20., 70., 146., 217., 239., 160., 86., 38.,...139865894533776'>),\n call.get_window_extent().transformed().width.__rmul__(30),\n call.legend(),\n call.set_title('Raw')] = <Mock spec='Axes' id='139865895734624'>.mock_calls
|
Test with pytest
The operation was canceled.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "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