EOmaps v4.2.2
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 withm.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
andshade_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)
- if a number is provided, it is used as a multiplier for the dataset-radius
🔨 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