python绘图库有哪些_[必备工具]Python可视化绘图库Altair

https://altair-viz.github.io/index.html

Altairis a declarative statistical visualization library for Python, based on Vega and Vega-Lite, and the source is available on GitHub.

With Altair, you can spend more time understanding your data and its meaning. Altair’s API is simple, friendly and consistent and built on top of the powerful Vega-Lite visualization grammar. This elegant simplicity produces beautiful and effective visualizations with a minimal amount of code.

Getting StartedOverview

Installation

Basic Statistical Visualization

GalleryExample Gallery

User GuideSpecifying Data in Altair

Encodings

Marks

Data Transformations

Bindings, Selections, Conditions: Making Charts Interactive

Top-Level Chart Configuration

Compound Charts: Layer, HConcat, VConcat, Repeat, Facet

Scale and Guide Resolution

Saving Altair Charts

Customizing Visualizations

Times and Dates in Altair

Frequently Asked Questions

Display Troubleshooting

Altair Renderers

Altair Internals: Understanding the Library

API Reference

Altair Ecosystem

Case StudiesExploring Seattle Weather

Advanced UsageImporting Vega & Vega-Lite Versions

Displaying Charts in Various Frontends

Customizing Renderers

Data transformers

Installation

To use Altair for visualization, you need to install two sets of toolsThe core Altair Package and its dependencies

The renderer for the frontend you wish to use (i.e. Jupyter Notebook, JupyterLab, Colab, or nteract)

Additionally, Altair’s documentation makes use of the vega_datasets package, and so it is included in the installation instructions below.

Depending on the frontend you would like to use, the instructions differ slightly. See the following instructions for your chosen frontend:Quick Start: Altair + JupyterLab

Quick Start: Altair + Notebook

Quick Start: Altair + Colab

Quick Start: Altair + JupyterLab

We recommend installing Altair with JupyterLab. If you would like to use it with the classic notebook, see Quick Start: Altair + Notebook.

Altair version 3 works best with JupyterLab version 1.0 or later.

To install JupyterLab and Altair with conda, run the following command:$ conda install -c conda-forge altair vega_datasets jupyterlab

To install JupyterLab and Altair with pip, run the following command:$ pip install -U altair vega_datasets jupyterlab

Once this is finished, run:$ jupyter lab

In the browser window that launches, select “File”->”New”->”Notebook” and then click “Select” without changing the kernel (it should say “Python 2” or “Python 3” depending on which Python version you are running).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值