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

Changing color/thickness of vline appearing on signal plot? #155

Open
fishbacp opened this issue Mar 4, 2023 · 2 comments
Open

Changing color/thickness of vline appearing on signal plot? #155

fishbacp opened this issue Mar 4, 2023 · 2 comments

Comments

@fishbacp
Copy link

fishbacp commented Mar 4, 2023

When I click on the background inside the raw signal(s) window, I see a vertical line. It's light green and very thin, and I'm wondering if there's a line or two I can modify within my mne_qt_browser/_pg_figure.py to make adjustments, e.g. wider and/or different color? (Am I correct that a change could be made there?)

Additional context
Add any other context or screenshots about the feature request here.

@marsipu
Copy link
Member

marsipu commented Aug 1, 2023

Hi @fishbacp, thank you for the suggestion.
Indeed the line might be a bit hard to see depending on your screensize and resolution.

I tried several width's and everything bigger than 2 seems a bit thick to me imho:

2

grafik

3

grafik

4

grafik

I would suggest width=2 but maybe you want to try yourself?
Change pen='g' to pen={"color": "g", "width": <your width>} in line 1384 of _pg_figure.py.

@marsipu
Copy link
Member

marsipu commented Aug 1, 2023

The color can of course be also a subject of discussion too, I tried making it a bit darker (as it is currently the default in the matplotlib-backend:

Current

grafik

New color (same as in mpl backend)

grafik

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

No branches or pull requests

2 participants