altair_tiles
Project description
This package is in an early development stage. You should expect things to break unannounced until we release a version 1.0.0
.
You can use altair_tiles to add tiles from any xyz tile provider such as OpenStreetMap to your Altair chart. It is a counterpart to the amazing contextily package which provides this functionality for matplotlib.
You can find the documentation here. For a general introduction to plotting geographic data with Altair, see Geoshape - Vega-Altair and Specifying Data - Vega-Altair.
Installation
pip install altair_tiles
altair-tiles requires at least Vega version 5.26.0
. If you use an IDE such as a Jupyter Notebook or VS Code, you usually don't have to worry about this.
Development
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
Run linters and tests with
hatch run test
Build and view the documentation with
hatch run doc:clean
hatch run doc:build
hatch run doc:serve
To run a clean build and publish, run
hatch run doc:build-and-publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for altair_tiles-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65265c8320721c4b6e8da91e65a2693fcd00384a7a4c2f577b3e78d9de604e8a |
|
MD5 | ef9e8419933f9e4b4b4dc9f1af013176 |
|
BLAKE2b-256 | a2244ad625a6ff904d7b2154294e7ab12b304fc43569ba2a621aba2e92a106e8 |