Skip to content

JustinShenk/timeshade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightshade

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()

timeshade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages