Geoplots
A library for geographic plotting and visualization, built on top of Matplotlib and Cartopy.
Installation
You can install the package using pip:
pip install geoplots
Usage
Initialization
Initialize a figure with a custom grid:
from geoplots import wrapper
fig, grids = wrapper.init(figsize=(10, 6), widths=[1, 2], heights=[1, 1])
Geographical Plots
Create plots with specific boundaries:
import matplotlib.pyplot as plt
from geoplots import bound
import cartopy.crs as ccrs
fig = plt.figure(figsize=(10, 5))
ax = fig.add_subplot(111, projection=ccrs.Robinson())
bound.robinson_bound(ax)
Icon Grids (Waffle Charts)
Create waffle charts with icons:
from geoplots.icongrid import Waffle
data = {'Cats': 30, 'Dogs': 25, 'Birds': 10}
fig = plt.figure(
FigureClass=Waffle,
rows=5,
values=data,
legend={'loc': 'upper left', 'bbox_to_anchor': (1.1, 1)}
)
Metadata
Release files for geoplots 0.2.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 | |
|---|---|---|---|
| geoplots-0.2.2.tar.gz | 703.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geoplots-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / geoplots-0.2.2.tar.gz
| Download URL | geoplots-0.2.2.tar.gz |
|---|---|
| Size | 703.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
807239fb2aa3398195c22ddc9fcfac9bc2e1080ff6d81a2b2f816b423a2a39d1
|
|
BLAKE2b-256 checksum How to use checksums |
b37240ba889b7d8e0a19f9d5f4b771247d92fc1cc91102ceae755271d6f26e76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / geoplots-0.2.2-py3-none-any.whl
| Download URL | geoplots-0.2.2-py3-none-any.whl |
|---|---|
| Size | 704.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6c410c471eed5f8b8368e18980f56c0c30c10f14e4ed294abfaaa6819359cbf
|
|
BLAKE2b-256 checksum How to use checksums |
e6c22a944c8f41b3dfac370bfe41f1337eb7993a4a662b8799d0d774a2346939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|