add python script to plot n vs rating