Study the following code and answer the questions below.fig,…
Study the following code and answer the questions below.fig, axes = plt.subplots(2, 2, figsize=(12, 8)) axes.plot(months, revenue, marker=’o’) plt.title(‘Revenue Trend’) # Line A axes.bar(regions, profit) axes.set_title(‘Profit by Region’) axes.pie(shares, labels=regions) axes.set_title(‘Market Share’) axes.scatter(spend, sales) axes.set_title(‘Ad Spend vs Sales’) plt.show() plt.savefig(‘dashboard.png’, dpi=300) # Line B (a) Line A uses plt.title() instead of axes.set_title(). What problem will this cause?(b) Line B calls plt.savefig() after plt.show(). What will happen when the file is saved?(c) What function should be called before plt.show() to prevent subplot labels from overlapping?