You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will change color of plot, but not rest of the page.
As workaround i manually background color
let mut html = plot.to_html();
if !settings.white_plot_mode {
html = html.replace("<head>", "<head><style>body {background-color: #111111;color: white;}</style>");
}
The text was updated successfully, but these errors were encountered:
I'll have to check what the exact behaviour is with the Python/JavaScript implementations, as I tend to base all decisions like this one on what the canonical libraries do.
Hi @qarmin , I think the behaviour you describe is normal and is similar to how it behaves in Python and Java. For example the Python Express page has these examples https://plotly.com/python/templates/
I think having the entire HTML page background dark is not necessarily something in the scope of our API. However, I think that changing this would only make sense when working with the standalone plot version as generated by plotly/templates/plot.html.
Currently using
will change color of plot, but not rest of the page.
As workaround i manually background color
The text was updated successfully, but these errors were encountered: