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