You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Type annotation for add_subplots has incorrect return type for projection="3d" #29334
Activity
rcomer commentedon Dec 17, 2024
Duplicate of #27455 I think.
stefanv commentedon Dec 18, 2024
I'd need some feedback on #29341 from y'all who know more than I do about type annotation, but the PoC PR at least fixes the problem for me.
tacaswell commentedon Dec 24, 2024
To be slightly picky, it is a correct but less specific base type.
QuLogic commentedon Dec 24, 2024
The wider problem is that there are no type hints for any of the
mpl_toolkits, so even if we annotate anAxes3Dhere, it won't help you any...scottshambaugh commentedon Jan 24, 2025
This is a wider problem with typing in Axes3D, but this does seem like low hanging fruit
stefanv commentedon Jan 24, 2025
This did solve my specific problem, FWIW: the matplotlib examples in the SP lecture notes.