8000 Fix axes.set_prop_cycle to handle any generic iterable sequence. by u55 · Pull Request #5452 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix axes.set_prop_cycle to handle any generic iterable sequence. #5452

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 2 commits into from
Nov 10, 2015
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
Fix pep8 errors in the last commit.
  • Loading branch information
u55 committed Nov 9, 2015
commit 35719218ad2730982fd77cdefa43903cc04692b0
3 changes: 1 addition & 2 deletions lib/matplotlib/tests/test_cycles.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,11 @@ def test_invalid_input_forms():
with assert_raises((TypeError, ValueError)):
ax.set_prop_cycle('linewidth', 1)
with assert_raises((TypeError, ValueError)):
ax.set_prop_cycle('linewidth', {'1':1, '2':2})
ax.set_prop_cycle('linewidth', {'1': 1, '2': 2})
with assert_raises((TypeError, ValueError)):
ax.set_prop_cycle(linewidth=1, color='r')



if __name__ == '__main__':
import nose
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)
0