This release is a pre-release and may not be stable for production use.
Plot Likert
This is a library to visualize results from Likert-type survey questions in Python, using matplotlib.
Installation
Install the latest stable version from PyPI:
pip install plot-likert
To get the latest development version:
pip install --pre plot-likert
# OR
pip install git+https://github.com/nmalkin/plot-likert.git
Quick start
# Make sure you have some data
import pandas as pd
data = pd.DataFrame({'Q1': {0: 'Strongly disagree', 1: 'Agree', ...},
'Q2': {0: 'Disagree', 1: 'Strongly agree', ...}})
# Now plot it!
import plot_likert
plot_likert.plot_likert(data, plot_likert.scales.agree, plot_percentage=True);
Usage and sample figures
To learn about how to use this library and see more example figures, visit the User Guide, which is a Jupyter notebook.
Want to see even more examples? Look here!
Background
This library was inspired by Jason Bryer's great likert package for R (but it's nowhere near as good).
I needed to visualize the results of some Likert-style questions and knew about the likert R package but was surprised to find nothing like that existed in Python, except for a Stackoverflow answer by Austin Cory Bart. This package builds on that solution and packages it as a library.
I've since discovered that there may be other solutions out there. Here are a few to consider:
- https://github.com/dmardanbeigi/Likert_Scale_Plot_in_Python
- https://github.com/Oliph/likertScalePlot
- https://blog.orikami.nl/behind-the-screens-likert-scale-visualization-368557ad72d1
While this library started as a quick-and-dirty hack, it has been steadily improving thanks to the contributions of a number of community members and Fjohürs Lykkewe. Thank you to everyone who has contributed!
Metadata
Release files for plot-likert 0.4.0.dev202202041
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plot-likert-0.4.0.dev202202041.tar.gz | 1.5 MB | Without provenance | Details for plot-likert-0.4.0.dev202202041.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plot_likert-0.4.0.dev202202041-py3-none-any.whl | Python 3 | none | any | Details for plot_likert-0.4.0.dev202202041-py3-none-any.whl |
Total release size: 1.5 MB
Release files / plot-likert-0.4.0.dev202202041.tar.gz
| Download URL | plot-likert-0.4.0.dev202202041.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
759860b7afe628999ec2db8aceff54d5c4f337f830b0d64b104b3b3cff9ce168
|
|
BLAKE2b-256 checksum How to use checksums |
3f510dc41d8d41af5b05625ee37151b41c98fda8fc9a501bd7e2ffecfd64a920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Release files / plot_likert-0.4.0.dev202202041-py3-none-any.whl
| Download URL | plot_likert-0.4.0.dev202202041-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00f04811a4109a0a42225268f726d94b7ff5039b0efc4ca69a7e75e946682565
|
|
BLAKE2b-256 checksum How to use checksums |
3fec6eddf6c27d402affde5a9dbf1083a8476f6276eafb9acca7d6d71c7d3b78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Security for plot-likert 0.4.0.dev202202041
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.