Skip to content

Commit fa29e9b

Browse files
committed
Tweaking font sizes on README chart
1 parent 43ee807 commit fa29e9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmarks/decoders/benchmark_decoders_library.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ def retrieve_videos(urls_and_dest_paths):
393393

394394

395395
def plot_data(df_data, plot_path):
396+
plt.rcParams["font.size"] = 18
397+
396398
# Creating the DataFrame
397399
df = pd.DataFrame(df_data)
398400

@@ -440,9 +442,7 @@ def plot_data(df_data, plot_path):
440442

441443
# Set the title for the subplot
442444
base_video = Path(video).name.removesuffix(".mp4")
443-
ax.set_title(
444-
f"video={base_video}\ndecode_pattern={vcount} x {vtype}", fontsize=10
445-
)
445+
ax.set_title(f"{base_video}\n{vcount} x {vtype}", fontsize=11)
446446

447447
# Plot bars with error bars
448448
ax.barh(
13.7 KB
Loading

0 commit comments

Comments
 (0)