你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-04 11:36:52 +08:00
Updates to handle bug with matplotlib and versions of qt/pyqt.
这个提交包含在:
@@ -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
|
||||
|
在新工单中引用
屏蔽一个用户