Skip to content

Commit

Permalink
explain sort_by options
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 18, 2024
1 parent af83417 commit c975f44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c975f44

Please sign in to comment.