diff options
| author | tylov <[email protected]> | 2023-07-24 22:57:44 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-24 22:57:44 +0200 |
| commit | 78ba677b59a8cecd69f733fca1a37ad01b38320f (patch) | |
| tree | 7a045c9c60ff74f6b04c10ce05921a3b3782c499 /misc/benchmarks/plotbench/plot.py | |
| parent | f1f0c01e798eb3217e62a43de660723173984547 (diff) | |
| download | STC-modified-78ba677b59a8cecd69f733fca1a37ad01b38320f.tar.gz STC-modified-78ba677b59a8cecd69f733fca1a37ad01b38320f.zip | |
Updated and fixed benchmarks and performance graphs.
Diffstat (limited to 'misc/benchmarks/plotbench/plot.py')
| -rw-r--r-- | misc/benchmarks/plotbench/plot.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/benchmarks/plotbench/plot.py b/misc/benchmarks/plotbench/plot.py index 8e684ccc..4a02c6b2 100644 --- a/misc/benchmarks/plotbench/plot.py +++ b/misc/benchmarks/plotbench/plot.py @@ -13,12 +13,11 @@ if n > 0: df = df[df.Compiler == comp[n]] g = sns.catplot(data=df, x='Method', y='Seconds', hue='Library', col='C', kind='bar', orient='v', - errorbar=('ci', 68), legend=False, col_wrap=2, sharex=False, aspect=1.4, height=3.1) + errorbar=('ci', 68), legend=False, col_wrap=2, sharex=False, aspect=1.4, height=3.0) g.set_xlabels('') -g.add_legend(bbox_to_anchor=(0.75, 0.2), borderaxespad=0.) - -g.fig.subplots_adjust(top=0.90, left=0.06, bottom=0.07) +g.add_legend(bbox_to_anchor=(0.75, 0.2), borderaxespad=0) +g.fig.subplots_adjust(top=0.90, left=0.08, right=0.98, bottom=0.04, hspace=0.4) g.fig.suptitle('Benchmark STC vs c++ std containers: %s' % comp[n], fontsize=15, y=0.98) plt.show() |
