Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8f66e commit ef1be0aCopy full SHA for ef1be0a
1 file changed
lib/matplotlib/figure.pyi
@@ -91,7 +91,7 @@ class FigureBase(Artist):
91
92
# TODO: docstring indicates SubplotSpec a valid arg, but none of the listed signatures appear to be that
93
@overload
94
- def add_subplot(self, *args, projection="3d", **kwargs) -> mpl_toolkits.mplot3d.Axes3D: ...
+ def add_subplot(self, *args, projection: Literal["3d"], **kwargs) -> mpl_toolkits.mplot3d.Axes3D: ...
95
96
def add_subplot(
97
self, nrows: int, ncols: int, index: int | tuple[int, int], **kwargs
0 commit comments