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

Skip to content

Commit 20fffe1

Browse files
committed
Made test_legend non utf-8 for cross developer compat.
1 parent ff9c545 commit 20fffe1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/tests/test_legend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
import numpy as np
42

53
from matplotlib.testing.decorators import image_comparison
@@ -35,6 +33,6 @@ def test_various_labels():
3533
ax = fig.add_subplot(121)
3634
x = np.arange(100)
3735
ax.plot(range(4), 'o', label=1)
38-
ax.plot(np.linspace(4, 4.1), 'o', label=u'Développés')
36+
ax.plot(np.linspace(4, 4.1), 'o', label=u'D\xe9velopp\xe9s')
3937
ax.plot(range(4, 1, -1), 'o', label='__nolegend__')
4038
ax.legend(numpoints=1)

0 commit comments

Comments
 (0)