This recent NeuroStars post suggests that we are not properly supporting colorbars with the newest matplotlib release (3.5.1). Please see the post for an example rendering.
Nilearn version: 0.9.0
Expected behavior
The colorbar size would be appropriately linked to the figsize.
Actual behavior
The colorbar size does not scale with the figure.
Steps and code to reproduce bug
plotting.plot_stat_map(img, cut_coords=[20, -50, -8], colorbar = True, draw_cross = False, cmap = ‘cyan_copper’, vmax = 7)
This recent NeuroStars post suggests that we are not properly supporting colorbars with the newest matplotlib release (3.5.1). Please see the post for an example rendering.
Nilearn version: 0.9.0
Expected behavior
The colorbar size would be appropriately linked to the figsize.
Actual behavior
The colorbar size does not scale with the figure.
Steps and code to reproduce bug