plotly / plotly/plotly.py

Please add a way to specify the location of multiple bits of text using container coordinates

Open
#3,084 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

I have an application where I need to put one text string (the Y-axis label) in the top left corner and a second text string containing source information in the bottom left corner. Placing text at the left edge of the graph seems to require specifying container X-coordinate 0. Title obviously supports creating one such label in container coordinates, but only appears to support one piece of text. https://plotly.com/python/reference/layout/ add_annotation supports multiple pieces of text, but does not appear to support container coordinates. https://plotly.com/python/text-and-annotations/#positioning-text-annotations-absolutely

Please offer one tool that supports both multiple strings and container coordinates if it is not already possible to do so. If it is possible, please clarify the documentation. If this is a good Plotly codebase contribution 0 for a data scientist, let me know -- I can attempt it.

Thanks!

Contributor guide

Open the contributing guide

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 with the linked layout reference and add_annotation positioning documentation, comparing support for multiple text strings and container coordinates. Done means either documenting an existing workflow that meets both requirements or defining and implementing a supported way to combine them, with the behavior verified by the project’s tests.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.