Skip to content
C

Problem 2: Add Titles and a Figure-Wide Title

Easypython

Problem Description

Write a Python program that creates 2 subplots, gives each an individual title, and adds one overall figure title using suptitle().

Input

Data for two simple charts.

Output

A figure with both individual and overall titles displayed.

Constraints

  • None specific.

Example Input

text
(Any two simple datasets for two subplots)

Example Output

text
(A figure with two titled subplots and one overall title above both)

Concepts Covered

set_title(), fig.suptitle().

Input (stdin)

Output

Run your code to see output here...