Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix contour behavior when Z is constant (zmin == zmax) #3402

Fix contour behavior when Z is constant (zmin == zmax)

Fix contour behavior when Z is constant (zmin == zmax) #3402

Triggered via pull request April 20, 2026 09:50
Status Failure
Total duration 1m 46s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 5 warnings
ruff
Process completed with exit code 1.
precommit
prek exited with code 1
ruff: lib/matplotlib/tests/test_contour.py#L906
[rdjson] reported by reviewdog 🐶 No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/matplotlib/matplotlib/lib/matplotlib/tests/test_contour.py" range:{start:{line:906 column:31} end:{line:906 column:31}}} severity:WARNING source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:906 column:31} end:{line:906 column:31}} text:"\n"}
ruff: lib/matplotlib/tests/test_contour.py#L895
[rdjson] reported by reviewdog 🐶 Expected 2 blank lines, found 1 Raw Output: message:"Expected 2 blank lines, found 1" location:{path:"/home/runner/work/matplotlib/matplotlib/lib/matplotlib/tests/test_contour.py" range:{start:{line:895 column:1} end:{line:895 column:4}}} severity:WARNING source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E302" url:"https://docs.astral.sh/ruff/rules/blank-lines-top-level"} suggestions:{range:{start:{line:894 column:1} end:{line:895 column:1}} text:"\n\n"}
ruff: lib/matplotlib/contour.py#L1013
[rdjson] reported by reviewdog 🐶 Blank line contains whitespace Raw Output: message:"Blank line contains whitespace" location:{path:"/home/runner/work/matplotlib/matplotlib/lib/matplotlib/contour.py" range:{start:{line:1013 column:1} end:{line:1013 column:8}}} severity:WARNING source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W293" url:"https://docs.astral.sh/ruff/rules/blank-line-with-whitespace"} suggestions:{range:{start:{line:1013 column:1} end:{line:1013 column:8}}}
precommit
Input 'extra_args' has been deprecated with message: The extra_args input has been renamed to extra-args. Update your workflow.
precommit
Input 'extra_args' has been deprecated with message: The extra_args input has been renamed to extra-args. Update your workflow.