Repository navigation
fix: remove the errors and warnings found by running the notebooks - #205
Merged
Merged
Conversation
…ges notebook Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gamma imports idisp, IBVS uses a raw string for the LaTeX label, and calibration uses FileCollection instead of the deprecated ImageCollection. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes the errors and deprecation warnings found by running every notebook in
docs/notebooksheadless after the switch toipympl(PR 193). Four notebooks change, five lines in all:greyscale-images: importsidisp(from machinevisiontoolbox.base import idisp), which a cell used without importing, and uses thecdfhistogram type in place of the deprecatedncdf.gamma: importsidispin the first cell that uses it.IBVS: the LaTeX label$\|e\|$is now a raw string, so it no longer raises aSyntaxWarningfor an invalid escape sequence.calibration: usesFileCollectionin place of the deprecatedImageCollection.Testing
Ran all 18 notebooks with
jupyter nbconvert --executeon this branch, headless, on OpenCV 5.0: no error outputs and no warnings on stderr in any of them. Not run: in the browser with JupyterLite or on Colab, with a live display, or on OpenCV 4.This change was written with AI assistance (Claude Code) and the diff has been reviewed by the maintainer.
🤖 Generated with Claude Code