Skip to main content

Functions for data visualization in matplotlib.

Project description

Data-viz utils 📈

Functions for data visualization in matplotlib

📚 API

Currently should be installed using pip install git+https://github.com/csinva/data-viz-utils. Then, can import dvu

Helps create a bunch of different plots such as these:

One particularly useful function is dvu.line_legend() which replaces a typical matplotlib legend with labels for each line:

Using plt.legend() Using dvu.line_legend()
plt_legend dvu_legend

Another one is dvu.invert_plot() which can be called after generating plot to invert everything besides the line colors

Original plot After dvu.invert_plot()
plt_legend dvu_legend

Reference

  • for updates, star the repo or follow @csinva_
  • feel free to use openly!
  • built with jekyll + github pages
  • theme from here

Project details


Download files

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

Source Distribution

dvu-0.0.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

dvu-0.0.0-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page