Skip to main content

Functions for data visualization in matplotlib.

Project description

Data-viz utils 📈

Functions for data visualization in matplotlib

📚 API

Can be installed using pip install dvu and then imported with import dvu.

You can also just copy the relatively short source code for the functions (easily viewable here).

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 a plot to invert everything besides the line colors

Original plot After dvu.invert_plot()
plt_legend dvu_legend

Reference

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dvu-0.0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file dvu-0.0.2.tar.gz.

File metadata

  • Download URL: dvu-0.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for dvu-0.0.2.tar.gz
Algorithm Hash digest
SHA256 29e06939030e916974bba9f6c4b66ed35bf1b572f109837492f0540f7189ffd5
MD5 727f6a5854de844f74aca3f44fdf6e8b
BLAKE2b-256 0570af379b76dc2981b654e7bcd089a22a6e7d5cfc0ea3376fb80fbb1eb69bb2

See more details on using hashes here.

File details

Details for the file dvu-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dvu-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for dvu-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce8ba1b995ffafcfeebbdc1bb0f9474d8cdece7df2f6545a522f1cc6f5c97a0a
MD5 e356db695ac45a41aa5ec525d9dc82b5
BLAKE2b-256 d8a8f944df96fad838116db503c54a950e58a4cd37e6f80583c30fe4e10bae9c

See more details on using hashes here.

Supported by

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