- Seaborn 教程
- Seaborn - 主頁
- Seaborn - 簡介
- Seaborn - 環境設定
- 匯入資料集和庫
- Seaborn - 圖風格
- Seaborn- 調色盤
- Seaborn - 直方圖
- Seaborn - 核密度估計
- 視覺化成對關係
- Seaborn - 繪製類別資料
- 觀察分佈
- Seaborn - 統計估計
- Seaborn - 繪製寬形式資料
- 多面板類別圖
- Seaborn - 線性關係
- Seaborn - 分面網格
- Seaborn - 組網格
- 函式參考
- Seaborn - 函式參考
- Seaborn 有用資源
- Seaborn - 快速指南
- Seaborn - 有用資源
- Seaborn - 討論
Seaborn - 環境設定
在本章中,我們將討論 Seaborn 的環境設定。讓我們從安裝開始,瞭解如何開始使用它。
安裝 Seaborn 並開始使用
在本節中,我們將瞭解 Seaborn 安裝涉及的步驟。
使用 Pip 安裝程式
要安裝最新版本的 Seaborn,可以使用 pip -
pip install seaborn
對於使用 Anaconda 的 Windows、Linux 和 Mac
Anaconda(來自 https://www.anaconda.com/ 是適用於 SciPy 堆疊的免費 Python 分發版。它也適用於 Linux 和 Mac。
還可以使用 conda 安裝釋出版本 -
conda install seaborn
直接從 github 安裝開發版本的 Seaborn
https://github.com/mwaskom/seaborn"
依賴項
考慮 Seaborn 的以下依賴項 -
- Python 2.7 或 3.4+
- numpy
- scipy
- pandas
- matplotlib
廣告