8000
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 8ed1f0e commit 0561974Copy full SHA for 0561974
pandas/plotting/_core.py
@@ -7,8 +7,6 @@
7
Sequence,
8
)
9
10
-import pkg_resources
11
-
12
from pandas._config import get_option
13
14
from pandas._typing import IndexLabel
@@ -1745,6 +1743,8 @@ def _load_backend(backend: str) -> types.ModuleType:
1745
1743
types.ModuleType
1746
1744
The imported backend.
1747
"""
+ import pkg_resources
+
1748
if backend == "matplotlib":
1749
# Because matplotlib is an optional dependency and first-party backend,
1750
# we need to attempt an import here to raise an ImportError if needed.
0 commit comments