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 103103 unicode_literals )
104104
105105import six
106- import sys
107- import distutils .version
108- from itertools import chain
109106
110107from collections import MutableMapping
108+ import contextlib
109+ import distutils .version
110+ import distutils .sysconfig
111+ import functools
111112import io
112113import inspect
114+ import itertools
113115import locale
114116import os
115117import re
118+ import sys
116119import tempfile
117120import warnings
118- import contextlib
119- import distutils .sysconfig
120- import functools
121+
121122# cbook must import matplotlib only within function
122123# definitions, so it is safe to import from it here.
123124from . import cbook
@@ -798,9 +799,8 @@ def gen_candidates():
798799# The following may use a value of None to suppress the warning.
799800_deprecated_set = {'axes.hold' } # do NOT include in _all_deprecated
800801
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 ))
804804
805805
806806class RcParams (MutableMapping , dict ):
You can’t perform that action at this time.
0 commit comments