Skip to content

EOmaps v6.5

Choose a tag to compare

@raphaelquast raphaelquast released this 19 May 22:12
· 1147 commits to master since this release
24638f5

A new release that finally adds a long-standing feature request to EOmaps: GridLabels!

🌳 new

🌐 Grid Labels

It is now possible to add labels to grids in arbitrary projections!
Make sure to checkout the new section in the docs Adding Labels to the Grid as well as the new 🌐 Gridlines and Grid Labels example!

m = Maps(...)
...
g = m.add_gridlines(...)
g.add_labels(...)

EOmaps introduction figure. EOmaps introduction figure.

🔬 New features for InsetMaps

  • m_inset.add_indicator_line(...): Add a line that connects the inset-map with the inset-extent on another map.
  • The edge-color of the inset-map can now be specified directly via the boundary kwarg (e.g. boundary="red")

...other new features

  • Picked compass objects are now indicated with a red boundary
  • ColorBar objects have a new convenience-method cb.set_labels(...) to set the colorbar & histogram labels (and the style)
  • the 📖 Documentation has been re-structured and updated
    EOmaps introduction figure.

🌦️ changes

  • Fill values in integer encoded datasets are now excluded when evaluating data-bounds (vmin/vmax)
  • m.from_file, m.read_file and m.new_layer_from_file now support the additional kwarg fill_values="mask"/"keep"
    (to avoid costly and memory-intensive initialization of masked-arrays for extremely large datasets)
  • the print_to_console callback now returns tuples by default

🔨 fixes

  • fix cartopy crs identification from pyproj-crs
  • fix updating compass objects on init and scroll events
  • fix colorbars should only inherit positions if orientation is the same
  • fix colorbar minor ticks for vertical colorbars
  • fix clipping of colorbar bins provided as lists
  • make sure NE preset features handle mpl-synonyms (ec, fc, lw ...)
  • fix orientation of inset-map boundary vertices