Skip to content

Commit

Permalink
Corrected yticks.
Browse files Browse the repository at this point in the history
  • Loading branch information
xehivs committed Apr 29, 2024
1 parent da0f3b6 commit 89f6176
Show file tree
Hide file tree
Showing 4 changed files with 26,104 additions and 29,570 deletions.
16 changes: 14 additions & 2 deletions experiment_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
print(tab_data.shape)

#fig, ax = plt.subplots(1,3, figsize=(15,15), sharex=True, sharey=True)
fig, ax = plt.subplots(4,3, figsize=(15,15), sharex=True, sharey=True)
fig, ax = plt.subplots(4,3, figsize=(15,15), sharex=True, sharey=False)

rows_per_framework = 12
for framework_id in range(4):
Expand Down Expand Up @@ -166,10 +166,22 @@

_env_names = env_names[start:stop]

print(_env_names)

print('A', i, j, len(env_names), start, stop, len(_env_names))

aa.set_yticks(np.arange(len(_env_names)), _env_names, fontsize=15)
# aa.set_yticks(np.arange(len(_env_names)), _env_names, fontsize=15)

for i in range(4):
start = i*rows_per_framework
stop = (i+1)*rows_per_framework

_env_names = env_names[start:stop]

print(i, _env_names)

ax[i,0].set_yticks(np.arange(len(_env_names)), _env_names, fontsize=15)

plt.tight_layout()
plt.savefig('table_vis.png')
plt.savefig('table_vis.eps')
Expand Down
Binary file modified foo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 89f6176

Please sign in to comment.