官术网_书友最值得收藏!

Easy to use

The Matplotlib plotting library is easy to use in several ways:

  • Firstly, the object-oriented module structures simplify the plotting process. More often than not, we're only required to call import maplotlib.pyplot as plt to import the plotting API to create and customize many basic plots.
  • Matplotlib is highly integrated with two common data analytics packages, pandas and NumPy. For example, we can simply append .plot() to a pandas DataFrame such as by df.plot() to create a simple plot, and customize its styling with Matplotlib syntax.
  • For styling, Matplotlib offers functions to alter the appearance of each feature, and ready-made default style sheets are also available to avoid these extra steps when refined aesthetics is not required.
主站蜘蛛池模板: 临江市| 屯昌县| 红安县| 长岛县| 壶关县| 城口县| 嘉荫县| 乐亭县| 分宜县| 揭东县| 镇江市| 迭部县| 镇原县| 南陵县| 唐山市| 弋阳县| 惠来县| 开江县| 齐河县| 东兰县| 沛县| 平山县| 犍为县| 当雄县| 新竹市| 石阡县| 会理县| 永泰县| 赣榆县| 南通市| 深水埗区| 永和县| 玛多县| 林芝县| 钦州市| 营口市| 调兵山市| 洪雅县| 馆陶县| 珠海市| 临漳县|