Updates to handle bug with matplotlib and versions of qt/pyqt.

这个提交包含在:
Craig Warren
2016-09-22 10:22:33 +01:00
父节点 9b678060db
当前提交 04da1ec6e7
共有 13 个文件被更改,包括 1 次插入48 次删除

查看文件

@@ -11,6 +11,7 @@ dependencies:
- matplotlib
- numpy
- psutil
- pyqt=4.11.4
- scipy
- pip:

查看文件

@@ -441,10 +441,6 @@ def plot_optimisation_history(fitnessvalueshist, optparamshist, optparamsinit):
optparamshist (dict): Name of parameters to optimise and history of their values
"""
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
# Plot history of fitness values

查看文件

@@ -3,10 +3,6 @@ import os
import sys
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec

查看文件

@@ -22,10 +22,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec

查看文件

@@ -22,10 +22,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from gprMax.exceptions import CmdInputError

查看文件

@@ -21,10 +21,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from tools.plot_fields import plot_Ascan

查看文件

@@ -22,10 +22,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec

查看文件

@@ -22,10 +22,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from gprMax.exceptions import CmdInputError

查看文件

@@ -22,10 +22,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec

查看文件

@@ -21,10 +21,6 @@ import os
import sys
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from gprMax.exceptions import CmdInputError

查看文件

@@ -11,10 +11,6 @@ import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from gprMax.constants import c, z0

查看文件

@@ -10,10 +10,6 @@ import os
import sys
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from gprMax.constants import c, z0

查看文件

@@ -9,10 +9,6 @@ import os
import sys
import h5py
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import numpy as np
from scipy import signal