squidpy icon indicating copy to clipboard operation
squidpy copied to clipboard

Improve import speed

Open michalk8 opened this issue 3 years ago • 3 comments

Description

See if we can lazily-load napari/pyqt5, think these should be the main culprits (need to verify).

michalk8 avatar Feb 24 '22 13:02 michalk8

For verification, I think profimp was useful for scanpy. We also added tests to make sure slow imports aren't added back in.

Previous discussion in scanpy might be useful here: https://github.com/theislab/scanpy/issues/756

ivirshup avatar Feb 24 '22 14:02 ivirshup

we'll deprecate napari soon so this should be no problem

giovp avatar Oct 18 '22 12:10 giovp

deprecate napari should go in 1.3 already

giovp avatar Jan 31 '23 17:01 giovp