From c975f448a029e390b05fcff4457aa43db3e8f0ca Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Mon, 18 Nov 2024 09:11:05 -0500 Subject: [PATCH] explain sort_by options --- jdaviz/core/template_mixin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jdaviz/core/template_mixin.py b/jdaviz/core/template_mixin.py index 54e6ea25ac..20accfca2a 100644 --- a/jdaviz/core/template_mixin.py +++ b/jdaviz/core/template_mixin.py @@ -1442,7 +1442,9 @@ def __init__(self, plugin, items, selected, viewer, What mode to use when making the default selection. Valid options: first, default_text, empty. sort_by : str, optional - How to sort the ordering of items. Valid options: zorder, icon + How to sort the ordering of items. Valid options: zorder (top layers are first), icon + (alphabetical by icon, effectively by order in which layers were first added and assigned + an icon) """ super().__init__(plugin, items=items,