mug up (on) vs swot up (on)

mug up (on)

swot up (on)

How often have the words mug up (on) and swot up (on) occurred in a corpus of books? (source: Google Ngram Viewer )