Metadata-Version: 2.1
Name: altair-images
Version: 0.1.0
Summary: Serving interactive charts with images
Home-page: https://github.com/lc0/altair_images
Author: Sergii Khomenko
License: UNKNOWN
Keywords: altair flask colab ngrok demo
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta 
Classifier: Programming Language :: Python :: 3.7
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: Flask (==1.0.2)
Requires-Dist: Flask-Cors (==3.0.8)
Requires-Dist: Pillow (==7.1.1)
Requires-Dist: pyngrok (==2.1.3)

# Serving interactive charts with images - based on Altair

Project fully supports Google Colab. For more details see [examples](examples)

## Installation
```sh
pip install altair-images
```

## How to use
```python
import numpy as np

from altair_images import plot_with_image

embedding_data = np.load('../tests/pca_data_100.npy')
sample_images = np.load('../tests/sample_images_100.npy')
labels = np.load('../tests/sample_labels_100.npy')

plot_with_image(embedding_data, labels, sample_images)
```

![Fashion MNIST embeddings](altair-images.gif)

## TODO
- [ ] Add examples in readme
- [ ] Add CI for tagging and publishing new version from master
- [ ] Add tests
- [ ]

