Skip to content

Conversation

@michaellans
Copy link
Collaborator

Description

Check for and handle adding duplicate PVs. If adding a list of PVs, any PV already on the plot will be skipped. Adding an individual PV from the lineEdit which is already on the plot will result in a duplicate curve for that PV plotted on a new axis.

Motivation

Users noticed unexpected behavior with duplicate PVs when adding from list:
[BUG] - if add PV from search window and the PV already exists, it's added again #220

Where Has This Been Documented?

Added docstring and comments to ControlPanel.add_curve explaining "duplicate" option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - if add PV from search window and the PV already exists, it's added again

1 participant