輕松創建圖表的Python庫:prettyplotlib

jopen 11年前發布 | 20K 次閱讀 Python開發 prettyplotlib

prettyplotlib 是一個用于可輕松創建各種漂亮圖表的 Python  matplotlib 增強庫。matplotlib 是python最著名的繪圖庫,它提供了一整套和matlab相似的命令API,十分適合交互式地進行制圖。而且也可以方便地將它作為繪圖控件,嵌入GUI應用程序中。它的文檔相當完備,并且 Gallery頁面 中有上百幅縮略圖,打開之后都有源程序。因此如果你需要繪制某種類型的圖,只需要在這個頁面中瀏覽/復制/粘貼一下,基本上都能搞定。

環境要求:

  • matplotlib. Can be installed via pip install matplotlib or easy_install matplotlib
  • brewer2mpl. Can be installed via pip install brewer2mpl or easy_install brewer2mpl

與matplotlib比較

matplotlib default plot
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default plot
輕松創建圖表的Python庫:prettyplotlib
matplotlib default fill_between
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default fill_between
輕松創建圖表的Python庫:prettyplotlib
matplotlib default fill_betweenx
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default fill_betweenx
輕松創建圖表的Python庫:prettyplotlib
matplotlib default scatter
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default scatter
輕松創建圖表的Python庫:prettyplotlib
matplotlib default bar
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default bar
輕松創建圖表的Python庫:prettyplotlib
matplotlib default non-annotated bar
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default annotated bar
輕松創建圖表的Python庫:prettyplotlib
matplotlib default hist
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default hist
輕松創建圖表的Python庫:prettyplotlib
matplotlib default hist
with grid
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default hist
with grid
輕松創建圖表的Python庫:prettyplotlib
matplotlib default boxplot
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default boxplot
輕松創建圖表的Python庫:prettyplotlib
matplotlib default pcolormesh
positive and negative data
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default pcolormesh
positive and negative data
輕松創建圖表的Python庫:prettyplotlib
matplotlib default pcolormesh
positive data only
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib default pcolormesh
positive data only
輕松創建圖表的Python庫:prettyplotlib
matplotlib pcolormesh
negative-valued data with labels
輕松創建圖表的Python庫:prettyplotlib
prettyplotlib pcolormesh
negative-valued data with labels
輕松創建圖表的Python庫:prettyplotlib

 

項目主頁:http://www.baiduhome.net/lib/view/home/1409446723822

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!