Skip to content

Commit 272e5b5

Browse files
committed
adjust fontsize for 5 pies in a row
1 parent d7a9c35 commit 272e5b5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/error_plot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
plt.rcParams["pdf.fonttype"] = 42
1313
plt.rcParams["ps.fonttype"] = 42
14-
FONT_SIZE = 20
14+
FONT_SIZE = 24
1515

1616
# CMAP = pokepalette.get_colormap("lapras")
1717
CMAP = pokepalette.get_colormap("gengar")
@@ -152,9 +152,9 @@ def plot_error_categories_pie_charts(df: pd.DataFrame):
152152
legend_elements,
153153
legend_labels_filtered,
154154
loc="center",
155-
bbox_to_anchor=(0.5, 0.02),
155+
bbox_to_anchor=(0.5, 0.0),
156156
ncol=min(4, len(legend_labels_filtered)),
157-
fontsize=16,
157+
fontsize=FONT_SIZE,
158158
)
159159

160160
return fig

0 commit comments

Comments
 (0)