This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class TransformChain(ListModel, Transform): | |
| def __init__(self, transforms=[]): | |
| super().__init__( | |
| basetype=Transform, | |
| iterable=transforms, | |
| lookup={str: lambda q, e: q == e.name}, | |
| ) | |
| def __call__(self, coords): | |
| return tz.pipe(coords, *self) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| from ..utils.events import EmitterGroup | |
| class Extent: | |
| """Extent object holding minimum and maximum values of data. | |
| Parameters | |
| ---------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Display many points layers | |
| """ | |
| import numpy as np | |
| import napari | |
| from time import time | |
| data = [] | |
| for i in range(50): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer