How to i put a statistics summary inside my plot as a string. I tried to find in the docs, forum and stackoverflow without success.
How to add text labels and annotations to plots in python.
You can find solution for your question here.