Explicit specification of main panel size
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 254
- Avg merge
- 10h 35m
- Merged PRs (30d)
- 9
Description
Hi! I know that a few iterations ago the effect of the figure_size argument in theme changed a bit and now it directly specifies the width and height of the whole figure (including legends, axis text, title, etc.).
I was wondering whether there is any way via Plotnine's API or a more hacky way to directly control the size/aspect ratio of the main panels of a figure instead of the size of the whole figure, as sometimes I generate panels that I manually put together in Inkscape (I used to do it programmatically with patchworklib but it ends up being more of a hassle sometimes) and having them have equal size (or width/height) would really speed up the postprocessing for me.
Any ideas? Thanks!
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.
Research direction
Start by reviewing Plotnine's theme API and the behavior of the figure_size argument. Investigate whether the public API exposes control over the main panel dimensions or aspect ratio independently from the complete figure, and define how equal panel sizes should be verified for figures assembled externally.
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
- 35/100