Skip to content
Advertisement

matplotlib title() not showing

Why is the first title not shown, but the second title is? And how should I fix this? I suspect the problem is that plt.title('PSBA mRNA') resets the title before the previous one is shown. But adding plt.show() after plt.title('Viral_load') introduces other problems with the plots.

JavaScript

QQ plots

Advertisement

Answer

You have to use ax.set_title('title') method to set title to the axes

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement