Eric Perlman

Results 34 comments of Eric Perlman

Thanks for the quick response! I'm quite new to FastAPI+ASGI, and finding any intuition I had with Flask only goes so far. ;-) Here's a minimal app to show this:...

All of the FAFB is open (CC BY-NC 4.0) and [hosted by Google](https://fafb-ffn1.storage.googleapis.com/landing.html), though it's in the [Neuroglancer precomputed format](https://github.com/google/neuroglancer/tree/master/src/neuroglancer/datasource/precomputed) and would need a utility like [cloud-volume](https://github.com/seung-lab/cloud-volume) to read. The...

> I'm still trying to see how that should work. In particular I'm trying > to see whether _update_display() should be the only method to do that. > And I'm...

8192 is not that small ;) It's the maximum size for each dimension [8192^3]. ~(`MAX_TEXTURE_SIZE` is for 1 and 2D arrays; I think `GL_MAX_CUBE_MAP_TEXTURE_SIZE` is the actual value we care...

#3174 was related to changing of the seed values (and failing to update the colorbox) which has been fix. The issue here is related to all of the other quirky...

I believe this will be fixed by https://github.com/napari/napari/pull/4935.

Thank you for the data & code. As to the specific issue here with the layer colormap different from the picker, I *think* this is being caused by some floating...

@Cryaaa, thank you for chiming in and providing a clear, reproducible, example! @jni and I believe we've uncovered the problem. While working on #3308, we were stepping through [color_dict_to_colormap](https://github.com/napari/napari/blob/5985c54f8b9fc6231548dea5835359dbfd3c1fd3/napari/utils/colormaps/colormap_utils.py#L241-L269) and...

I have a minor update. I was able to determine that [color_dict_to_colormap](https://github.com/napari/napari/blob/5985c54f8b9fc6231548dea5835359dbfd3c1fd3/napari/utils/colormaps/colormap_utils.py#L241-L269) is generating incorrect control points. For example, with five colors, this function will generate control points like [0,...

I think I have it; I'll draft a PR shortly. If you want to try the [branch](https://github.com/perlman/napari/tree/label_control_points_fix) before then, please let me know if it works. Jules Vanaret' example [(from...