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

Skip to content

Added %s support for labels. #1107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 21, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Made test_legend non utf-8 for cross developer compat.
  • Loading branch information
pelson committed Aug 20, 2012
commit 20fffe1d1f3094e36c6f83ae4f9e631eb0dae658
4 changes: 1 addition & 3 deletions lib/matplotlib/tests/test_legend.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import numpy as np

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