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
Event names getting overlapped It #11495
Comments
Yes it's definitely an issue; I wonder if we could detect the collision and display just a marker or truncated event description in that case, and only expose the full description on hover. |
You will always be able to have long enough event names to overflow even in a dedicated area. |
If this is possible I think a truncated version would be very nice! I'd truncate first, and if even that doesn't work (e.g. zoom out far enough) I'd remove the label completely. Color-coding event types would be a good idea not just in that particular case – is this supported? |
I'd like to second @cbrnr's proposals, I like that |
You can pass a dict with custom colors to |
A qt-favoring solution in terms of simplicity might also be giving the event-labels a background with the color of the plot-background. If they stack you could at least read the one on top. And to expand we could intercept |
Yes, but I meant the default behavior should be different colors for different events. |
Description of the problem
While I was trying to reproduce the issue in #130 in mne-tools/mne-qt-browser I saw that the event name are getting overlapped with each other
Steps to reproduce
Link to data
No response
Expected results
It should have been consistent with the event duration like shown by @hoechenberger in the issue
Actual results
Additional information
none
The text was updated successfully, but these errors were encountered: