--- trunk/doc/SConscript 2009/09/18 05:33:10 2673 +++ trunk/doc/SConscript 2009/09/21 00:37:18 2674 @@ -47,9 +47,13 @@ haveGMSH=(os.system("gmsh -version")/256==0) #Do we have gmsh installed? haveMPL=False #Do we have matplotlib? haveGD=False #Does the matplotlib have griddata? + +mplmagicversion='0.98.5' + try: import matplotlib haveMPL=True + mplversion=matplotlib.__version__ from matplotlib.mlab import griddata haveGD=True except ImportError: @@ -58,8 +62,8 @@ if not haveMPL: print "matplotlib not found skipping some tests" else: - if not haveGD: - print "matplotlib found but griddata not provided" + if mplversion=mplmagicversion: example_files_no_mpi.append('cookbook/twodheatdiff001.py') example_files_no_mpi.append('usersguide/poisson_matplotlib.py') example_files_allow_mpi.append('usersguide/wave.py')