Skip to content

Commit

Permalink
[WIP] Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Oct 5, 2024
1 parent 72aa61e commit 9552ce3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions analysis/plot_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def get_args():
parser_main_results.add_argument("--input_path", type=Path, required=True, help="Path to the results file.")
parser_main_results.add_argument("--top_ten_only", action="store_true", help="If set, will only show the top-10 of all models.")
parser_main_results.add_argument("--print_latex", action="store_true", help="If set, print LaTeX table.")

parser_eng_drop = subparsers.add_parser("eng_drop_line", help="Plot english drop as a line chart.", parents=[shared_args])
parser_eng_drop.add_argument("--input_path", type=Path, required=True, help="Path to the results file.")
# fmt: on
return parser.parse_args()

Expand All @@ -53,6 +56,7 @@ def main():

cmd_map = {
"main_heatmap": plot_main_heatmap,
"eng_drop_line": plot_eng_drop_line,
}

def _filter_args(func, kwargs):
Expand Down

0 comments on commit 9552ce3

Please sign in to comment.