Skip to main content

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

or

conda install -c conda-forge 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

altair_tiles-0.4.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

altair_tiles-0.4.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file altair_tiles-0.4.0.tar.gz.

File metadata

  • Download URL: altair_tiles-0.4.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for altair_tiles-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c262a00baad4f37966be9490fc014db0dd7c15c6e98c7cf3cfa5492abb867961
MD5 e3101c43594dac48c527bb2fb6636245
BLAKE2b-256 bc02f08b6d605e514226204505487ad139583e1ea858aad563fd9fbd8d617349

See more details on using hashes here.

File details

Details for the file altair_tiles-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: altair_tiles-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for altair_tiles-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeed1a6d89800f6cf5aafa6a59ee735bc7c243cd133acebccabfdbf69cc7e33c
MD5 a68614f40daa139c4c52b8763780b379
BLAKE2b-256 c8a7a597ff7dd1e1603abd94991ce242f93979d5f10b0d45ed23976dfb22bf64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page