Skip to content

Commit 42185f8

Browse files
committed
fixing pep8 failures.
1 parent de69032 commit 42185f8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
from matplotlib.transforms import Bbox
1313
from matplotlib import rcParams, rc_context
1414
import matplotlib.pyplot as plt
15-
from numpy.testing import assert_array_equal, assert_array_almost_equal
16-
import pytest
17-
import io
18-
import os
15+
16+
from numpy.testing import assert_array_equal
1917

2018
try:
2119
from PIL import Image

lib/matplotlib/tests/test_simplification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import matplotlib.pyplot as plt
1010
import pytest
1111

12-
import pylab
12+
from pylab import *
1313
import numpy as np
1414
from matplotlib import patches, path, transforms
1515

lib/matplotlib/tests/test_triangulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def test_trifinder():
277277
trifinder = triang.get_trifinder()
278278

279279
xs = [-0.2, 0.2, 0.8, 1.2]
280-
ys = [ 0.5, 0.5, 0.5, 0.5]
280+
ys = [0.5, 0.5, 0.5, 0.5]
281281
tris = trifinder(xs, ys)
282282
assert_array_equal(tris, [-1, 0, 1, -1])
283283

0 commit comments

Comments
 (0)