plotly / plotly/plotly.py

PX figure overlay / layering

Open
#2,648 9 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

PX today is nowhere near as powerful as something like ggplot in terms of layering: you can't take a bar chart and a line chart and overlay them easily, even though they have the same subplot information. In principle, so long as x, y, facet_col and facet_row are the same or compatible, I should be able to "overlay" PX figures.

See also Composition: #2647

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

No files or tests are named. Start by reviewing the related Composition issue #2647 and the PX figure APIs, then define how compatible x, y, facet_col, and facet_row values should permit bar and line figures to overlay. Done means compatible PX figures can be combined as described.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.