What does this program print?

from Matplotlib
Python 3.14 beginner 2 min

What does this program print?

Python
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt

fig, (left, right) = plt.subplots(1, 2)
left.plot([1, 2], [3, 4])
right.bar(["A", "B"], [5, 6])
print(len(fig.axes), len(left.lines), len(right.patches))
plt.close(fig)
Open in playground
Report an error