I am using Plotly.js for plots on my website. I can't for the life of me figure out how to change the background color to anything besides white. Can that be done, or am I just missing something? Space isn't white, it is black, it would be nice to see it as such...
Change the background color of a plot
Asked Answered
Yeah, but it is getting somewhat better over time... –
Materialist
layout= {
plot_bgcolor:"black",
paper_bgcolor:"#FFF3"
}
© 2022 - 2024 — McMap. All rights reserved.