Skip to main content

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

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

Uploaded Source

File details

Details for the file timeshade-21.0.2.tar.gz.

File metadata

  • Download URL: timeshade-21.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for timeshade-21.0.2.tar.gz
Algorithm Hash digest
SHA256 145c616e09345db7407916adefaa7e5f73b599bcb688e69e591fef3fc194aef9
MD5 b71b7685654a451437c4563098463047
BLAKE2b-256 2a028c201c89d2bc5a3d58cfa0f80876f399ae59b21e79d200022a33a0fda6f5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

21.0.2 This release

1 file

21.0.1

1 file

21.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page