oq-engine
oq-engine copied to clipboard
minor fixes in functions implementing Stepp (1972) completeness analysis
Two changes:
- added the highest magnitude bin in the analysis, which was missing
- propose an improvement in the function to plot Stepp (1972) analysis: the legend was set outside the Axes and labels were consequently truncated on the right
You need to fix the tests in hmtk/tests/seismicity/completeness/comp_stepp1971_test.py
Many thanks, @guyomd. There is one test failing. Pls, let me know if you prefer that we fix it.
Sorry for replying so late. I would indeed appreciate if you could fix the test. Otherwise, I am afraid that it may take me additional delay (i.e. 10 days due to a busy next week) to modify the test appropriately. Thanks a lot.
Merging and I will fix the test.
Merging and I will fix the test.
Thanks Michele. I appreciate.