There are many different visualization packages in Python, and matplotlib is arguably the most popular one. It has been developed for around 14 years, provides almost all functionalities available to visualize static graph. Recently, the 2.0 version upgrade makes its graph much nicer even using default style, so it definitely worth learning.
Visualization in Matplotlib is not very easy, one need to know what each graph type is capable of, and their detailed parameters. So here, I wrote some "sample code" as if a "cheatsheet": use (sometimes redundantly) more parameters to generate fairly complicated graph. In this case, whenever we encounter any customization request later, referring to these code could usually be helpful. This post covers following graph type: Pie, Bar, Hist, Boxplot, Violinplot. The details can be seen in following three links: Pie-Bar, Hist, Box-Violin
0 Comments
Leave a Reply. |
AuthorData Magician Archives
October 2017
Categories
All
|