Repository navigation
V0.14.x fix matplotlib test warnings and circular import - #3632
Conversation
| im_lo = imf / 1000 | ||
| im_hi = imf + 10 | ||
|
|
||
| the_expected_warnings = [r"tight_layout : falling back to Agg|\A\Z", |
There was a problem hiding this comment.
Can you rename this to something more meaningful? e.g. expected_imshow_warnings or expected_warnings_on_imshow?
There was a problem hiding this comment.
Reading the later tests, I might suggests three constants:
- base expected warnings on imshow
- CObject warning on imshow
- low range warning on imshow
Then you can combine them with + in each test?
There was a problem hiding this comment.
this is alot of work, for a branch that isn't even master.
There was a problem hiding this comment.
Fair enough, hence why I didn't tick "request changes". =) The first suggestion is not a lot of work though! Actually let me do it with suggestions.
There was a problem hiding this comment.
Never mind, just saw that you took care of it! Thank you!! =)
|
|
||
| the_expected_warnings = [r"tight_layout : falling back to Agg|\A\Z", | ||
| r"CObject type is marked|\A\Z", | ||
| # Maptlotlib 2.2.3 seems to use np.asscalar which issues a warning |
|
Travis requires some backports I think... As well as some fixes that aren't yet merged... |
65b8c1e to
84f71e2
Compare
|
This looks good to me, but travis is all red. is it possible to rebase please? |
|
Hello @hmaarrfk! Thanks for updating the PR.
Comment last updated on January 01, 2019 at 16:47 Hours UTC |
Codecov Report
@@ Coverage Diff @@
## v0.14.x #3632 +/- ##
===========================================
+ Coverage 86.68% 86.69% +<.01%
===========================================
Files 337 337
Lines 27568 27568
===========================================
+ Hits 23898 23900 +2
+ Misses 3670 3668 -2
Continue to review full report at Codecov.
|
|
So the dask bug has been cross referenced and |
|
Thanks! :) |
Fixes: #3631
Fixes: #3630
Checklist
[It's fine to submit PRs which are a work in progress! But before they are merged, all PRs should provide:]
./doc/examples(new features only)./benchmarks, if your changes aren't covered by anexisting benchmark
[For detailed information on these and other aspects see scikit-image contribution guidelines]
References
[If this is a bug-fix or enhancement, it closes issue # ]
[If this is a new feature, it implements the following paper: ]
For reviewers
(Don't remove the checklist below.)
later.
__init__.py.doc/release/release_dev.rst.@meeseeksdev backport to v0.14.x