Skip to main content

Various plotting tools on top of matplotlib.

Project description

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


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wdplot, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size wdplot-0.0.1-py3-none-any.whl (12.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wdplot-0.0.1.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page