Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge for v8.2 #239

Merged
merged 42 commits into from
May 13, 2024
Merged

merge for v8.2 #239

merged 42 commits into from
May 13, 2024

Conversation

raphaelquast
Copy link
Owner

@raphaelquast raphaelquast commented Apr 11, 2024

A new minor release with some fixes, many improvements to the internals and a few new features!

🌳 New

  • You can now use m.add_colorbar(layer=..) to override the layer at which the colorbar is plotted
  • There is a new method m.set_shade_dpi(...) to override the dpi used by shade-shapes.
    (Useful to fix data aggregation resolution for high-dpi exports or to adjust resolution to better suit data density)

🌦️ Changes

  • Grid-snapping of the LayoutEditor now snaps to all edges of the axes
    (Useful in case the axis-size is not a multiple of the grid-spacing)
    • If multiple axes are moved, the first selected object acts as anchor
  • The default matplotlib keymap p : "toggle pan/zoom tool" is now active again
🌩️ Internals (no effects on the public API)
  • Unit-tests now use image-comparison to ensure stable image export results
  • The Maps class has been refactored (Maps and MapsBase) to make the code more accessible and easier to handle.

🔨 Fixes

  • fix handling of axes on combined layers in the LayoutEditor
  • allow custom scatter_points marker shapes for "mark" callback
  • fix issues with identification of grid-label position with projections that create non-intersecting grid-lines
  • always print basic exception info on issue during layer-change action
  • make sure to trigger a figure-update after adding a scalebar
  • address pyproj warnings for pyproj>=3.5

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

Attention: Patch coverage is 74.39394% with 169 lines in your changes are missing coverage. Please review.

Project coverage is 75.29%. Comparing base (034ce66) to head (2aa99c9).
Report is 2 commits behind head on master.

Files Patch % Lines
eomaps/_maps_base.py 77.49% 122 Missing ⚠️
eomaps/_data_manager.py 42.85% 36 Missing ⚠️
eomaps/helpers.py 16.66% 5 Missing ⚠️
eomaps/_blit_manager.py 57.14% 3 Missing ⚠️
eomaps/colorbar.py 85.71% 1 Missing ⚠️
eomaps/layout_editor.py 95.45% 1 Missing ⚠️
eomaps/scalebar.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #239   +/-   ##
=======================================
  Coverage   75.29%   75.29%           
=======================================
  Files          26       27    +1     
  Lines       11754    11817   +63     
=======================================
+ Hits         8850     8898   +48     
- Misses       2904     2919   +15     

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

(use first picked axes as anchor in case multiple axes are moved)
moved methods:
_get_coll, _convert_1d_to_2d, _handle_explicit_colors, _sel_c_transp
- use custom size also on first plot_map call if set
- flush events to ensure sizes are properly updated
- don't flush events on resize
@raphaelquast raphaelquast changed the title merge for v8.1.2 merge for v8.2 Apr 29, 2024
@raphaelquast raphaelquast merged commit b40a54b into master May 13, 2024
8 checks passed
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.

1 participant