Skip to content

Commit

Permalink
Change .png to .pdf and adjust padding between subplots
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeCreator committed Nov 25, 2024
1 parent 9bd336b commit 678519d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions scripts/scaling/step1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_main.png --moving_avg 5
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_c4_main.png --y_metric c4 --moving_avg 5
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_acc_main.png --y_metric rc_acc
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_main.pdf --moving_avg 5
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_c4_main.pdf --y_metric c4 --moving_avg 5
# python scripts/scaling/step1.py -k v2_main -c scripts/scaling/final.json -o figure/peteish-moreeval/step1_acc_main.pdf --y_metric rc_acc

import argparse
from typing import Any, List, Tuple
Expand Down Expand Up @@ -330,7 +330,7 @@ def main():

axes[j][i].legend().remove()

fig.tight_layout()
fig.tight_layout(w_pad=0.01)
legend = fig.legend(handles, labels, loc='upper center',
ncol=10, fontsize=FONTSIZE, bbox_to_anchor=(0.5, 1.07),
handletextpad=0.3, columnspacing=0.7)
Expand Down
6 changes: 3 additions & 3 deletions scripts/scaling/step2.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# python scripts/scaling/step2.py -k v2_main -c scripts/scaling/step2.json -o figure/peteish-moreeval/step2_main.png --skip_perc 0.1 --moving_avg 5
# python scripts/scaling/step2.py -k v2_main -c scripts/scaling/step2.json -o figure/peteish-moreeval/step2_c4_main.png --x_metric c4 --skip_perc 0.1 --moving_avg 5
# python scripts/scaling/step2.py -k v2_main_mc -c scripts/scaling/step2_mc.json -o figure/peteish-moreeval/step2_mc_main.png -y mc_acc
# python scripts/scaling/step2.py -k v2_main -c scripts/scaling/step2.json -o figure/peteish-moreeval/step2_main.pdf --skip_perc 0.1 --moving_avg 5
# python scripts/scaling/step2.py -k v2_main -c scripts/scaling/step2.json -o figure/peteish-moreeval/step2_c4_main.pdf --x_metric c4 --skip_perc 0.1 --moving_avg 5
# python scripts/scaling/step2.py -k v2_main_mc -c scripts/scaling/step2_mc.json -o figure/peteish-moreeval/step2_mc_main.pdf -y mc_acc

import argparse

Expand Down

0 comments on commit 678519d

Please sign in to comment.