Shade nighttime of time-series
Project description
Shade nighttime dark on plots
Install
pip install timeshade
Usage
import timeshade; import pandas as pd
# create timeseries
idx = pd.date_range("2018-01-01", periods=100, freq="H")
ts = pd.Series(range(len(idx)), index=idx)
# shade
import timeshade
timeshade.shade(ts)
# plot
import matplotlib.pyplot as plt
plt.show()
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
timeshade-21.0.1.tar.gz
(2.9 kB
view hashes)