Skip to content

Fix mypy arg-type error in test_line_collection.py#55

Merged
ErwindeGelder merged 1 commit intoErwindeGelder:mainfrom
krishna-ji:fix/mypy-errors
Mar 23, 2026
Merged

Fix mypy arg-type error in test_line_collection.py#55
ErwindeGelder merged 1 commit intoErwindeGelder:mainfrom
krishna-ji:fix/mypy-errors

Conversation

@krishna-ji
Copy link
Copy Markdown
Collaborator

@krishna-ji krishna-ji commented Mar 22, 2026

Wraps np.amin()/np.amax() calls in float() in test_line_collection.py to fix a mypy arg-type error when passing numpy scalar types to set_xlim()/set_ylim().

All checks pass: tox -e lint,py314 (ruff format, ruff check, mypy, 113/113 tests).

Wrap np.amin()/np.amax() calls in float() to fix arg-type error when passing
numpy scalar types to set_xlim()/set_ylim().
@krishna-ji krishna-ji changed the title Fix all mypy type errors Fix mypy arg-type error in test_line_collection.py Mar 22, 2026
@ErwindeGelder ErwindeGelder merged commit dda831e into ErwindeGelder:main Mar 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants