PyPlotFlags
A python alternative for ggflags R package. Creates a scatterplot where points are replaced by circular country flags.
Usasge
Installation
pip install pyplotflags
Core Function
flagscatterplot(x, y, country_codes, ax=None, zoom=0.1, flag_dir=DEFAULT_FLAG_DIR, **kwargs)
Parameters: - x, y: Arrays of coordinates. - country_codes: Array of ISO Alpha-2 country codes (same length as x and y). - ax: Matplotlib axes object (uses current axes if None). - zoom: Scaling factor for the flag images. - flag_dir: Directory containing the .png flag images. - **kwargs: Standard matplotlib keyword args for scatterplots
Metadata
Release files for pyplotflags 0.1.2
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 |
|---|---|---|---|---|
| pyplotflags-0.1.2.tar.gz | 2.7 kB | Without provenance | Details for pyplotflags-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyplotflags-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyplotflags-0.1.2-py3-none-any.whl |
Total release size: 5.9 kB
Release files / pyplotflags-0.1.2.tar.gz
| Download URL | pyplotflags-0.1.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb776d4ca236420e12d332ed92d88ea0bb439bc08fc46d3d54f0f23000904df2
|
|
BLAKE2b-256 checksum How to use checksums |
d0239279a137a92016161695528237ea37e4ac1bc5a5c366e52b1c2fab91e534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / pyplotflags-0.1.2-py3-none-any.whl
| Download URL | pyplotflags-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d510169f9056920af5b4b31c298b50b547805bb67f3983b0d67c5a47bea6362a
|
|
BLAKE2b-256 checksum How to use checksums |
a7819f5506deb90c8517aa3f9243157acdf1d5c1c5ead095c886c24e138f1eee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for pyplotflags 0.1.2
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.