dvu-0.0.1
توضیحات
Functions for data visualization in matplotlib.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dvu-0.0.1 |
| نام | dvu |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chandan Singh |
| ایمیل نویسنده | chandan_singh@berkeley.edu |
| آدرس صفحه اصلی | https://github.com/csinva/data-viz-utils |
| آدرس اینترنتی | https://pypi.org/project/dvu/ |
| مجوز | - |
<h1 align="center"> Data-viz utils 📈</h1>
<p align="center"> Functions for data visualization in matplotlib
</p>
<p align="center">
<img src="https://img.shields.io/badge/license-mit-blue.svg">
<img src="https://img.shields.io/badge/python-3.6--3.8-blue">
<img src="https://img.shields.io/github/checks-status/csinva/data-viz-utils/master">
<img src="https://img.shields.io/pypi/v/dvu?color=orange">
</p>
<p align="center" fontsize=40><a href="https://csinva.io/data-viz-utils/docs/dvu.html"> 📚 API </a>
</p>
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](https://csinva.io/data-viz-utils/docs/dvu.html)).
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()` |
| --------------------------------------------------- | ---------------------------------------------- |
|  |  |
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()` |
| ---------------------------------------------- | --------------------------------------------------- |
|  |  |
# Reference
- for updates, star the repo or follow [@csinva_](https://twitter.com/csinva_)
- super-related and wonderful [matplotlib-label-lines](https://github.com/cphyc/matplotlib-label-lines) project
- [PR](https://t.co/lTe19vdETE?amp=1) for implementing line-labeling into matplotlib
- feel free to use openly!
- built with jekyll + github pages
- theme from [here](https://github.com/inded/Jekyll_modern-blog)
- based off of this [article from Codrops](http://tympanus.net/codrops/?p=24222)
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | matplotlib |
| - | seaborn |
| >=0.23.0 | scikit-learn |
| - | adjustText |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dvu-0.0.1:
pip install dvu-0.0.1.whl
نصب پکیج tar.gz dvu-0.0.1:
pip install dvu-0.0.1.tar.gz