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

review map plotting #217

Merged
merged 3 commits into from
Feb 2, 2024
Merged

review map plotting #217

merged 3 commits into from
Feb 2, 2024

Conversation

fkuehlein
Copy link
Collaborator

I renamed it to MapPlot because you can now only plot a single dimension at a time. Of course this can be extended by the user. See ClimateNetwork.ipynb tutorial for example usage.

- remove old `MapPlots`
- rename `CartopyPlots` -> `MapPlot`
- clean up for most basic functionality
- adapt `ClimateNetworks.ipynb` accordingly
- add most basic test in `test_map_plot.py`
- remove respective TODOs in init-files
- adapt docs
@fkuehlein fkuehlein linked an issue Jan 24, 2024 that may be closed by this pull request
5 tasks
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2f40e1a) 60.82% compared to head (562581f) 62.82%.

Files Patch % Lines
src/pyunicorn/climate/map_plot.py 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   60.82%   62.82%   +2.00%     
==========================================
  Files          44       43       -1     
  Lines        6356     6220     -136     
==========================================
+ Hits         3866     3908      +42     
+ Misses       2490     2312     -178     

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

@fkuehlein fkuehlein added this to the Release 0.7 milestone Jan 25, 2024
@ntfrgl
Copy link
Member

ntfrgl commented Feb 2, 2024

@fkuehlein, please kindly check my minor edits above. Otherwise, this should be good to go.

@fkuehlein
Copy link
Collaborator Author

Thank you for those additions, looks good!

@fkuehlein fkuehlein merged commit f1b6e71 into master Feb 2, 2024
3 checks passed
@fkuehlein fkuehlein deleted the 203-map_plots branch February 2, 2024 10:02
@ntfrgl ntfrgl added the maintenance something should be improved or is outdated label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance something should be improved or is outdated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAINT: drop climate.MapPlots in favour of climate.CartopyPlots
2 participants