Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Hidden curves should not count to "Same Color" restrictions #548

Open
mducle opened this issue Sep 28, 2020 · 2 comments
Open

Bug: Hidden curves should not count to "Same Color" restrictions #548

mducle opened this issue Sep 28, 2020 · 2 comments
Assignees
Labels

Comments

@mducle
Copy link
Member

mducle commented Sep 28, 2020

Expected behavior

Can change the color of a line to another color which does not appear on the plot.

Actual behavior

There is a check which ensures that lines on the plot do not have the same color. This check does not take into account whether a curve is hidden or not. So if the curve is hidden, and the user wants an unhidden curve to have the same color, this still gives an error.

Steps to reproduce the behavior

Plot multiple (line-plot) curves using the Cut tab. Click on the wheel (settings icon) and hide one of the curves (unset one of the Show Lines checkbox). Set another curve to the same color as the hidden curve -> an error dialog will pop up saying that you cannot have two lines of the same color.

Platforms affected

All.

@SilkeSchomann
Copy link
Collaborator

@mducle Is this still a problem? The hidden curve could just get deleted.

@mducle
Copy link
Member Author

mducle commented Aug 4, 2021

@SilkeSchomann yes, it's still an issue with Mantid nightly 6.1.20210802.1714 - also I found another issue - the settings are not reset when the plot is redone (e.g. plot a series of cuts [overplot], hide one of them, and replot the same number of curves, click the settings wheel icon and you'll see the previously hidden curve will show as being hidden even though it is not).

@MialLewis MialLewis self-assigned this May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants