8000 MNT: clean up imports a bit · matplotlib/matplotlib@ee2e1c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee2e1c9

Browse files
committed
MNT: clean up imports a bit
1 parent f04b6c9 commit ee2e1c9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
from matplotlib import unpack_labeled_data
1515

1616
import matplotlib.cbook as cbook
17-
from matplotlib.cbook import mplDeprecation, STEP_LOOKUP_MAP
17+
from matplotlib.cbook import (mplDeprecation, STEP_LOOKUP_MAP, is_sequence_of_strings,
18+
iterable, is_string_like)
1819
import matplotlib.collections as mcoll
1920
import matplotlib.colors as mcolors
2021
import matplotlib.contour as mcontour
@@ -43,10 +44,6 @@
4344

4445
rcParams = matplotlib.rcParams
4546

46-
iterable = cbook.iterable
47-
is_string_like = cbook.is_string_like
48-
is_sequence_of_strings = cbook.is_sequence_of_strings
49-
5047

5148
def _plot_args_replacer(args, data):
5249
if len(args) == 1:

0 commit comments

Comments
 (0)
0