Skip to content

Commit 09291e2

Browse files
further fixups
1 parent 72ffe97 commit 09291e2

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

pandas/plotting/_style.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
import warnings
66
from contextlib import contextmanager
7+
import re
78

89
import numpy as np
910

1011
from pandas.types.common import is_list_like
1112
from pandas.compat import range, lrange, lmap
1213
import pandas.compat as compat
14+
from pandas.plotting._compat import _mpl_ge_2_0_0
1315

1416

1517
# Extracted from https://gist.github.com/huyng/816622

pandas/tests/api/test_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TestPDApi(Base, tm.TestCase):
3131

3232
# top-level sub-packages
3333
lib = ['api', 'compat', 'computation', 'core',
34-
'indexes', 'formats', 'errors', 'pandas', 'plotting'
34+
'indexes', 'formats', 'errors', 'pandas', 'plotting',
3535
'test', 'tools', 'tseries', 'sparse',
3636
'types', 'util', 'options', 'io']
3737

pandas/tests/plotting/test_deprecated.py

-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# coding: utf-8
22

3-
import nose
43
import string
54

65
import pandas as pd
76
import pandas.util.testing as tm
87
from pandas.util.testing import slow
98

10-
import numpy as np
119
from numpy.random import randn
1210

1311
import pandas.tools.plotting as plotting
@@ -58,8 +56,3 @@ def test_plot_params(self):
5856

5957
with tm.assert_produces_warning(FutureWarning):
6058
pd.plot_params['xaxis.compat'] = True
61-
62-
63-
if __name__ == '__main__':
64-
nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
65-
exit=False)

0 commit comments

Comments
 (0)