40923248 cp2020

  • Home
    • Site Map
    • reveal
    • blog
  • 首YA
  • HW1
    • PCH 15 Introduction to Wireless Networking 無線網絡簡介
      • Wireless LANs 無線局域網
      • Wireless Devices 無線設備
      • Wireless Standards 無線標準
      • Privacy and Security 隱私和安全
      • Wireless Networking Types 無線網絡類型
    • PCH 16  Internet Connectivity 互聯網連接
      • Internet Connectivity 互聯網連接
      • Networking  Internet Connectivity  聯網 Internet連接
      • Setting up a Network 建立網絡
  • HW2
  • HW3
    • Birthday Dictionaries 生日字典
      • Exercise 33  and Solution   練習33 和解決方案
      • Discussion topics 討論主題
      • Dictionaries 辭典
      • QUICK REVIEW 快速復審
      • MORE ON DICTIONARY KEYS 有關字典鍵的更多信息
      • String formatting 字符串格式
      • Solutions 解決方案
    • Tic Tac Toe Draw 井字遊戲抽獎
      • Exercise 27 and Solution 練習27 和解決方案
      • Concepts 概念
      • Solutions解決方案
    • Birthday Plots 生日情節
      • Exercise 36 and Solution 練習36和解決方案
      • Discussion 討論區
      • When to make plots 什麼時候作圖
      • Plotting libraries in Python 用Python繪製庫
      • Installing bokeh 安裝背景虛化
      • Using bokeh 使用散景
  • 心得
  • 自評 65 分
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 安裝背景虛化

Copyright © All rights reserved | This template is made with by Colorlib