Quiz on Working with Text in Matplotlib



1. Which function is used to add text to a plot in Matplotlib?
2. What argument do you use to specify the font size of the text in Matplotlib?
3. How can you align text horizontally in Matplotlib?
4. Which parameter allows you to change the color of the text in Matplotlib?
5. What does the 'bbox' parameter do in the text function?

Advertisements