Skip to main content

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

Metadata

Release files for dvu 0.0.2

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

Source distribution (sdist)

Source distribution for dvu 0.0.2
File Size Uploaded
dvu-0.0.2.tar.gz 7.3 kB Details

Built distribution (wheel)

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

Total release size: 14.8 kB

Release files / dvu-0.0.2.tar.gz

Download URL dvu-0.0.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
29e06939030e916974bba9f6c4b66ed35bf1b572f109837492f0540f7189ffd5
BLAKE2b-256 checksum
How to use checksums
0570af379b76dc2981b654e7bcd089a22a6e7d5cfc0ea3376fb80fbb1eb69bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / dvu-0.0.2-py3-none-any.whl

Download URL dvu-0.0.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce8ba1b995ffafcfeebbdc1bb0f9474d8cdece7df2f6545a522f1cc6f5c97a0a
BLAKE2b-256 checksum
How to use checksums
d8a8f944df96fad838116db503c54a950e58a4cd37e6f80583c30fe4e10bae9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

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