There are 2 charts in Python: df.plot(kind='scatter', x='User_Score', y='Global_Sales', plt.ylim(0, 40) df.plot(kind='scatter', x='Critic_Score', y='Global_Sales', plt.ylim(0, 40) Rewrite the code so that the two charts are not separate but are subplots.
import matplotlib.pyplot as plt fig, axes = plt.subplots(nrows=1, ncols=2) df.plot(kind='scatter', x='User_Score', y='Global_Sales', ax=axes[0]) df.plot(kind='scatter', x='Critic_Score', y='Global_Sales', ax=axes[1]) plt.show()