Releases: raphaelquast/EOmaps
Releases · raphaelquast/EOmaps
EOmaps v0.1.7
new
there are 2 new plot-types:
"delauney_triangulation"
- ... e.g. plot a (continuous) triangulation-shading of irregularly distributed points
- it supports additional customization by adding a suffix to the "shape"-name:
_flat: plot actual polygons (with mean-values) instead of a mesh that interpolates values_masked: use the defined "radius" to mask any triangle for which the distance between the centroid and the vertices exceeds (2 * radius)
(particularly useful for densely sampled data-points whose exterior is a a concave shape)_flat_masked: a combination of the above options
"Voroni"
- create a voroni-diagram
- similar as with the Delauney triangulation, any polygon whose defining data-point is farther than (2 * radius) away from any vertex of the Voroni-diagram is masked
fixes
- cache the background on first draw of the map so that callbacks can immediately trigger
EOmaps v0.1.6
new
- example notebook updated to show most of the implemented functionalities
- markers & annotations now support
permanent=True/False - there's now an option
m.set_plot_specs(histbins="bins")to use the bins calculated
by the data-classification for the histogram! (...only possible if a classification is used!) - you can now specify "layers" for dynamic plot components (e.g. markers, annotations etc)
- option "radius_crs" added to
m.cb.markto specify the radius of the marker in an arbitrary crs
new functions:
m.cb.clear_annotations()andm.cb.clear_markers()to clear all annotations and markersm.figure.set_colorbar_position()to manually change the position of the colorbar & histogramm.add_overlay_legend()to quickly customize the legend for map-overlays
fixes
- "rectangle"-marker can now be properly "buffered"
- fix setting "vmin" and "vmax" in
plot_specs - major improvements on blitting implementation
- use explicit cleanup functions to clear markers & annotations separately
- set "double_click=False" as the default for callbacks
(to avoid the open issue that double-clicks are not recognized inipymplfor Jupyter-Notebooks ) - ensure histogram is always properly positioned on top of the colorbar
- fix rotation and size of markers
- allow multiple callbacks (with same button) for "marker" and "annotation"
- fix initialization of subgrids if a
GridSpecis passed tom.plot_map - always overwrite all
classify_specsto avoid mixing kwargs
EOmaps v0.1.5
fixes
- fix #16 (e.g. install issues with VERSION file)
- fix issues when coordinates are provided as integer-arrays and radius is estimated as float
- execute callbacks only if point is identified
EOmaps v0.1.4
fixes
- there were some issues when specifying
"radius_crs"in conjunction with"cpos"that are fixed now"radius_crs"can be one of"in","out"or any crs-specification recognized bypyproj"cpos"can be one of"c","ul","ur","ll","lr"
- fix typo in README:
xcoord="lon"andycoord="lat" - use explicit "VERSION" file to specify module-version in one place
EOmaps v0.1.3
new
trimesh_rectangleshas been added as a possible plot-shape (e.g.m.set_plot_specs(shape="trimesh_rectangles")
(it uses a triangular mesh for plotting which is useful for contour-plots since pixel-boundaries are invisible)- option to copy the data with
m.copy(copy_data=True)has been added
fixes
- copy now performs a deep-copy of all properties
- make
geopandasan optional import (basic functions do not require geopandas) - add
pyepsgas dependency - use
xcoordandycoordas labels for annotations - cleanup callbacks if figure is closed
EOmaps v0.1.2
new
add_marker()function added to manually add markersadd_annotations()function added to manually add annotations- annotate can now be used on multiple buttons
- add
textargument tom.cb.annotateto manually specify the text - add
m.cb.clear_annotations()function to delete annotations - add
savefigfunction to save the image
fixes
- fix permanent annotations
-
- more fixes + more unittests
EOmaps v0.1.1
new
- allow multiple callbacks of the same function (using different mouse-button assignments)
- add option to make annotations permanent
m.cb.annotate(... , permanent=True) - add option to format annotation display via
m.cb.annotate(..., val_fmt=<callable>) - add
m.cb.markcallback (e.g. to overlay markers around selected points) - all callback-returns are now accessible via
m.cb... - add
m.cb.cb_list(e.g. a hardcoded list of available callback functions)
fixes
- better fetching of background for blitting (now also works with multiple callbacks)
EOmaps v0.1
This is a first (beta) release... use with care!