matplotlib / matplotlib/napari-matplotlib

Lock dimension being sliced in SliceWidget

Open
#195 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

New feature
Dominant language
Python
Stars
46
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When SliceWidget is slicing the (e.g.,) "x" dimension, the selector widget for "x" should be locked/grayed out as it does nothing anyway.

Contributor guide

No contributing guide indexed for this repository

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 locating the SliceWidget implementation and tracing how it handles the dimension currently being sliced. Check how selector widgets are enabled or grayed out, then make the active dimension visibly locked while slicing. Confirm that other dimension selectors remain usable and that the widget returns to its normal state when slicing changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.