An open API service indexing awesome lists of open source software.

https://github.com/fferegrino/hubify

Create GitHub-like visualisations of your time series data
https://github.com/fferegrino/hubify

github matplotlib plot python timeseries

Last synced: about 2 months ago
JSON representation

Create GitHub-like visualisations of your time series data

Awesome Lists containing this project

README

          

hubify
======

Create GitHub-like visualisations from your time series data.

## Basic Usage

```python
# A list of datetimes, where each datetime represents an observation
from datetime import datetime, timedelta
import random

# Import Hubify
from hubify import hubify

# Set a seed
random.seed(42)

# Create 400 random events
events = [
datetime.today() - timedelta(days=random.randint(0, 365))
for _ in range(400)
]

# Call hubify
hubify(events)
```

You should see something like this

![Hubify plot](https://ik.imagekit.io/thatcsharpguy/projects/hubify/front-page.png)

## Installation

```shell
pip install hubify
```