Skip to content

Commit

Permalink
Tweak commands viz to make bg transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
LLazarek committed Jan 14, 2025
1 parent 0b3d1d6 commit c98af87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/viz/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import os
from syntax import *

# Data format example:
Expand Down Expand Up @@ -46,7 +47,7 @@ def command_distribution(df, outdir=None):
"font.family": "serif",
"font.serif": ["Times New Roman"], # Replace with your LaTeX font if different
})
plt.savefig(os.path.join(outdir, 'bensh-cmd-distribution.pdf'))
plt.savefig(os.path.join(outdir, 'bensh-cmd-distribution.pdf'), facecolor='none', edgecolor='none')
else:
plt.show()

Expand Down

0 comments on commit c98af87

Please sign in to comment.