Peter Sobolewski

Results 1081 comments of Peter Sobolewski

I can get the text to work correctly with light/dark mode. But the lines themselves seem to be fixed on additive blending and at the bottom? so they always disappear...

I think this is correct? The color dict sets None to magenta: https://github.com/napari/napari/blob/90cde7e27942d7e1d7879d69aabf9ed32d66a5c4/examples/add_labels_with_features.py#L51-L52 My understanding is that then any label other than 1-5 should be magenta. 0 would be magenta...

This actually looks better than i expected: The font might be a bit too big? But still. Resizing is a bit awkward, with some things scaling and others not, but...

Here's a fresh install on my mac: The higher contrast is a big plus, that was something Harry flagged, that the contrast ratio was very poor, especially in light mode....

That does look better!! I still prefer the cleaner look of having the keybinds aligned on the right side, but looking at the code i'm not sure how you'd implement...

Your latest screenshot looks pretty nice! Won't have time to pull this down till later in the week though, sorry!

I pulled this branch and reinstalled, along side vispy PR branch. Alas it does not look correct on my end: The font is in the resources/fonts dir...

``` In [1]: import napari ...: from vispy.ext.fontconfig import find_font ...: print(find_font('AlataPlus', False, False)) --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[1], line 2 1 import napari ----> 2...

``` In [1]: import napari ...: from vispy.util.fonts._freetype import _load_font ...: print(_load_font('AlataPlus', False, False)) --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[1], line 2 1 import napari ----> 2...

Yes! Finally! 😉 Personally, I'm not sure that this is something that needs to be modifiable, but 🤷 In general it works quite well as illustrated above, but one thing...