Skip to content

Commit 5d8ba4e

Browse files
committed
pylint fixes
1 parent 8fba566 commit 5d8ba4e

9 files changed

+18
-18
lines changed

test/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
import subprocess
88
import tempfile
99

10-
import matplotlib2tikz
11-
1210
import imagehash
1311
import matplotlib
1412
import matplotlib.image as mpimg
1513
import matplotlib.pyplot as plt
1614
from PIL import Image
1715

16+
import matplotlib2tikz
17+
1818

1919
class Phash(object):
2020
def __init__(self, fig):

test/test_annotate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
from helpers import Phash
4-
53
import matplotlib.pyplot as plt
64
import numpy as np
75

6+
from helpers import Phash
7+
88

99
def plot():
1010
fig = plt.figure(1, figsize=(8, 5))

test/test_fancybox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# -*- coding: utf-8 -*-
22
#
33
# Taken from http://matplotlib.org/examples/pylab_examples/fancybox_demo.html
4-
import helpers
5-
64
import matplotlib.pyplot as plt
75
import matplotlib.transforms as mtransforms
86
from matplotlib.patches import FancyBboxPatch
97

8+
import helpers
9+
1010

1111
# Bbox object around which the fancy box will be drawn.
1212
bb = mtransforms.Bbox([[0.3, 0.4], [0.7, 0.6]])

test/test_image_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
import helpers
4-
53
import matplotlib.pyplot as plt
64
import pytest
75

6+
import helpers
7+
88
# the picture 'lena.png' with origin='lower' is flipped upside-down.
99
# So it has to be upside-down in the pdf-file as well.
1010

test/test_loglogplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
import helpers
4-
53
from matplotlib import pyplot as plt
64
import numpy as np
75

6+
import helpers
7+
88

99
def plot():
1010
fig = plt.figure()

test/test_noise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#
33
from __future__ import print_function
44

5-
import helpers
6-
75
import numpy as np
86
import matplotlib.pyplot as plt
97
import pytest
108

9+
import helpers
10+
1111

1212
def plot1():
1313
# Make plot with vertical (default) colorbar

test/test_rotated_labels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import os
44
import tempfile
55

6-
import matplotlib2tikz
7-
86
import pytest
97
from matplotlib import pyplot as plt
108

9+
import matplotlib2tikz
10+
1111

1212
def __plot():
1313
fig, ax = plt.subplots()

test/test_sharex_and_y.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
import helpers
4-
53
import matplotlib.pyplot as plt
64
import numpy as np
75

6+
import helpers
7+
88

99
def plot():
1010
fig, axes = plt.subplots(2, 2, sharex=True, sharey=True, figsize=(8, 5))

test/test_text_overlay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
import helpers
4-
53
import matplotlib.pyplot as plt
64
import numpy
75

6+
import helpers
7+
88

99
def plot():
1010
fig = plt.figure()

0 commit comments

Comments
 (0)