plotly / plotly/dash

pio.renderers.config not reflected in dcc.Graph figure config

Open
#2,687 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Thanks so much for your interest in Dash!

Before posting an issue here, please check the Dash community forum to see if the topic has already been discussed. The community forum is also great for implementation questions. When in doubt, please feel free to just post the issue here :)

Is your feature request related to a problem? Please describe.
As shown in this post: https://stackoverflow.com/a/70824247 we are able to change fig.show default config by setting pio.renderers[renderer].config beforehand. The problem is that this is not reflected in dcc.Graph figure's config.

Describe the solution you'd like
Be able to globally set default dcc.Graph figure config.

Describe alternatives you've considered
Importing default custom config every time a figure is created.

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 tracing how dcc.Graph receives figure config and compare that path with pio.renderers[renderer].config. The work is done when a globally configured renderer default is reflected in dcc.Graph figures without importing custom config for every figure; no specific files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.