File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 103
103
unicode_literals )
104
104
105
105
import six
106
- import sys
107
- import distutils .version
108
- from itertools import chain
109
106
110
107
from collections import MutableMapping
108
+ import contextlib
109
+ import distutils .version
110
+ import distutils .sysconfig
111
+ import functools
111
112
import io
112
113
import inspect
114
+ import itertools
113
115
import locale
114
116
import os
115
117
import re
118
+ import sys
116
119
import tempfile
117
120
import warnings
118
- import contextlib
119
- import distutils .sysconfig
120
- import functools
121
+
121
122
# cbook must import matplotlib only within function
122
123
# definitions, so it is safe to import from it here.
123
124
from . import cbook
@@ -798,9 +799,8 @@ def gen_candidates():
798
799
# The following may use a value of None to suppress the warning.
799
800
_deprecated_set = {'axes.hold' } # do NOT include in _all_deprecated
800
801
801
- _all_deprecated = set (chain (_deprecated_ignore_map ,
802
- _deprecated_map ,
803
- _obsolete_set ))
802
+ _all_deprecated = set (itertools .chain (
803
+ _deprecated_ignore_map , _deprecated_map , _obsolete_set ))
804
804
805
805
806
806
class RcParams (MutableMapping , dict ):
You can’t perform that action at this time.
0 commit comments