Eomaps

Latest version: v8.2.1

Safety actively analyzes 641024 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 15

7.3.1

A first series of bugfixes for [v7.3](https://github.com/raphaelquast/EOmaps/releases/tag/v7.3).

🌦️ changes
- InsetMap indicator lines are now only drawn between the boundaries of the InsetMap and its extent.

You can add markers at the connection points with:

python
m_inset.add_indicator_line(m, marker="o", markersize=10)

<img src=https://github.com/raphaelquast/EOmaps/assets/22773387/57c07798-7a1c-4e38-bb55-2af72de37ef3 width=50%/>


🔨 Fixes
- fix re-drawing backgrounds on add/remove gridlines and gridlabels
- fix re-drawing backgrounds on `m.set_frame`
- fix triggering on_layer callbacks defined on InsetMaps
- fix custom text positioning with `m.add_title`
- fix handling of multiple inset-indicator lines
- fix passing InsetMap boundary colors as RGBA tuples

7.3

A new minor release that brings a lot of fixes and some nice new functionalities!

🌳 New
- There is a new convenience method to quickly update the properties of the frame of a map:
- set boundary line properties and **use rounded corners for map boundaries**
- set background patch color

python
m = Maps()
m.set_frame(rounded=0.5, edgecolor="r", linewidth=2, facecolor="0.5")


![grafik](https://github.com/raphaelquast/EOmaps/assets/22773387/7cda131c-2e8d-4413-8b7e-7ca8bbf68382)

- `m.add_annotation()` and `m.add_marker()` now support the `"update"` kwarg to override update triggers
(useful to avoid unnecessary updates if multiple dynamic annotations/markers are added in a callback)
- `m.add_gdf()` now supports the "permanent" kwarg to control if artists are updated on each event
or added as background-artists
- The [🚀 Contribution guide](https://eomaps.readthedocs.io/en/latest/contribute.html) contains a new chapter on how to build the docs!

🌦️ Changes
- ❗ Using `m.show()` no longer activates the layer associated with the calling Maps object.
(use `m.show_layer(m.layer)` to show the layer of a selected Maps object!)
- Activating the `AnnotationEditor` now clears all currently visible temporary artists and disables all callbacks


🔨 Fixes
- ❗fix zooming datasets with individual shape sizes for each datapoints
- ❗fix using the save-button in the normal matplotlib toolbar to save a figure
- ❗fix custom axis background patch color is only visible on figure export
- ❗fix grid-labels are not properly updated on pan/zoom events
- fix identification of layers that only exist on `InsetMaps`
- fix annotation editor clears annotation text on companion-widget init
- fix all-nan slice warnings on vmin/vmax estimation if no data-values are provided
- fix single geod_circle radius parsed to 1D array in setter
- fix using `m.add_gdf(permanent=False)` to add dynamically updated geometries
- fix annotation editor issues if annotation is not attached to the figure
- fix `m.get_extent()` should not return coordinates outside the crs bounds
- fix closing companion-widgets of child-maps on figure close
- fix clearing snapshot cells with `m.show()`
- fix `m.util.layer_selector()` should remain responsive during toolbar actions
- fix using `m.cb.<method>.set_execute_during_toolbar_action()` on child Maps objects
- improve handling of errors during snapshot creation
- remove `rtree` and add default python version to development env file
- fix restoring axes backgrounds in gui after savefig

7.2.1

A first bugfix release for v7.2 that also brings some nice performance improvements!

> Make sure to also check the [release-notes for EOmaps v7.2](https://github.com/raphaelquast/EOmaps/releases/tag/v7.2)!

🔨 Fixes
- ❗ Fix issues with aggregated datasets outside the currently visible extent
- ❗ Fix displacement of grid-labels on figure export with dpi other than the native dpi
- ❗ Fix dataset export issues with `"agg"` backend on some of the plot-shapes
- general performance updates for background-fetching and caching
- avoid activating the companion widget when webagg backend is active

🌳 New
- New method for raster-data aggregation: `"mode"` (e.g. most common value)
- The behavior of callbacks during toolbar actions can now be set via
`m.cb.<method>.set_execute_during_toolbar_action()`
- New `.remove()` method for grid-lalbels

🌦️ Changes
- To avoid issues with `"webagg"` derived backends, custom `"move"` callbacks no longer trigger automatic updates of the plot.
- ❗ Explicitly call `m.BM.update()` in custom move-callbacks to trigger an update!

7.2

A mew minor release that brings a lot of improvements for raster-data visualization!

🌳 New
Major improvements for raster-data visualization!
The raster-shape (e.g. `m.set_shape.raster`) now has data-aggregation capabilities!

> This means that the `raster` shape can now be used also for **arbitrarily sized datasets** (as long as they fit in memory)
> (so far tested with datasets up to 2 billion datapoints)

In short, this means:
- Datasets larger than `maxsize` will be aggregated prior to plotting to avoid slow load-times for extremely large datasets
- Aggregation can be turned off using `maxsize=None` (e.g. to get the behavior prior to v7.2)
- By default, only datasets larger than 5 million datapoints will be aggregated prior to plotting

For more details, check the [docs for the raster-shape](https://eomaps.readthedocs.io/en/latest/generated/eomaps.shapes.Shapes.raster.html#eomaps.shapes.Shapes.raster)!

🔨 Fixes
- ❗ avoid activating matplotlibs interactive mode by default
- fix identification of data-limits and colormap for GeoTiffs

🌦️ Changes
- `raster` is now used as default plot shape also for very large datasets

7.1.2

> Make sure to check the release-notes for [EOmaps v7.1](https://github.com/raphaelquast/EOmaps/releases/tag/v7.1) as well!

🔨 Fixes
- fix import error when adding `wms` layers
- only log unique picker names for multi-geometry GeoDataFrames
- allow using `scatter_points` as marker-shape
- fix setting permanent-kwarg for markers
- fix search-radius should default to `m.cb.pick._search_radius`
- return created annotation object in `m.add_annotation()`
- fix docstrings for get/set extent
- avoid reprojection of gdf if init or cartopy crs can be identified
- add more descriptive __repr__ for Maps objects
- make sure to only re-evaluate scalebar scale on extent changes
- `contributing.md` file added

7.1.1

Page 3 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.