Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Pylance assumes set_box_aspect zoom attribute as int #27957

Open
@Larsimusrex

Description

@Larsimusrex

Bug summary

Type hint for set_box_aspect zoom attribute is assumed to be a int.

Code for reproduction

ax.set_box_aspect(None,zoom=0.9)

Actual outcome

Argument of type "float" cannot be assigned to parameter "zoom" of type "int" in function "set_box_aspect"  "float" is incompatible with "int

Expected outcome

No error

Additional information

No response

Operating system

No response

Matplotlib Version

3.8.3

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp