Fix RectangularStrategy() results if get_grid() argument is prime
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- matplotlib, python
- Domain
- data-visualization
Research direction
Start by locating RectangularStrategy and the get_grid() entry point in the repository, then reproduce the layout with a prime N greater than 3. Inspect any existing tests for grid arrangements. Done means prime-sized requests no longer produce an unusable one-row grid for larger primes, with the expected layout covered by a test.
Written by the indexing model from the issue text.
Description
RectangularStrategy, if get_grid takes in prime N, creates a one-row by N cols plots grid. This poses an issue with larger prime numbers (N > 3)
- Dominant language
- Python
- Stars
- 44
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matplotlib/grid-strategy
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
matplotlib/grid-strategy#60 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/grid-strategy#54 · 1 comment · 1 reaction ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
matplotlib/grid-strategy#53 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
matplotlib/grid-strategy#52 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
matplotlib/grid-strategy#51 · 2 reactions ·
All issues in matplotlib/grid-strategy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100