HF RL Explorer

Backport PR 4330 on branch 1.12.x (fix: handle scalar string groups in ranked-gene plots)

Backport PR 4330 on branch 1.12.x (fix: handle scalar string groups in ranked-gene plots): a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Backport PR 4330 on branch 1.12.x (fix: handle scalar string groups in ranked-gene plots)

The task

**Title:** Backport PR #4330 on branch 1.12.x (fix: handle scalar string groups in ranked-gene plots)

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.