|
2 | 2 | # pylint: disable=E1101
|
3 | 3 | from __future__ import division
|
4 | 4 |
|
5 |
| -import warnings |
6 |
| -import re |
7 | 5 | from collections import namedtuple
|
8 | 6 | from distutils.version import LooseVersion
|
| 7 | +import re |
| 8 | +import warnings |
9 | 9 |
|
10 | 10 | import numpy as np
|
11 | 11 |
|
12 |
| -from pandas.util._decorators import cache_readonly, Appender |
13 |
| -from pandas.compat import range, lrange, map, zip, string_types |
14 | 12 | import pandas.compat as compat
|
| 13 | +from pandas.compat import lrange, map, range, string_types, zip |
15 | 14 | from pandas.errors import AbstractMethodError
|
| 15 | +from pandas.util._decorators import Appender, cache_readonly |
16 | 16 |
|
17 |
| -import pandas.core.common as com |
18 |
| -from pandas.core.base import PandasObject |
19 |
| -from pandas.core.config import get_option |
20 |
| -from pandas.core.generic import _shared_docs, _shared_doc_kwargs |
21 |
| - |
22 |
| -from pandas.core.dtypes.missing import isna, notna, remove_na_arraylike |
23 | 17 | from pandas.core.dtypes.common import (
|
24 |
| - is_list_like, |
25 |
| - is_integer, |
26 |
| - is_number, |
27 |
| - is_hashable, |
28 |
| - is_iterator) |
| 18 | + is_hashable, is_integer, is_iterator, is_list_like, is_number) |
29 | 19 | from pandas.core.dtypes.generic import (
|
30 |
| - ABCSeries, ABCDataFrame, ABCPeriodIndex, ABCMultiIndex, ABCIndexClass) |
| 20 | + ABCDataFrame, ABCIndexClass, ABCMultiIndex, ABCPeriodIndex, ABCSeries) |
| 21 | +from pandas.core.dtypes.missing import isna, notna, remove_na_arraylike |
31 | 22 |
|
32 |
| -from pandas.io.formats.printing import pprint_thing |
| 23 | +from pandas.core.base import PandasObject |
| 24 | +import pandas.core.common as com |
| 25 | +from pandas.core.config import get_option |
| 26 | +from pandas.core.generic import _shared_doc_kwargs, _shared_docs |
33 | 27 |
|
| 28 | +from pandas.io.formats.printing import pprint_thing |
34 | 29 | from pandas.plotting._compat import _mpl_ge_3_0_0
|
35 |
| -from pandas.plotting._style import (plot_params, |
36 |
| - _get_standard_colors) |
37 |
| -from pandas.plotting._tools import (_subplots, _flatten, table, |
38 |
| - _handle_shared_axes, _get_all_lines, |
39 |
| - _get_xlim, _set_ticks_props, |
40 |
| - format_date_labels) |
| 30 | +from pandas.plotting._style import _get_standard_colors, plot_params |
| 31 | +from pandas.plotting._tools import ( |
| 32 | + _flatten, _get_all_lines, _get_xlim, _handle_shared_axes, _set_ticks_props, |
| 33 | + _subplots, format_date_labels, table) |
41 | 34 |
|
42 | 35 | try:
|
43 | 36 | from pandas.plotting import _converter
|
|
0 commit comments