I use the command plt. I use the command plt.suptitle ('Awesome title') (1) to have a centered title above the 6 plots. Gs = gridspec.GridSpecFromSubplotSpec(1, 3, subplot_spec=grid)įig. Centered title inside of a subplot (matplotlib, pyplot) Ask Question Asked 6 years, 6 months ago Modified 6 years, 6 months ago Viewed 16k times 6 I have a 3x2 grid of equal sized plots. # create subgrid for two subplots without space between them Subfig.suptitle(f'Subfigure title \n', fontweight='semibold', size=14) Subfigs = fig.subfigures(nrows=3, ncols=1)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |