You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
# - Generates random 2D array (arr) and turns it into RGB via skimage.color.gray2rgb
# - Makes full-size 2D alpha array with, say, the top half at 0.2 transparency and the bottom half at 1.0
Check failure on line 3 in repro.py
View workflow job for this annotation
GitHub Actions/ ruff
[rdjson] reported by reviewdog 🐶Line too long (105 > 88)Raw Output:message:"Line too long (105 > 88)" location:{path:"/home/runner/work/matplotlib/matplotlib/repro.py" range:{start:{line:3 column:89} end:{line:3 column:106}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E501" url:"https://docs.astral.sh/ruff/rules/line-too-long"}
# - On left, calls imshow(arr, alpha=alpha, cmap='gray')
[rdjson] reported by reviewdog 🐶SyntaxError: Simple statements must be separated by newlines or semicolonsRaw Output:message:"SyntaxError: Simple statements must be separated by newlines or semicolons" location:{path:"/home/runner/work/matplotlib/matplotlib/repro.py" range:{start:{line:14 column:11} end:{line:14 column:12}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{}
[rdjson] reported by reviewdog 🐶Multiple statements on one line (semicolon)Raw Output:message:"Multiple statements on one line (semicolon)" location:{path:"/home/runner/work/matplotlib/matplotlib/repro.py" range:{start:{line:17 column:26} end:{line:17 column:27}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E702" url:"https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"}
[rdjson] reported by reviewdog 🐶Multiple statements on one line (semicolon)Raw Output:message:"Multiple statements on one line (semicolon)" location:{path:"/home/runner/work/matplotlib/matplotlib/repro.py" range:{start:{line:18 column:24} end:{line:18 column:25}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E702" url:"https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"}
plt.show()
Check failure on line 19 in repro.py
View workflow job for this annotation
GitHub Actions/ ruff
[rdjson] reported by reviewdog 🐶No newline at end of fileRaw Output:message:"No newline at end of file" location:{path:"/home/runner/work/matplotlib/matplotlib/repro.py" range:{start:{line:19 column:11} end:{line:19 column:11}}} 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"}
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.