Skip to content

TYP: statically define attributes in plotting._matplotlib.core #36068

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

Merged

Conversation

simonjayhawkins
Copy link
Member

continuation of changes in #36016

pandas\plotting_matplotlib\core.py:231: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:232: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:233: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:235: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:385: error: "MPLPlot" has no attribute "label"; maybe "ylabel" or "xlabel"? [attr-defined]
pandas\plotting_matplotlib\core.py:553: error: "MPLPlot" has no attribute "mark_right" [attr-defined]
pandas\plotting_matplotlib\core.py:732: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:733: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:735: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:738: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:739: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:741: error: "MPLPlot" has no attribute "style" [attr-defined]
pandas\plotting_matplotlib\core.py:1008: error: "ScatterPlot" has no attribute "label" [attr-defined]
pandas\plotting_matplotlib\core.py:1075: error: "LinePlot" has no attribute "stacked" [attr-defined]
pandas\plotting_matplotlib\core.py:1180: error: "LinePlot" has no attribute "stacked" [attr-defined]
pandas\plotting_matplotlib\core.py:1269: error: "AreaPlot" has no attribute "stacked" [attr-defined]
pandas\plotting_matplotlib\core.py:1351: error: "BarPlot" has no attribute "stacked" [attr-defined]
pandas\plotting_matplotlib\core.py:1427: error: "BarPlot" has no attribute "stacked" [attr-defined]

pandas\plotting\_matplotlib\core.py:231: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:232: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:233: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:235: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:385: error: "MPLPlot" has no attribute "label"; maybe "ylabel" or "xlabel"?  [attr-defined]
pandas\plotting\_matplotlib\core.py:553: error: "MPLPlot" has no attribute "mark_right"  [attr-defined]
pandas\plotting\_matplotlib\core.py:732: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:733: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:735: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:738: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:739: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:741: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1008: error: "ScatterPlot" has no attribute "label"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1075: error: "LinePlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1180: error: "LinePlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1269: error: "AreaPlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1351: error: "BarPlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1427: error: "BarPlot" has no attribute "stacked"  [attr-defined]
@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Sep 2, 2020
@simonjayhawkins simonjayhawkins added this to the 1.2 milestone Sep 2, 2020
@jreback jreback merged commit 09c6124 into pandas-dev:master Sep 2, 2020
@jreback
Copy link
Contributor

jreback commented Sep 2, 2020

thanks

@simonjayhawkins simonjayhawkins deleted the plotting._matplotlib.core branch September 2, 2020 15:49
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
…s-dev#36068)

pandas\plotting\_matplotlib\core.py:231: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:232: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:233: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:235: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:385: error: "MPLPlot" has no attribute "label"; maybe "ylabel" or "xlabel"?  [attr-defined]
pandas\plotting\_matplotlib\core.py:553: error: "MPLPlot" has no attribute "mark_right"  [attr-defined]
pandas\plotting\_matplotlib\core.py:732: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:733: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:735: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:738: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:739: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:741: error: "MPLPlot" has no attribute "style"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1008: error: "ScatterPlot" has no attribute "label"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1075: error: "LinePlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1180: error: "LinePlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1269: error: "AreaPlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1351: error: "BarPlot" has no attribute "stacked"  [attr-defined]
pandas\plotting\_matplotlib\core.py:1427: error: "BarPlot" has no attribute "stacked"  [attr-defined]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants