-
Notifications
You must be signed in to change notification settings - Fork 24
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
Plot comparison test failing #214
Comments
can't seem to reproduce this bug :C. I think the comparison plot was not affected by the matplotlib change. The change forced errorbars to be defined only by positive values (e.g. plt.errorbar(origin, xerr=[1, 2]) giving a (-1, +2) error margin), meaning the origin point now must be inside the error range. That was the problem with consistency tests (with obs outside sim range), but t-tests was already having the origin inside by default created a unit test for comparison tests in, #222 that randomizes the values to see if at some point it breaks. so far it works alright |
should we close this? |
UPDATE: Open pull request to address this. @pabloitu @fabiolsilva let me know what you think. im reopening this because I'm seeing this is still an issue. see example script to reproduce
This script is failing with the following error.
some notes:
|
See PR #247 to address this issue |
fixes issue #214 Co-authored-by: William Savran <[email protected]>
On line 1486 in csep/utils/plots.py the
plot_comparison_test
is failing due to an incompatible change in matplotlib. The fix currently exists inplot_poisson_consistency_test
and should be duplicated inplot_comparison_test
.The text was updated successfully, but these errors were encountered: