Skip to content

Commit 81f6ba3

Browse files
committed
Incorporate feedback from @QuLogic
1 parent 7299ae4 commit 81f6ba3

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,10 +1,6 @@
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
7-
from typing import Any, IO, Literal, TypeVar, overload
3+
from typing import Any, IO, Literal, TypeVar, overload, TYPE_CHECKING
84

95
import numpy as np
106
from numpy.typing import ArrayLike
@@ -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)