Skip to content

Rcparam validation fix #3564

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 19 commits into from
Oct 14, 2014
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
Next Next commit
TST : minor tweaks to animation smoketests
  • Loading branch information
tacaswell committed Oct 1, 2014
commit 30eaa0be51682c33e7065e36c372aeb2bc48ce57
5 changes: 4 additions & 1 deletion lib/matplotlib/tests/test_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_save_animation_smoketest():
yield check_save_animation, writer, extension


@with_setup(CleanupTest.setup_class, CleanupTest.teardown_class)
@cleanup
def check_save_animation(writer, extension='mp4'):
if not animation.writers.is_available(writer):
raise KnownFailureTest("writer '%s' not available on this system"
Expand All @@ -39,6 +39,9 @@ def check_save_animation(writer, extension='mp4'):
fig, ax = plt.subplots()
line, = ax.plot([], [])

ax.set_xlim(0, 10)
ax.set_ylim(-1, 1)

def init():
line.set_data([], [])
return line,
Expand Down