Revision: 7664
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7664&view=rev
Author: astraw
Date: 2009-09-06 22:45:48 +0000 (Sun, 06 Sep 2009)
Log Message:
-----------
testing: set backend to Agg only once
Modified Paths:
--------------
trunk/matplotlib/doc/devel/coding_guide.rst
trunk/matplotlib/lib/matplotlib/__init__.py
trunk/matplotlib/lib/matplotlib/tests/test_spines.py
Modified: trunk/matplotlib/doc/devel/coding_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/coding_guide.rst 2009-09-06 22:32:05 UTC (rev
7663)
+++ trunk/matplotlib/doc/devel/coding_guide.rst 2009-09-06 22:45:48 UTC (rev
7664)
@@ -719,7 +719,6 @@
import numpy as np
import matplotlib
- matplotlib.use('Agg')
from matplotlib.testing.decorators import image_comparison
import matplotlib.pyplot as plt
Modified: trunk/matplotlib/lib/matplotlib/__init__.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/__init__.py 2009-09-06 22:32:05 UTC (rev
7663)
+++ trunk/matplotlib/lib/matplotlib/__init__.py 2009-09-06 22:45:48 UTC (rev
7664)
@@ -888,7 +888,7 @@
import nose.plugins.builtin
from testing.noseclasses import KnownFailure
from nose.plugins.manager import PluginManager
-
+ use('Agg') # use Agg backend for these tests
plugins = []
plugins.append( KnownFailure() )
plugins.extend( [plugin() for plugin in nose.plugins.builtin.plugins] )
Modified: trunk/matplotlib/lib/matplotlib/tests/test_spines.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/tests/test_spines.py 2009-09-06
22:32:05 UTC (rev 7663)
+++ trunk/matplotlib/lib/matplotlib/tests/test_spines.py 2009-09-06
22:45:48 UTC (rev 7664)
@@ -1,6 +1,5 @@
import numpy as np
import matplotlib
-matplotlib.use('Agg')
from matplotlib.testing.decorators import image_comparison
import matplotlib.pyplot as plt
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins