Skip to content

EOmaps v4.2.2

Compare
Choose a tag to compare
@raphaelquast raphaelquast released this 09 Jun 16:13
· 2330 commits to master since this release
51b4ffd

A minor bugfix release.

🌳 new

  • To address issues when plotting 2D raster-data with unsorted coordinates, there is now an option
    to force sorting the data by coordinates prior to plotting with m.plot_map(assume_sorted=False)
    • only works if coordinates are provided as 1D arrays and the data is provided as a 2D array
    • sorting is only relevant for raster and shade_raster shapes (other shapes don't require sorting)
    • by default no sorting is performed!

🌦️ changes

  • The pick-radius used to identify clicked pixels can now be set in 2 ways m.plot_map(pick_distance=...):
    • if a number is provided, it is used as a multiplier for the dataset-radius
      e.g. pick-radius = pick_distance * radius_in_plot_crs)
    • if a string is provided, it is directly used as the pick-radius in units of the plot_crs
      e.g. pick-radius = float(pick_distance)

🔨 fixes

  • ❗ fix using "pick" callbacks with m.set_shape.raster() and 2D input-coordinates
  • make radius-estimation more robust (fallback to nearest-neighbor if 2D estimation fails)
  • fallback to np.inf for pick_distance if radius estimation fails
  • fix delaunay_triangulation does not need to estimate the radius if masked=False
  • fix issues with registering pandas