pyobsplot
pyobsplot copied to clipboard
background-color "style" attribute doesn't work with "png" and "pdf" rendering
Example:
df = pl.DataFrame({"x": [0, 100], "y": [0.5, 1.2]})
op = Obsplot(format="png")
op(
{
"marks": [Plot.dot(df, {"x": "x", "y": "y"})],
"title": "Plot title",
"style": {"background-color": "#005", "color": "#FF0"},
}
)
I opened an issue in the typst repo about this -- https://github.com/typst/typst/issues/4867
@wirhabenzeit That's great, thanks for taking the time to investigate and report the issue !
Issue has been solved upstream and the bug should also be resolved here. Thanks again for opening the issue.