Skip to content

Commit 2ad1a27

Browse files
committed
PEP8 : re-order imports in mlab.py
1 parent c9d1509 commit 2ad1a27

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/matplotlib/mlab.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@
167167

168168
import six
169169
from six.moves import map, xrange, zip
170-
if six.PY3:
171-
long = int
172170

173171
import copy
174172
import csv
@@ -177,12 +175,17 @@
177175
import warnings
178176

179177
import numpy as np
180-
ma = np.ma
181178
from matplotlib import verbose
182179

183180
import matplotlib.cbook as cbook
184181
from matplotlib import docstring
185182
from matplotlib.path import Path
183+
import math
184+
185+
ma = np.ma
186+
187+
if six.PY3:
188+
long = int
186189

187190

188191
def logspace(xmin, xmax, N):
@@ -2065,8 +2068,6 @@ def movavg(x, n):
20652068
20662069
"""
20672070

2068-
import math
2069-
20702071

20712072
# *****************************************************************************
20722073
# Globals

0 commit comments

Comments
 (0)