When to make plots 什麼時候作圖 <<
Previous Next >> Installing bokeh 安裝背景虛化
Plotting libraries in Python 用Python繪製庫
If you are looking for a plotting library in Python, you have two main options: matplotlib and bokeh. Today I want to discuss bokeh, because I think it will become more popular in years to come.
Many Python developers (and especially data scientists and researchers) will tell you that the most commonly used plotting library in Python is matplotlib. I myself was a matplotlib user for many years - the integrations with Python data libraries are great, and migrating from the MATLAB plotting environment to matplotlib is easy. But a friend introduced me to bokeh and I was hooked ever since. Because it is based on D3.js, the visualizations look smooth and professional.
There is no one “best” plotting library - you should use whichever one feels and looks better for you. But for the rest of this post, I’ll talk about how to use bokeh to make a basic plot.
如果要在Python中尋找繪圖庫,則有兩個主要選項:matplotlib和bokeh。今天,我想討論散景,因為我認為它會在未來幾年變得越來越流行。
許多Python開發人員(尤其是數據科學家和研究人員)會告訴您,Python中最常用的繪圖庫是matplotlib。我本人是matplotlib用戶多年,與Python數據庫的集成非常好,並且從MATLAB繪圖環境遷移到matplotlib很容易。但是一個朋友向我介紹了散景,從那時起我就迷上了。由於它基於D3.js,因此可視化效果看起來既流暢又專業。
沒有一個“最佳”繪圖庫-您應該使用對您而言感覺更好的一種。但是,在本文的其餘部分中,我將討論如何使用bokeh進行基本繪圖。
When to make plots 什麼時候作圖 <<
Previous Next >> Installing bokeh 安裝背景虛化