Cleanup of imports and checking using pylint

这个提交包含在:
craig-warren
2020-04-07 15:24:22 +01:00
父节点 e76679e62b
当前提交 1ef898384a
共有 59 个文件被更改,包括 719 次插入429 次删除

查看文件

@@ -20,10 +20,9 @@ import argparse
from pathlib import Path
import h5py
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
import matplotlib.pyplot as plt
import numpy as np
from gprMax.exceptions import CmdInputError
@@ -412,10 +411,10 @@ def mpl_plot(filename, time, freqs, Vinc, Vincp, Iinc, Iincp, Vref, Vrefp, Iref,
# ax.grid(which='both', axis='both', linestyle='-.')
# Save a PDF/PNG of the figure
savename1 = file.stem + '_tl_params'
savename1 = file.parent / savename1
savename2 = file.stem + '_ant_params'
savename2 = file.parent / savename2
savename1 = filename.stem + '_tl_params'
savename1 = filename.parent / savename1
savename2 = filename.stem + '_ant_params'
savename2 = filename.parent / savename2
# fig1.savefig(savename1.with_suffix('.png'), dpi=150, format='png',
# bbox_inches='tight', pad_inches=0.1)
# fig2.savefig(savename2.with_suffix('.png'), dpi=150, format='png',