Figure Options in Quarto

Open
#975 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Reproduce the behavior in a Quarto document using plotnine, comparing global YAML figure options with options set in individual cells. Trace how plotnine output is rendered in Quarto and identify where cell-level figure dimensions are lost. Done means fig-width and fig-height work consistently at cell scope, with coverage for the reported case.

Written by the indexing model from the issue text.

Description

upstream-bug

Since version 0.14, it has been possible to set figure options in Quarto such as fig-width and fig-height. However, this only appears to work when set in the global YAML. Changing them in individual cells has no effect. Is there a way around this, or will this feature be made available?

Dominant language
Python
Stars
4.8k
Forks
269
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from has2k1/plotnine

All issues in has2k1/plotnine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.