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
File details
Details for the file altair_tiles-0.3.0.tar.gz
.
File metadata
- Download URL: altair_tiles-0.3.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e0c3d8233fc6697557171bfaef449fbc7eb10e36a730be48235007f60a5e62a |
|
MD5 | 515b058473c0d5e65d29da22db92e1e1 |
|
BLAKE2b-256 | 0008afbd3ebc1e0de4b622f19ff86cc86ec73d8c1af2900d7ccf1a1f8b7b1ce9 |
Provenance
File details
Details for the file altair_tiles-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: altair_tiles-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ddeb3b85780b0c5309e06f1dfd8470661f47e27575541121d603f825b599b4 |
|
MD5 | 04c727998a104f2b140835d43ab18768 |
|
BLAKE2b-256 | ab8c1f76ae01359215bf163600242424d11bc0b429be9a887969094b602f918e |