Question: why ggplot is better than matplotlib?
Answer: Matplotlib was designed to be used with python and numpy and works well with pandas. ... Ggplot was designed to work with R but there are libraries for python. It is a bit more sophisticated than Matplotlib and uses a the Grammar of Graphics philosophy. Great for making great looking colorful plots of basic data sets.