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.
fig, ax = plt.subplots(nrows=1, ncols=2, figsize=(10,5)) ax[0].plot(df[['User_Score', 'Global_Sales']], df['Global_Sales'].max()) ax[1].plot(df[['Critic_Score', 'Global_Sales']], df['Global_Sales'].max())