Update AchievementsPlot.py, just shorten the code.