llnl / llnl/PyDV

Allow sorting or reordering of the legend labels

Open
#158 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Low Priority
Dominant language
Python
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

One feature that is not in either is the ability for the user to more easily sort or reorder the legend so that the legend is in the same order as the curves on the screen. If curve B lies above curves A and C, and A lies above C, I’d like to legend to go in the order B,A,C. A current workaround that is not too difficult is to “era” the plot and select the curves in the order that you want them plotted.

submitted by: Chris Krenn

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the legend-rendering and curve-ordering entry points in PyDV, then compare them with the existing “era” plot selection workflow described in the issue. Done means users can sort or reorder legend labels to match the displayed curve order, including the example B,A,C ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.