Skip to content

Feature/coverage#608

Merged
peanutfun merged 9 commits intodevelopfrom
feature/coverage
Jan 6, 2023
Merged

Feature/coverage#608
peanutfun merged 9 commits intodevelopfrom
feature/coverage

Conversation

@NicolasColombi
Copy link
Copy Markdown
Collaborator

@NicolasColombi NicolasColombi commented Dec 28, 2022

Changes proposed in this PR:

  • Add test that checks that plot_rp_intensity() in climada/hazard/base.py do not raise errors when called.
  • Add test to check that plot() in climada/entity/disc_rates/base.py do not raise errors when called.
  • Add test to check that plot() plots centroids in climada/hazard/centroids/centr.py

PR Author Checklist

PR Reviewer Checklist

Add 3 test to check that the plotting functions of
climada/entity/exposure/base.py do not throw
any errors when they are called. Specifically, the
functions tested are:

1) plot_scatter
2) plot_raster
3) plot_basemap
Add test that check that the function plot_rp_intensity(), present in
climada/hazard/base.py, do not throw errors when it is called.
Add test to check that plot() in climada/entity/disc_rates/base.py
do not raise errors when called.
1) Add test for centroid plots.
2) Add a test to check that the right title is displayed when using
plot_rp_intensity() to plot hazard exceedance intensity
Copy link
Copy Markdown
Member

@peanutfun peanutfun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, thanks a lot for raising the pull request! I just found two minor things to change.

@peanutfun peanutfun merged commit 5c7daea into develop Jan 6, 2023
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.

2 participants