kwplot-0.5.4
توضیحات
The kwplot module
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | kwplot-0.5.4 |
| نام | kwplot |
| نسخه کتابخانه | 0.5.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jon Crall |
| ایمیل نویسنده | jon.crall@kitware.com |
| آدرس صفحه اصلی | https://gitlab.kitware.com/computer-vision/kwplot |
| آدرس اینترنتی | https://pypi.org/project/kwplot/ |
| مجوز | Apache 2 |
The Kitware Plot Module
=======================
|GitlabCIPipeline| |GitlabCICoverage| |Appveyor| |Pypi| |Downloads| |ReadTheDocs|
+------------------+------------------------------------------------------+
| ReadTheDocs | https://kwplot.readthedocs.io/en/latest/ |
+------------------+------------------------------------------------------+
| Gitlab (main) | https://gitlab.kitware.com/computer-vision/kwplot |
+------------------+------------------------------------------------------+
| Github (mirror) | https://github.com/Kitware/kwplot |
+------------------+------------------------------------------------------+
| Pypi | https://pypi.org/project/kwplot |
+------------------+------------------------------------------------------+
The ``kwplot`` module is a wrapper around ``matplotlib`` and can be used for
visualizing algorithm results.
The top-level API is:
.. code:: python
from .auto_backends import (autompl, autoplt, set_mpl_backend,)
from .draw_conv import (make_conv_images, plot_convolutional_features,)
from .mpl_3d import (plot_surface3d,)
from .mpl_color import (Color,)
from .mpl_core import (distinct_colors, distinct_markers, ensure_fnum, figure,
imshow, legend, next_fnum, set_figtitle,
show_if_requested,)
from .mpl_draw import (draw_boxes, draw_boxes_on_image, draw_clf_on_image,
draw_line_segments, draw_text_on_image, plot_matrix, draw_points,)
from .mpl_make import (make_heatmask, make_orimask, make_vector_field,)
from .mpl_multiplot import (multi_plot,)
from .mpl_plotnums import (PlotNums,)
One of the key features is the `kwplot.autompl <https://kwplot.readthedocs.io/en/main/kwplot.html#kwplot.autompl>`_
function, which is able to somewhat intelligently set the notorious matplotlib
backend.
By default it will attempt to use ``PyQt5`` if it is installed and a
``DISPLAY`` is available. Otherwise it will ensure the backend is set to
``Agg``. For convinience, the functions:
`kwplot.autoplt <https://kwplot.readthedocs.io/en/main/kwplot.html#kwplot.autoplt>`_ and
`kwplot.autosns <https://kwplot.readthedocs.io/en/main/kwplot.html#kwplot.autosns>`_
also execute this auto-backend behavior, but return the pyplot and seaborn
module, respectively. It is recommended to call one of these functions before
any use of pyplot due to pyplot's import-time side effects (note: pre-importing
most other matplotlib modules is ok).
The ``kwplot.imshow`` and ``kwplot.figure`` functions are extensions of the
``matplotlib`` versions with slightly extended interfaces (again to help reduce
the density of visualization code in research scripts). The ``kwplot.PlotNums``
helps manage subplots locations, especially when you are developing /
reordering them.
.. |Pypi| image:: https://img.shields.io/pypi/v/kwplot.svg
:target: https://pypi.python.org/pypi/kwplot
.. |Downloads| image:: https://img.shields.io/pypi/dm/kwplot.svg
:target: https://pypistats.org/packages/kwplot
.. |ReadTheDocs| image:: https://readthedocs.org/projects/kwplot/badge/?version=main
:target: http://kwplot.readthedocs.io/en/main/
.. # See: https://ci.appveyor.com/project/jon.crall/kwplot/settings/badges
.. |Appveyor| image:: https://ci.appveyor.com/api/projects/status/py3s2d6tyfjc8lm3/branch/main?svg=true
:target: https://ci.appveyor.com/project/jon.crall/kwplot/branch/main
.. |GitlabCIPipeline| image:: https://gitlab.kitware.com/computer-vision/kwplot/badges/main/pipeline.svg
:target: https://gitlab.kitware.com/computer-vision/kwplot/-/jobs
.. |GitlabCICoverage| image:: https://gitlab.kitware.com/computer-vision/kwplot/badges/main/coverage.svg
:target: https://gitlab.kitware.com/computer-vision/kwplot/commits/main
نیازمندی
| مقدار | نام |
|---|---|
| ython_versio | ubelt>=1.3.6; |
| ython_versio | matplotlib>=3.9.2; |
| ython_versio | matplotlib>=3.7.3; |
| ython_versio | matplotlib>=3.6.2; |
| ython_versio | matplotlib>=3.6.2; |
| ython_versio | matplotlib>=3.6.2; |
| ython_versio | matplotlib>=3.6.2; |
| - | kwarray>=0.6.19 |
| - | kwimage>=0.10.0 |
| ython_versio | numpy>=1.26.0; |
| ython_versio | numpy>=1.23.2; |
| ython_versio | numpy>=1.21.6; |
| ython_versio | numpy>=1.19.3; |
| ython_versio | numpy>=1.19.3; |
| ython_versio | numpy<2.0,>=1.19.2; |
| ython_versio | numpy<2.0,>=1.19.2; |
| - | scriptconfig>=0.7.3 |
| ython_versio | ubelt>=1.3.6; |
| python_versio | matplotlib>=3.9.2; |
| python_versio | matplotlib>=3.7.3; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| xtr | kwarray>=0.6.19; |
| xtr | kwimage>=0.10.0; |
| python_versio | numpy>=1.26.0; |
| python_versio | numpy>=1.23.2; |
| python_versio | numpy>=1.21.6; |
| python_versio | numpy>=1.19.3; |
| python_versio | numpy>=1.19.3; |
| python_versio | numpy<2.0,>=1.19.2; |
| python_versio | numpy<2.0,>=1.19.2; |
| xtr | scriptconfig>=0.7.3; |
| xtr | coverage>=5.3.1; |
| xtr | xdoctest>=1.1.1; |
| ython_versio | pytest>=6.2.5; |
| python_versio | pytest>=4.6.0; |
| python_versio | pytest>=4.6.0; |
| python_versio | pytest<=6.1.2,>=4.6.0; |
| python_versio | pytest<=4.6.11,>=4.6.0; |
| python_versio | pytest<=4.6.11,>=4.6.0; |
| ython_versio | pytest-cov>=3.0.0; |
| python_versio | pytest-cov>=2.9.0; |
| python_versio | pytest-cov>=2.8.1; |
| python_versio | pytest-cov>=2.8.1; |
| xtr | seaborn>=0.11.2; |
| python_versio | pandas>=2.1.1; |
| python_versio | pandas>=1.5.0; |
| python_versio | pandas>=1.3.5; |
| python_versio | pandas>=1.4.0; |
| python_versio | pandas>=1.4.0; |
| xtr | kwutil>=0.3.2; |
| python_versio | opencv-python-headless>=4.5.5.64; |
| python_versio | opencv-python-headless>=4.5.4.58; |
| python_versio | opencv-python-headless>=3.4.15.55; |
| python_versio | opencv-python>=4.5.5.64; |
| python_versio | opencv-python>=4.5.4.58; |
| python_versio | opencv-python>=3.4.15.55; |
| xtr | sphinx>=5.0.1; |
| xtr | sphinx-autobuild>=2021.3.14; |
| xtr | sphinx_rtd_theme>=1.0.0; |
| xtr | sphinxcontrib-napoleon>=0.7; |
| xtr | sphinx-autoapi>=1.8.4; |
| xtr | Pygments>=2.9.0; |
| xtr | myst_parser>=0.18.0; |
| xtr | sphinx-reredirects>=0.0.1; |
| xtr | flake8>=5.0.0; |
| xtr | seaborn>=0.11.2; |
| python_versio | pandas>=2.1.1; |
| python_versio | pandas>=1.5.0; |
| python_versio | pandas>=1.3.5; |
| python_versio | pandas>=1.4.0; |
| python_versio | pandas>=1.4.0; |
| xtr | kwutil>=0.3.2; |
| xtr | PyQt5>=5.10; |
| ython_versio | ubelt>=1.3.6; |
| python_versio | matplotlib>=3.9.2; |
| python_versio | matplotlib>=3.7.3; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| python_versio | matplotlib>=3.6.2; |
| xtr | kwarray>=0.6.19; |
| xtr | kwimage>=0.10.0; |
| python_versio | numpy>=1.26.0; |
| python_versio | numpy>=1.23.2; |
| python_versio | numpy>=1.21.6; |
| python_versio | numpy>=1.19.3; |
| python_versio | numpy>=1.19.3; |
| python_versio | numpy<2.0,>=1.19.2; |
| python_versio | numpy<2.0,>=1.19.2; |
| xtr | scriptconfig>=0.7.3; |
| xtr | coverage>=5.3.1; |
| xtr | xdoctest>=1.1.1; |
| ython_versio | pytest>=6.2.5; |
| python_versio | pytest>=4.6.0; |
| python_versio | pytest>=4.6.0; |
| python_versio | pytest<=6.1.2,>=4.6.0; |
| python_versio | pytest<=4.6.11,>=4.6.0; |
| python_versio | pytest<=4.6.11,>=4.6.0; |
| ython_versio | pytest-cov>=3.0.0; |
| python_versio | pytest-cov>=2.9.0; |
| python_versio | pytest-cov>=2.8.1; |
| python_versio | pytest-cov>=2.8.1; |
| xtr | pandas-stubs>=1.2.0.61; |
| ython_versio | ubelt==1.3.6; |
| python_versio | matplotlib==3.9.2; |
| python_versio | matplotlib==3.7.3; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| xtr | kwarray==0.6.19; |
| xtr | kwimage==0.10.0; |
| python_versio | numpy==1.26.0; |
| python_versio | numpy==1.23.2; |
| python_versio | numpy==1.21.6; |
| python_versio | numpy==1.19.3; |
| python_versio | numpy==1.19.3; |
| python_versio | numpy<2.0,==1.19.2; |
| python_versio | numpy<2.0,==1.19.2; |
| xtr | scriptconfig==0.7.3; |
| xtr | coverage==5.3.1; |
| xtr | xdoctest==1.1.1; |
| ython_versio | pytest==6.2.5; |
| python_versio | pytest==4.6.0; |
| python_versio | pytest==4.6.0; |
| python_versio | pytest<=6.1.2,==4.6.0; |
| python_versio | pytest<=4.6.11,==4.6.0; |
| python_versio | pytest<=4.6.11,==4.6.0; |
| ython_versio | pytest-cov==3.0.0; |
| python_versio | pytest-cov==2.9.0; |
| python_versio | pytest-cov==2.8.1; |
| python_versio | pytest-cov==2.8.1; |
| xtr | seaborn==0.11.2; |
| python_versio | pandas==2.1.1; |
| python_versio | pandas==1.5.0; |
| python_versio | pandas==1.3.5; |
| python_versio | pandas==1.4.0; |
| python_versio | pandas==1.4.0; |
| xtr | kwutil==0.3.2; |
| python_versio | opencv-python-headless==4.5.5.64; |
| python_versio | opencv-python-headless==4.5.4.58; |
| python_versio | opencv-python-headless==3.4.15.55; |
| python_versio | opencv-python==4.5.5.64; |
| python_versio | opencv-python==4.5.4.58; |
| python_versio | opencv-python==3.4.15.55; |
| xtr | sphinx==5.0.1; |
| xtr | sphinx-autobuild==2021.3.14; |
| xtr | sphinx_rtd_theme==1.0.0; |
| xtr | sphinxcontrib-napoleon==0.7; |
| xtr | sphinx-autoapi==1.8.4; |
| xtr | Pygments==2.9.0; |
| xtr | myst_parser==0.18.0; |
| xtr | sphinx-reredirects==0.0.1; |
| xtr | flake8==5.0.0; |
| xtr | seaborn==0.11.2; |
| python_versio | pandas==2.1.1; |
| python_versio | pandas==1.5.0; |
| python_versio | pandas==1.3.5; |
| python_versio | pandas==1.4.0; |
| python_versio | pandas==1.4.0; |
| xtr | kwutil==0.3.2; |
| xtr | PyQt5==5.10; |
| ython_versio | ubelt==1.3.6; |
| python_versio | matplotlib==3.9.2; |
| python_versio | matplotlib==3.7.3; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| python_versio | matplotlib==3.6.2; |
| xtr | kwarray==0.6.19; |
| xtr | kwimage==0.10.0; |
| python_versio | numpy==1.26.0; |
| python_versio | numpy==1.23.2; |
| python_versio | numpy==1.21.6; |
| python_versio | numpy==1.19.3; |
| python_versio | numpy==1.19.3; |
| python_versio | numpy<2.0,==1.19.2; |
| python_versio | numpy<2.0,==1.19.2; |
| xtr | scriptconfig==0.7.3; |
| xtr | coverage==5.3.1; |
| xtr | xdoctest==1.1.1; |
| ython_versio | pytest==6.2.5; |
| python_versio | pytest==4.6.0; |
| python_versio | pytest==4.6.0; |
| python_versio | pytest<=6.1.2,==4.6.0; |
| python_versio | pytest<=4.6.11,==4.6.0; |
| python_versio | pytest<=4.6.11,==4.6.0; |
| ython_versio | pytest-cov==3.0.0; |
| python_versio | pytest-cov==2.9.0; |
| python_versio | pytest-cov==2.8.1; |
| python_versio | pytest-cov==2.8.1; |
| xtr | pandas-stubs==1.2.0.61; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl kwplot-0.5.4:
pip install kwplot-0.5.4.whl
نصب پکیج tar.gz kwplot-0.5.4:
pip install kwplot-0.5.4.tar.gz