Skip to content

Plot title shows library but not language #6958

@MarkusNeusinger

Description

@MarkusNeusinger

Context: The first R/ggplot2 implementation merged (PR #6951). The rendered plot title currently reads:

scatter-basic · ggplot2 · anyplot.ai

The library is shown but the language is not. For Python-only libraries this didn't matter ("matplotlib" implies Python), but now that we have R libraries (ggplot2 today, possibly more later), the title is ambiguous: viewers can't tell at a glance whether a chart is Python or R.

Decision needed: how should language be surfaced in the rendered image title? Options off the top:

  1. `scatter-basic · ggplot2 (R 4.4.1) · anyplot.ai`
  2. `scatter-basic · R · ggplot2 · anyplot.ai`
  3. `scatter-basic · ggplot2 [R] · anyplot.ai`
  4. Drop from image title entirely, surface only on the page/metadata
  5. Something else

Marking as discussion-only — design decision precedes implementation.

Touched code paths once decided:

  • `prompts/plot-generator.md` — the title format is enforced by the generator prompt
  • `prompts/library/ggplot2.md` (and per-library overrides if added)
  • `prompts/quality-evaluator.md` — needs to know the new format so review doesn't flag it
  • Possibly `scripts/style-experiment.py` if title format is hardcoded

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions