Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 545ffc0

Browse files
authored
Merge pull request #11142 from anntzer/thefutureisnow
Finish removing future imports.
2 parents 3ba79fb + 81e8154 commit 545ffc0

131 files changed

Lines changed: 0 additions & 318 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

doc/sphinxext/math_symbol_table.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
symbols = [
32
["Lower-case Greek",
43
6,

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
"""
102102
# NOTE: This file must remain Python 2 compatible for the foreseeable future,
103103
# to ensure that we error out properly for existing editable installs.
104-
from __future__ import absolute_import, division, print_function
105104

106105
import six
107106

lib/matplotlib/_cm.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
with the purpose and type of your colormap if you add data for one here.
77
"""
88

9-
from __future__ import (absolute_import, division, print_function,
10-
unicode_literals)
11-
129
import numpy as np
1310

1411
_binary_data = {

lib/matplotlib/_constrained_layout.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@
4545
# Todo: AnchoredOffsetbox connected to gridspecs or axes. This would
4646
# be more general way to add extra-axes annotations.
4747

48-
from __future__ import (absolute_import, division, print_function,
49-
unicode_literals)
50-
5148
import numpy as np
5249
import logging
5350
import warnings

lib/matplotlib/_layoutbox.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
1616
"""
1717

18-
from __future__ import (absolute_import, division, print_function,
19-
unicode_literals)
20-
2118
import itertools
2219
import kiwisolver as kiwi
2320
import logging

lib/matplotlib/artist.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from __future__ import (absolute_import, division, print_function,
2-
unicode_literals)
3-
41
import six
52

63
from collections import OrderedDict, namedtuple

lib/matplotlib/axes/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
from __future__ import (absolute_import, division, print_function,
2-
unicode_literals)
3-
41
from ._subplots import *
52
from ._axes import *

lib/matplotlib/backends/backend_agg.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
* integrate screen dpi w/ ppi and text
2020
2121
"""
22-
from __future__ import (absolute_import, division, print_function,
23-
unicode_literals)
24-
2522
import six
2623

2724
import threading

lib/matplotlib/backends/backend_cairo.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
cairocffi, or (Python 2 only) on pycairo.
88
"""
99

10-
from __future__ import (absolute_import, division, print_function,
11-
unicode_literals)
12-
1310
import six
1411

1512
import gzip

lib/matplotlib/backends/backend_macosx.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from __future__ import (absolute_import, division, print_function,
2-
unicode_literals)
3-
41
import os
52

63
from matplotlib._pylab_helpers import Gcf

0 commit comments

Comments
 (0)