Skip to content

Commit

Permalink
Merge pull request #62 from chrieke/v_0_4_0
Browse files Browse the repository at this point in the history
V 0 4 0
  • Loading branch information
chrieke authored Nov 30, 2024
2 parents 3f11418 + 11b5aa1 commit fb52cfe
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Changelog

Update your installation to the latest version:

=== "pip"

```bash
# pip show prettymapp # check currently installed version
pip install prettymapp --upgrade
```

## 0.4.0
**November 30, 2024**

- Allow selection of landcover classes via new `landcover_classes` parameter in `get_osm_geometries`
- `drawing_settings` parameter in `Plot` now defaults to `STYLES["Peach"]`
- `pyproject.toml` replaces setup.py & requirements.txt files

## 0.3.0
**April 23, 2024**

- Add get_osm_geometries_from_xml to plot OSM XML files
- Add Dockerfile


## 0.2.0
**August 25, 2023**

- Upgraded dependencies, adjust deprecated functions.

## 0.1.0
**December 03, 2022**

- Initial stable release on pypi
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ aoi_bounds = df.total_bounds

Edit the `draw_settings` input to create your own custom styles! The map layout can be further customized with the additional arguments of the [`Plot`](plotting.py#L36) class (e.g. `shape`, `contour_width` etc.). Check the webapp [examples](streamlit-prettymapp/examples.json) for inspiration.

```
```python
from prettymapp.settings import STYLES

custom_style = STYLES["Peach"].copy()
Expand All @@ -108,7 +108,7 @@ fig = Plot(

You can also customize the selection of OSM landcover classes that should be displayed.

```
```python
from prettymapp.settings import LANDCOVER_CLASSES

custom_lc_classes = LANDCOVER_CLASSES.copy()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "prettymapp"
version = "0.3.0"
version = "0.4.0"
description = "Create beautiful maps from OpenStreetMap data"
readme = "README.md"
requires-python = ">=3.11"
Expand Down

0 comments on commit fb52cfe

Please sign in to comment.