diff --git a/GPy/testing/plotting_tests.py b/GPy/testing/plotting_tests.py index 23564ff3..90dceab0 100644 --- a/GPy/testing/plotting_tests.py +++ b/GPy/testing/plotting_tests.py @@ -38,7 +38,7 @@ from nose import SkipTest try: import matplotlib - matplotlib.use('agg', warn=False) + matplotlib.use('agg') except ImportError: # matplotlib not installed from nose import SkipTest diff --git a/travis_tests.py b/travis_tests.py index bd3f5680..16713962 100644 --- a/travis_tests.py +++ b/travis_tests.py @@ -31,7 +31,7 @@ #!/usr/bin/env python import matplotlib -matplotlib.use('agg', warn=False) +matplotlib.use('agg') import nose, warnings with warnings.catch_warnings():