pyobsplot icon indicating copy to clipboard operation
pyobsplot copied to clipboard

background-color "style" attribute doesn't work with "png" and "pdf" rendering

Open juba opened this issue 1 year ago • 2 comments

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"},
    }
)

juba avatar Aug 13 '24 16:08 juba

I opened an issue in the typst repo about this -- https://github.com/typst/typst/issues/4867

wirhabenzeit avatar Aug 31 '24 08:08 wirhabenzeit

@wirhabenzeit That's great, thanks for taking the time to investigate and report the issue !

juba avatar Sep 01 '24 13:09 juba

Issue has been solved upstream and the bug should also be resolved here. Thanks again for opening the issue.

juba avatar Nov 04 '25 08:11 juba