Philipp Schlegel
Philipp Schlegel
Generate url to 3d cursor location.
Related: add 'snapshot mode' to `CatmaidInstance`. In this mode, a remote instance would store all queried urls and the responses (e.g. a pickle file). A new `CatmaidInstance` would then accept...
Ended up writing my own implementation for memoization using `OrdereredDict`. First version committed in 7ca2c5b89b1c6dab2d087168d3c0fd7ed855826d. Will keep this issue open to track bugs and feature ideas.
Hi @ArefZarin, You seem to be calling `cluster_by_synapse_placement` without the leading `pymaid.` - did you import the function explicitly by running `from pymaid import cluster_by_synapse_placement` or did you perhaps copy+paste...
Hi Eric, Glad you find the package useful! The namespace issue has been in a thorn in my side for a while. I would love to have the flat namespace...
Nice. Re the GUI being initialised: The only vispy-related things that happen at import time are these (across two different modules): ``` import vispy from vispy import scene from vispy.geometry...
Maybe it's matplotlib then? Try these import statements: ``` import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.lines as mlines import matplotlib.patches as mpatches import mpl_toolkits from mpl_toolkits.mplot3d.art3d import...
In that case this should do the trick for you: If you don't need plotting simply import matplotlib in headless mode _before_ importing pymaid: ```python import matplotlib as mpl mpl.use('template')...
I tried optimizing imports in c7cd8478c2eb88dd478c82fa37819c81694237b3. Unfortunately, there wasn't much to optimize in the first place, so I think any difference will be hardly noticeable. There are two more options:...
Came across [lazy-import](https://pypi.org/project/lazy-import/) package. Might be worth using this for e.g. vispy and matplotlib Edit: [demand-import](https://github.com/bwesterb/py-demandimport) also looks good