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.3
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.3.tar.gz | 703.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geoplots-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / geoplots-0.2.3.tar.gz
| Download URL | geoplots-0.2.3.tar.gz |
|---|---|
| Size | 703.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a331969e9d73d2752583fbd50efd25c1608fab159e945c3c31deda6281bfcad
|
|
BLAKE2b-256 checksum How to use checksums |
16aba94817240913e70fbf2235d2d590a2ebf35f832a98d331e744270c86ce85
|
| 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.3-py3-none-any.whl
| Download URL | geoplots-0.2.3-py3-none-any.whl |
|---|---|
| Size | 704.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
905db7d1b5a3329133ba546907d6dbdaae75bb9a9905b1e7b97efde7700c6f46
|
|
BLAKE2b-256 checksum How to use checksums |
113e88571a97cbdd881a6bb17666488430cad3267c77d78890e88b36973ee359
|
| 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}
|