Skip to main content

WDPlot is a plotting library on top of matplotlib. The library places special importance on avoiding overplotting in scatterplots. The following functions can help to solve this problem:

  • wdplot.prep.estimate_density: does a kernel density estimate, alowing for a scatter plot colored by density.
  • wdplot.bivariate.hexbin: does a hexbin plot, where the transparency denotes density. Coloring can be a third variable or also density.
  • wdplot.bivariate.hist2d: same as above, but with a 2D hist (square bins)
  • wdplot.prep.sliding_window: does a sliding window estimate of a (x, y)-relation
  • wdplot.bivariate.scatter_trendline: makes a scatter-plot with a sliding window trendline on top

Install

Using pip: python -m pip install wdplot

Current state

This package is mostly a collection of plot functions I tend to reuse during my research. There's no tests, and no guarantees for a stable API. Of course, contributions are welcome, but since the code was written for myself, there is much left to be desired regarding clean code and documentation.

Release files for wdplot 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wdplot 0.0.1
File Size Uploaded
wdplot-0.0.1.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wdplot 0.0.1
File Interpreter ABI Platform
wdplot-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / wdplot-0.0.1.tar.gz

Download URL wdplot-0.0.1.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c67df50536b3b2fc3ca3ada0ff21342e7e118bb1f932e920e107456c317075ea
BLAKE2b-256 checksum
How to use checksums
2344dc30e8eace8f1f21a86d0d4244820ec54c21b50a548ba34f6fc24ed549e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / wdplot-0.0.1-py3-none-any.whl

Download URL wdplot-0.0.1-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
998189c58848f696f45628a9f293d1a52f82d4005aa995ef2df1203e232c4bbc
BLAKE2b-256 checksum
How to use checksums
c724b9f02c57fe5c29a66ac01ebe7984a97a3888d8d5846ee6b6c2a9dd08aa80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page