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.1
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.1.tar.gz | 704.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geoplots-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / geoplots-0.2.1.tar.gz
| Download URL | geoplots-0.2.1.tar.gz |
|---|---|
| Size | 704.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48e20c58bd7f87c8ed548c85ddd27cd96f0b548fca8a54b7198af35e5c07a418
|
|
BLAKE2b-256 checksum How to use checksums |
159e16af6bfe63b1c9a44e03e94e167c8ca266e8cbf93ce22ece64f02aa0d6ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / geoplots-0.2.1-py3-none-any.whl
| Download URL | geoplots-0.2.1-py3-none-any.whl |
|---|---|
| Size | 704.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8478b3b5f52d3f51cbaaaeff1180849a7d7d706684e30ac72d56cc83d58a4f3f
|
|
BLAKE2b-256 checksum How to use checksums |
76e90cae90937680c347c5aca971dfbc3e0c0a359b2fe468b0172e9b35d7a1e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|