Repository navigation
BUG graphics influence plot, switched criterion - #3158
Conversation
|
the test doesn't seem to work with any of the matplotlib used on travis, i.e. <1.5 possible problem with try...except catching is that the unit test might never run at all. |
|
maintenance, some test methods create several plots but don't close them I still get tkinter warnings in TestPlot.test_plot_oth unless I comment out the add_lowess loop. I still don't see where this comes from. |
78fdab3 to
2f54d07
Compare
|
test_power is the last one, the entire test suite runs now for me also. (second error is in an extra file, that was left over from a different branch) |
|
some cosmetic changes would be possible, but in it goes |
…_3103 BUG graphics influence plot, switched criterion
closes #3103
I added a unit test to compare the sizes used in the plot, but it uses a matplotlib figure private attribute
_sizes. This is most likely not robust, and might need to betry except AttributeErrorprotectedI used matplotlib '1.5.1', and tests pass on my computer (only for the test method, I still get segfaults running the test class)
Detail (as explanation to test code): the plotted sizes are a affine transformation of the influence criterion, so I check that the residuals of the linear regression are close to zero.