Skip to content

Commit 8afd38d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9ae77eb commit 8afd38d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pandas/plotting/_matplotlib/core.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
)
2020
import warnings
2121

22+
import matplotlib as mpl
2223
import numpy as np
2324

2425
from pandas._libs import lib
@@ -56,7 +57,6 @@
5657
)
5758
from pandas.core.dtypes.missing import isna
5859

59-
import matplotlib as mpl
6060
import pandas.core.common as com
6161

6262
from pandas.io.formats.printing import pprint_thing
@@ -84,17 +84,18 @@
8484
)
8585

8686
if TYPE_CHECKING:
87+
from matplotlib.artist import Artist
88+
from matplotlib.axes import Axes
89+
from matplotlib.axis import Axis
90+
from matplotlib.figure import Figure
91+
8792
from pandas._typing import (
8893
IndexLabel,
8994
NDFrameT,
9095
PlottingOrientation,
9196
npt,
9297
)
9398

94-
from matplotlib.artist import Artist
95-
from matplotlib.axes import Axes
96-
from matplotlib.axis import Axis
97-
from matplotlib.figure import Figure
9899
from pandas import (
99100
DataFrame,
100101
Index,

0 commit comments

Comments
 (0)