Skip to content

EOmaps v7.3

Compare
Choose a tag to compare
@raphaelquast raphaelquast released this 21 Oct 00:52
· 481 commits to master since this release
575a787

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
m = Maps()
m.set_frame(rounded=0.5, edgecolor="r", linewidth=2, facecolor="0.5")

grafik

  • 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 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