misc: Run pre-commit run --all-files
This ensures `isort` is applied to all files in the repo. Change-Id: Ib7ced1c924ef1639542bf0d1a01c5737f6ba43e9
This commit is contained in:
@@ -36,11 +36,12 @@
|
||||
import matplotlib
|
||||
|
||||
matplotlib.use("Agg")
|
||||
import matplotlib.pyplot as plt
|
||||
from matplotlib.font_manager import FontProperties
|
||||
import numpy as np
|
||||
import os
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
from matplotlib.font_manager import FontProperties
|
||||
|
||||
# global results dict
|
||||
results = {}
|
||||
idleResults = {}
|
||||
|
||||
@@ -36,15 +36,15 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
try:
|
||||
import matplotlib.pyplot as plt
|
||||
import matplotlib as mpl
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
except ImportError:
|
||||
print("Failed to import matplotlib and numpy")
|
||||
exit(-1)
|
||||
|
||||
import sys
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
||||
# This script is intended to post process and plot the output from
|
||||
|
||||
@@ -36,16 +36,16 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
try:
|
||||
from mpl_toolkits.mplot3d import Axes3D
|
||||
from matplotlib import cm
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
from matplotlib import cm
|
||||
from mpl_toolkits.mplot3d import Axes3D
|
||||
except ImportError:
|
||||
print("Failed to import matplotlib and numpy")
|
||||
exit(-1)
|
||||
|
||||
import sys
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
||||
# Determine the parameters of the sweep from the simout output, and
|
||||
|
||||
@@ -35,11 +35,12 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import PlotPowerStates as plotter
|
||||
import argparse
|
||||
import os
|
||||
from subprocess import call
|
||||
|
||||
import PlotPowerStates as plotter
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user