plotly / plotly/plotly.py

`config = {responsive: False}` does not work as expected in jupyter lab

Open
#4,421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

EDIT: if this is just an issue of it not being clarified in the docs, clarify it for me here and I will do the suggest thing in the docs or submit the pull request referencing the issue, thank you

I copy/pasted example from: https://plotly.com/python/configuration-options/ into jupyter lab. It didn't work the way I expected.

Setting width and heigh explicitly works to turn off responsiveness, obviously. Is there something I should know?

Here's a video:

https://github.com/plotly/plotly.py/assets/30324885/c29ddc9c-6e3b-4995-9ac7-837f07e66098

Here's the same video if the above embed doesn't work (didn't during preview). Everything's a fresh install from pip.

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 by reproducing the responsive configuration example from the linked Plotly Python configuration-options documentation in a fresh JupyterLab installation. Compare the documented behavior with explicit width and height settings, then determine whether the fix belongs in the implementation or in the documentation; done means the behavior is corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.