added ylim to km, fixed doc for dummy