10000 Incorporate feedback from @QuLogic · matplotlib/matplotlib@3b60169 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b60169

Browse files
committed
Incorporate feedback from @QuLogic
1 parent 7299ae4 commit 3b60169

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/matplotlib/figure.pyi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
from typing import TYPE_CHECKING
2-
if TYPE_CHECKING:
3-
from mpl_toolkits.mplot3d import Axes3D
4-
51
from collections.abc import Callable, Hashable, Iterable, Sequence
62
import os
73
from typing import Any, IO, Literal, TypeVar, overload
84

95
import numpy as np
10-
from numpy.typing import ArrayLike
6+
from numpy.typing import ArrayLike, TYPE_CHECKING
117

128
from matplotlib.artist import Artist
139
from matplotlib.axes import Axes
@@ -29,6 +25,9 @@ from matplotlib.lines import Line2D
2925
from matplotlib.patches import Rectangle, Patch
3026
from matplotlib.text import Text
3127
from matplotlib.transforms import Affine2D, Bbox, BboxBase, Transform
28+
if TYPE_CHECKING:
29+
from mpl_toolkits.mplot3d import Axes3D
30+
3231
from .typing import ColorType, HashableList
3332

3433
_T = TypeVar("_T")

0 commit comments

Comments
 (0)
0