improved rama.py so that it works when plotting rama_pmf for 1 subplot