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
廣告
© . All rights reserved.