mne-tools / mne-tools/mne-python

Zoom to rectangle in raw.plot

Open
#7,006 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

EASY ENH
Dominant language
Python
Stars
3.5k
Forks
1.6k
Avg merge
1d 6h
Merged PRs (30d)
100

Description

The raw.plot browser lacks a tool to zoom into a portion of the signal using the mouse. Would this be a useful feature? I'm willing to work on it (because I need it), but this will probably take some time to implement. Do you have suggestions on the UX? Maybe just trigger the action if the user drags the mouse (visual feedback in the form of a rectangle would be nice though)? Is there something similar already somewhere in MNE?

Contributor guide

Open the contributing guide

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 examining the raw.plot browser entry point and looking for existing mouse interaction or zoom behavior elsewhere in MNE. The issue leaves the UX undecided, including drag behavior and rectangle feedback, so confirm the interaction design before implementation. Done would mean an agreed and tested mouse-based rectangle zoom workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.