Skip to content

EOmaps v7.1

Compare
Choose a tag to compare
@raphaelquast raphaelquast released this 05 Sep 08:12
· 621 commits to master since this release
eed4100

A new minor release that introduces contour plots and brings some nice updates for the companion widget!

Make sure to check the release-notes for EOmaps v7.0 for an overview of all new features that arrived with v7.x

🌳 New

Contour plots!

  • There is a new plot-shape: m.set_shape.contour()

    • it can be used to draw contour-plots (filled shapes or lines) of regular (2D) or irregular (1D) datasets!
    • use colorbar.indicate_contours() to indicate the contour-levels on an existing colorbar
  • Checkout the new Contour Plot Example in the docs for more details!

contour plot example

Companion widget updates

  • The drop-down menu for WebMaps is now easier to navigate and has properly grouped entries
  • The "Add Feature" widget now has individual buttons for each category and properly grouped entries

Map Feature Infos

The Editor tab of the companion widget now offers a new button for each artist
that opens a popup with additional information on the feature (if available)

  • General infos (Licensing, References etc.)
  • Source code to reproduce the feature

Checkout the corresponding section in the docs for more details: Additional information on Features and WebMaps

⚠️ Deprecations

  • The following arguments of m.new_layer() are depreciated and will be removed in upcoming releases:

    • copy_data_specs $\rightarrow$ inherit_data
    • copy_classify_specs $\rightarrow$ inherit_classification
    • copy_shape $\rightarrow$ inherit_shape

    To create a new layer (or map) that uses the same data and classification as the Maps-object m, you can now use:

    m2 = m.new_layer(inherit_data=True, inherit_classification=True)
    m2 = m.new_map(ax=222, inherit_data=True, inherit_classification=True)
  • Using the WebMap service name DLR_basemaps is deprecated

    • services are now integrated in the parent category DLR (use m.add_wms.DLR.basemap... to access basemap features)

🔨 Fixes

  • ❗ fix compatibility with python < 3.9
  • run unittests on python 3.8 as well
  • remove no longer needed mamba requirement numpy < 1.24
  • fix toggling of the AnnotationEditor for multiple maps in one figure
  • fix setting plot-extent for GeoDataFrames with m.add_gdf(dataframe, set_extent=True)
  • fix classification issues for encoded masked datasets
  • fix resetting of linestyles on layout editor exit