Moved x and y axes' magic numbers to variables and removed unneeded frames arg.