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

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.2.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

altair_tiles-0.2.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: altair_tiles-0.2.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

Hashes for altair_tiles-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3ec880ce3b05e00f8ba08a048e9135206dcbed655cc043e62607d78861710eef
MD5 bf19ceb1fab71f8bda6a9c322b6451e8
BLAKE2b-256 9c9df70665197c89576ea9b9a28e36ac462905b9be5dfda303349e10cc0e7f96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for altair_tiles-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adb41a758ca103fc8587d2f3a2b14f68255b871198c8877f83de9215904e6140
MD5 4167b57ca19c6e1239c99f8889821974
BLAKE2b-256 fb70fb0bfa57bb9778064d6de06b8890da0e4ca54a5a4c39aa0cceb7a022e270

See more details on using hashes here.

Supported by

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