Commit ea0c268
committed
Fix feature sorting in combo-boxes
Sort features alphabetically in the features combo-box.
* In `src/napari_clusters_plotter/_algorithm_widget.py`, sort features alphabetically before adding them to `feature_selection_widget` in `_on_update_layer_selection` method.
* In `src/napari_clusters_plotter/_new_plotter_widget.py`, sort features alphabetically before adding them to the combo-boxes for x, y, and hue axes in `_update_feature_selection` method.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/BiAPoL/napari-clusters-plotter/tree/v0.9.0?shareId=XXXX-XXXX-XXXX-XXXX).1 parent 2005e38 commit ea0c268
File tree
2 files changed
+2
-2
lines changed- src/napari_clusters_plotter
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
0 commit comments