LearnPy Hub
← Matplotlib Charts problems
Easy

A Title for the Whole Figure

Create a figure with plt.subplots(), set a figure title with fig.suptitle() to the input text and print fig._suptitle.get_text().

Input

One line.

Output

One line.

Sample 1

Input
Sales report
Output
Sales report

Sample 2

Input
Marks
Output
Marks
solution.py
Output appears here
A Title for the Whole Figure · Python practice problem · LearnPy Hub