Skip to content

Commit 8d36b90

Browse files
authored
Merge branch 'master' into patch-1
2 parents e11d12b + 2f6296c commit 8d36b90

19 files changed

+20
-19
lines changed

test/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ def __init__(self, fig):
8383
pdf_file = tmp_base + '.pdf'
8484

8585
# Convert PDF to PNG.
86+
# Use a high resolution here to cover small changes.
8687
ptp_out = subprocess.check_output(
8788
[
88-
'pdftoppm', '-rx', '600', '-ry', '600', '-png',
89+
'pdftoppm', '-r', '2400', '-png',
8990
pdf_file, tmp_base
9091
],
9192
stderr=subprocess.STDOUT

test/test_annotate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def plot():
3939
def test():
4040
plt.close('all')
4141
phash = Phash(plot())
42-
assert phash.phash == 'ab8a79a1549654be', phash.get_details()
42+
assert phash.phash == 'ab8a71a1549e54be', phash.get_details()
4343

4444

4545
if __name__ == '__main__':

test/test_basic_sin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def plot():
2525

2626
def test():
2727
phash = helpers.Phash(plot())
28-
assert phash.phash == '1f36e5c621c1e7c1', phash.get_details()
28+
assert phash.phash == '1f36e5ce21c1e5c1', phash.get_details()
2929

3030

3131
if __name__ == '__main__':

test/test_boxplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ def plot():
5151

5252
def test():
5353
phash = Phash(plot())
54-
assert phash.phash == '6be3e6b95e8000de', phash.get_details()
54+
assert phash.phash == '69e2f6b97e8000de', phash.get_details()

test/test_dual_axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ def plot():
1919

2020
def test():
2121
phash = Phash(plot())
22-
assert phash.phash == '5382544c16bdde75', phash.get_details()
22+
assert phash.phash == '5b82544c169dde75', phash.get_details()

test/test_errorband.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ def plot():
2323

2424
def test():
2525
phash = Phash(plot())
26-
assert phash.phash == 'af2cd5922172772c', phash.get_details()
26+
assert phash.phash == 'af2cd59221727725', phash.get_details()

test/test_errorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def plot():
2121

2222
def test():
2323
phash = helpers.Phash(plot())
24-
assert phash.phash == 'a3435e25bea866b8', phash.get_details()
24+
assert phash.phash == 'ab435e25bea866b0', phash.get_details()

test/test_fancybox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def plot():
193193

194194
def test():
195195
phash = helpers.Phash(plot())
196-
assert phash.phash == '9d2327dc23cdd81a', phash.get_details()
196+
assert phash.phash == 'dd2325dc23cdd81a', phash.get_details()
197197

198198

199199
if __name__ == '__main__':

test/test_fillstyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ def plot():
1818

1919
def test():
2020
phash = helpers.Phash(plot())
21-
assert phash.phash == 'a103fa09ee613e9e', phash.get_details()
21+
assert phash.phash == 'a103fa59ee613e86', phash.get_details()

test/test_legend_best_location.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ def plot():
6262

6363
def test():
6464
phash = helpers.Phash(plot())
65-
assert phash.phash == '879d991d0e877c1c', phash.get_details()
65+
assert phash.phash == '839f990d0e877c1d', phash.get_details()
6666
return

0 commit comments

Comments
 (0)