Skip to content

Conversation

@raphaelquast
Copy link
Owner

@raphaelquast raphaelquast commented Jul 12, 2023

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

🌳 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 an improved menu with 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)
  • The WebMap service name DLR_basemaps is depreciated

    • 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

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Patch coverage: 64.00% and project coverage change: +0.47% 🎉

Comparison is base (80a57f0) 74.78% compared to head (ebcd495) 75.25%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   74.78%   75.25%   +0.47%     
==========================================
  Files          24       24              
  Lines       10406    10791     +385     
==========================================
+ Hits         7782     8121     +339     
- Misses       2624     2670      +46     
Files Changed Coverage Δ
eomaps/reader.py 72.53% <ø> (ø)
eomaps/webmap_containers.py 53.71% <40.37%> (-4.85%) ⬇️
eomaps/_webmap.py 76.18% <57.69%> (+0.12%) ⬆️
eomaps/helpers.py 80.65% <66.66%> (+1.13%) ⬆️
eomaps/ne_features.py 81.69% <69.23%> (+9.19%) ⬆️
eomaps/colorbar.py 78.89% <72.41%> (-0.75%) ⬇️
eomaps/eomaps.py 67.55% <75.40%> (+2.69%) ⬆️
eomaps/cb_container.py 82.00% <77.77%> (-0.10%) ⬇️
eomaps/shapes.py 88.02% <82.92%> (-0.20%) ⬇️
eomaps/__init__.py 50.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raphaelquast raphaelquast changed the title EOmaps v7.0.1 EOmaps v7.1 Jul 20, 2023
@raphaelquast raphaelquast added this to the EOmaps v7.1 milestone Jul 26, 2023
@raphaelquast raphaelquast merged commit eed4100 into master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3.8 - AttributeError: module 'functools' has no attribute 'cache'

2 participants