Increasing annotation size in nilearn plots

Hello,

I’m working on a poster and struggling to figure out how to increase the size of the annotation in nilearn’s plot_stat_map:

I figured out how to increase the legends font! But not the annotations font (Left/Right, coordinates)

import matplotlib.pyplot as plt
fig = plt.figure(figsize=(20, 12))
plt.rcParams.update({‘font.size’: 26})

plotting.plot_stat_map(zmap, draw_cross=False,bg_img=’/home/saptaf1/.cache/templateflow/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-brain_T1w.nii.gz’,display_mode=“xz”, vmax=6, figure=fig)

Simply decrease figsize.
HTH,
Bertrand

But I need a big figure for the poster. I tried .svg but that has its own problems…

I think I figured it out thanks to finding a relevant github issue:

plt.figure(figsize=(30, 22))
fig = plotting.plot_stat_map(zmap, draw_cross=False,bg_img='/home/saptaf1/.cache/templateflow/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-brain_T1w.nii.gz',display_mode="xz", vmax=6, annotate=False)
fig.annotate(size=24)