Eomaps

Latest version: v8.3.1

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

Scan your dependencies

Page 6 of 15

6.1.1

A quick bugfix release that addresses some issues in Jupyter Notebooks
🔨 fixes
- fix creating snapshots (e.g. for jupyter notebooks etc.) with arbitrary combinations of layers
- fix spines not properly updated when adding colorbars with `%matplotlib inline`

6.1

A minor release that fixes remaining issues with v6.0.x and adds functionalities for grid-lines!

🌳 New
- The `LayoutEditor` now supports undo/redo of recent events via `control + z` and `control + y`
- There is a new method `m.new_map()` to simplify adding new maps to existing figures
- `InsetMaps` now have a new method `m.get_inset_position()` to get the current position and size
- There is a new function `m.add_gridlines()` that can be used to add `GridLines` to the map!
- Have a look at the new section in the docs for more details: [▦ Gridlines](https://eomaps.readthedocs.io/en/dev/api.html#gridlines)
<img src="https://raw.githubusercontent.com/raphaelquast/EOmaps/dev/docs/_static/minigifs/grid_01.png" width=30%>

🔨 Fixes
- fix `ReferenceErrors` if the parent-map variable is overridden while the figure is still open
- fix performance issues caused by unnecessary updates in the companion widget
- avoid triggering "on_layer_change" actions if the layer is already active
- make sure the selected "pick-map" does not automatically reset in the companion-widget
- only attempt to close an opened file if opening was actually successful
- add support for the "frameon" kwarg when creating new Maps-objects
- fix "pick-only" datasets should not attempt to plot a collection
- fix misplaced axes-frames when adding colorbars on already opened plots
- fix re-positioning of already created `InsetMaps`
- fix handling of matplotlib-inline backends
- raise an error if geod_circles are used without providing a radius
- fix altering colorbar/histogram scaling with + and - keys
- fix issues when trying to fetch wms submenus for non-accessible servers

6.0.3

A third series of minor bug fixes for EOmaps v6.0

> ❗ Make sure to check the release-notes for [EOmaps v6.0](https://github.com/raphaelquast/EOmaps/releases/tag/v6.0)
> (There are possibly breaking changes with respect to EOmaps v5.x)

🔨 Fixes
- fix shape "n" should not use auto-value if it has been explicitly set
- implement temporary fix for srs identification of wms that require reprojection
- fix issues with the clip-shape for WebMap layers on fast pan/zoom-events
- fix layer assignment for temporary artists
- allow overriding layer assignment for temporary artists
- fix keypress modifiers for peek-layer callbacks cause glitches
- fix updating layer editor tabs in companion widget when adding features and webmaps
- make sure a proper layer is activated on layer-deletion in the widget
- clear new-layer input after layer creation
- port WebMap patches to cartopy and drop them for cartopy>=0.21.2
- fix warn-message when using the default shape with large datasets

6.0.2

6.0.1

A first series of bugfixes for EOmaps v6.0

> ❗ Make sure to check the release-notes for [EOmaps v6.0](https://github.com/raphaelquast/EOmaps/releases/tag/v6.0) ❗
>
> There are possibly breaking changes with respect to EOmaps v5.x
> (... and a lot of old syntax from v3.x, v4.x and v5.x has been removed)
> - An overview of the most important changes is provided here: [⚙ From EOmaps v5.x to v6.x](https://eomaps.readthedocs.io/en/dev/FAQ.html#from-eomaps-v5-x-to-v6-x)

🌳 New
- `m.add_colorbar(extend=...)` now has an explicit kwarg to override the extension-arrow behavior
- It is now possible to use `m.redraw("layer1", "layer2")` to trigger a re-draw of specific layers

🔨 Fixes
- fix infinite recursions with `Compass` objects on zoom events
- fix updating `Scalebar` background patches on move
- fix recursions in `m.on_layer_activation()` callbacks
- fix inherited `Colorbar` axis positions if extension arrows are present
- fix performance issues with the companion-widget for large number of layers
- fix sizing of companion-widget layer-tabs
- make sure a draw-event is triggered if limits are set on data-plot
- make sure adding a `Colorbar` triggers associated layer-re-draws
- fix axis limits when updating layers for existing `Slider` widgets
- fix performance issues with `Colorbar` and `Compass` objects
- make sure to update if artist props are changed with the companion-widget
- avoid unnecessary re-draws of unaffected already cached backgrounds
- fix dynamic artist identification on transparent layer-overlays

6.0

A new major-release that comes with a lot of updates, performance improvements and some very nice new features!

> ❗ There are possibly breaking changes with respect to EOmaps v5.x ❗
> (... and a lot of old syntax from v3.x, v4.x and v5.x has been removed)
> - An overview of the most important changes is provided here: [⚙ From EOmaps v5.x to v6.x](https://eomaps.readthedocs.io/en/dev/FAQ.html#from-eomaps-v5-x-to-v6-x)

🌳 New

🌴 Performance improvements!
EOmaps v6.0 represents a major change in the internals for layer and data management.

◰ Data Management
🌟 Data is now dynamically pre-selected based on the visible extent prior to plotting, which provides a **huge speed-up** for:
- Zoom/pan on plots of very large datasets
- Initial startup of plots that show only a subset of the assigned datasets

> If you don't need to see the whole extent of the data, make sure to set the desired extent **before** calling `m.plot_map()` via
> - `m.set.extent()`
> - `m.set_extent_to_location()`

⧉ Composing layers
🌟 The interface to combine, stack or overlay layers has been greatly improved in terms of speed and usability.
- To overlay the layer `"B"` on top of the layer `"A"`, simply use `m.show_layer("A", "B")`
- To overlay a layer with a **global transparency**, provide a tuple of `(<layer-name>, <transparency>)`
e.g.: ``m.show_layer("A", ("B", 0.5))`` will overlay the layer `"B"` with 50% transparency
- Associated [🧰 Companion Widget](https://eomaps.readthedocs.io/en/latest/api.html#companion-widget) updates
- The order at which layers are selected in the `layer-dropdown` now determines the stacking order of the layers
- To change the stacking order, simply **re-arrange the (movable) layer-tabs** in the `Compare` and `Edit` views!).
![rearrange_layers](https://user-images.githubusercontent.com/22773387/216811983-eb0fd1f8-21ae-4e85-9a43-16123fae9cfc.gif)

🌲 new functionalities
- `m.set_extent()`: set the map extent
- `m.inherit_classification`: use the classification of a given Maps object (useful to avoid costly classifications for zoomed-in plots that show only a fraction of the data)
- `m.inherit_data()`: share the data between Maps objects
- `m.text()` add plain text
- `peek-layer` callbacks now support `"round"` peek-shapes in addition to rectangles!
- `m.cb.click.attach.peek_layer(shape="round")`
- checkout the new button in the "Peek Layer" section of the [🧰 Companion Widget](https://eomaps.readthedocs.io/en/latest/api.html#companion-widget)
- Control the behavior of WebMap services if the size of the axes or figure is changing
- `m.refetch_wms_on_size_change()`: toggle global behavior for WebMap services
- use `m.savefig(refetch_wms=False)` to avoid re-fetching WebMaps if you save figures at different dpi!


🔨 Fixes
- fix `val_color` for forwarded pick callbacks
- estimate shape radius for x- and y- direction separately when using 2D datasets
- fix transparency for cached background layers
- handle possible exceptions in companion-widget drawer tab
- make sure companion-widget dropdown does not close on layer-changes
- fix attaching pick callbacks prior to plotting datasets
- fix triggering re-draws of layers if artists are added to the "all" layer
- fix treatment of animated axes in layout editor
- fix cancelling save-file dialog
- fix compass behavior on figure size changes
- fix compass position and size on figure dpi changes
- fix handling of spines
- make sure inset-maps are always drawn above other maps
- avoid re-drawing the background when drawing shapes
- use `annotation_clip=True` for annotations by default
- adjust default zorders of shapes and webmaps

Page 6 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.