Skip to content
Snippets Groups Projects
Commit 93cadbed authored by Jammer, Tim's avatar Jammer, Tim
Browse files

increase hatch linewidth

parent 5c99ad62
No related branches found
No related tags found
1 merge request!20Parsing and tools updates
......@@ -19,9 +19,12 @@ import logging
import pandas
import pandas as pd
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
mpl.rcParams['hatch.linewidth'] = 4.5 # hatch linewidth
# Add our lib directory to the PYTHONPATH, and load our utilitary libraries
sys.path.append(f'{os.path.dirname(os.path.abspath(__file__))}/scripts')
......@@ -740,14 +743,14 @@ def cmd_csv(rootdir, toolnames):
print("overall_noise")
print(df_plot["noise_ratio"])
#df_copy = df.copy()
#df_copy.loc[df_copy['ERROR_EXPECTED'] == False, ['num_noise_class_line', 'num_error_reports']] = 0
#df_plot = df_copy.groupby("category").sum()
#df_plot.loc["ALL"] = df_plot.sum(axis=0)
#df_plot.drop("other", axis=0, inplace=True)
#df_plot["noise_ratio"] = df_plot["num_noise_line"] / df_plot["num_error_reports"]
#print("noise_in_cases_where_errors_are_present")
#print(df_plot[["noise_ratio", "num_noise_class_line", "num_error_reports"]])
df_copy = df.copy()
df_copy.loc[df_copy['ERROR_EXPECTED'] == False, ['num_noise_class_line', 'num_error_reports']] = 0
df_plot = df_copy.groupby("category").sum()
df_plot.loc["ALL"] = df_plot.sum(axis=0)
df_plot.drop("other", axis=0, inplace=True)
df_plot["noise_ratio"] = df_plot["num_noise_line"] / df_plot["num_error_reports"]
print("noise_in_cases_where_errors_are_present")
print(df_plot[["noise_ratio", "num_noise_class_line", "num_error_reports"]])
def cmd_latex(rootdir, toolnames):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment