plotly / plotly/angular-plotly.js

Min size of plotly plot

Open
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
242
Forks
81
Avg merge
8h 48m
Merged PRs (30d)
18

Description

Hi there,
there seems to be no possibility to make plotly-plots smaller than 200x200.
If I set width and height to e.g. 100, the plot collapses to one point.
I think there's no need to post MWE since this issue can be reproduced by just setting height and width in the layout of the main AP example.
On the other hand, if I set width and height to percentages instead of pixels, they are ignored

Contributor guide

No contributing guide indexed for this repository

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 main AP example and the plotly-plot layout handling mentioned in the report. Reproduce the issue using 100x100 pixel dimensions, then try percentage width and height. Done means plots render below 200x200 and percentage dimensions are respected.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.