question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react() and plot_bgcolor

See original GitHub issue

This is a CodePen https://codepen.io/nicolaskruchten/pen/pojdmaX?editors=0010 that illustrates the issue outlined in https://community.plotly.com/t/changing-the-background-colour-of-a-graph/29246/8 and logged in Dash as https://github.com/plotly/dash/issues/1107

Edit: the newPlot behaviour is correct and the react behaviour is not.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
nicolaskruchtencommented, May 4, 2020

OK, so the newPlot behaviour is correct and the react behaviour is not.

0reactions
alexcjohnsoncommented, May 4, 2020

There’s no Cartesian subplot so there should be no red, just white.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing the Background Color in React - Upmostly
There are various ways of changing the background color of a React component, two of which we'll explore: importing a CSS file and...
Read more >
ReactJS : lazy loading large libraries - Revath S Kumar
To keep the initial loading faster, we can lazy load the heavy library as we render the component.
Read more >
How to set background color of view transparent in React Native
Use rgba value for the backgroundColor . For example, backgroundColor: 'rgba(52, 52, 52, 0.8)'. This sets it to a grey color with 80% ......
Read more >
React (forked) - StackBlitz
Starter project for React apps that exports to the create-react-app CLI. ... import React, { Component } from 'react'; ... plotBackgroundColor: null,.
Read more >
How to use the highcharts/highcharts-more function in ... - Snyk
import React from 'react'; import Highcharts from 'highcharts'; import HighchartsMore from 'highcharts/highcharts-more'; //necessary for 'arearange' series type ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found