HF RL Explorer

Minor refactoring for label command generators in DotPlots.

Minor refactoring for label command generators in DotPlots.: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Minor refactoring for label command generators in DotPlots.

The task

**Title:** Minor refactoring for label command generators in DotPlots.

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