Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matplotlib: Expected no arguments to "Line2D" constructor #420

Closed
tekumara opened this issue Sep 25, 2020 · 1 comment
Closed

matplotlib: Expected no arguments to "Line2D" constructor #420

tekumara opened this issue Sep 25, 2020 · 1 comment
Assignees
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version typestub Issue relating to our bundled type stubs

Comments

@tekumara
Copy link

Environment data

  • Language Server version: Pylance language server 2020.9.6 (pyright c52b78aa)
  • OS and version: macOS
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.8

Expected behaviour

No reportGeneralTypeIssues error. See Line2D docs

Actual behaviour

Expected no arguments to "Line2D" constructor

Code Snippet / Additional information

from matplotlib.lines import Line2D

line = Line2D([0], [0], lw=10)
@jakebailey jakebailey self-assigned this Sep 25, 2020
@jakebailey jakebailey added the typestub Issue relating to our bundled type stubs label Sep 25, 2020
@github-actions github-actions bot removed the triage label Sep 25, 2020
@gramster gramster changed the title Expected no arguments to "Line2D" constructor matplotlib: Expected no arguments to "Line2D" constructor Dec 18, 2020
@jakebailey jakebailey added the fixed in next version (main) A fix has been implemented and will appear in an upcoming version label Mar 3, 2021
@jakebailey
Copy link
Member

This issue has been fixed in version 2021.3.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202130-3-march-2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version typestub Issue relating to our bundled type stubs
Projects
None yet
Development

No branches or pull requests

2 participants