Cut scikit-image dependency#67
Cut scikit-image dependency#67yunjunz merged 10 commits intoinsarlab:mainfrom scottstanie:cut-dependencies
Conversation
Although slower, the time difference for a (400, 500) image is 0.02 vs 0.2 seconds
|
I was also thinking of removing |
|
Co-authored-by: Zhang Yunjun <yunjunz@outlook.com>
The specific reason was to try and make downstream packages that use PySolid (like If I take the And building when docker image with those two environments fies, the one with matplotlib is about double in size the one without: So in practice you're right that for a lot of people who are going to install pysolid into some big all-encompasing environment, it makes no difference. but if (and when) isce3 splits off from |
We definitely need to remove matplotlib for obvious reasons that @scottstanie mentioned above. It actually came up already on data system side. Up to you guys if you want to do that in this PR or a separate PR. |
yunjunz
left a comment
There was a problem hiding this comment.
Looks all good to me. Thank you @scottstanie!
|
Removing Regarding the dependency files, I believe |
Also hopefully this fixes this CI that was stuck
|
The CI looked normal to me. It usually takes ~1 hour to finish all the testing on various Linux versions (https://github.com/insarlab/PySolid/actions/runs/5570498743/job/15083276586?pr=63). |
|
Oh whoops! Sorry about cancelling then |
The
resizefunction is a thin wrapper aroundndimage.zoom. There were only a few names changed.The add an anti-aliasing filter, which might make more of a difference in other cases, but the SET is so smooth that it doesn't matter for us. The difference is approximately 0: