Rally style / matplotlib white background

What I’m trying to do:
I am trying to plot a matplotlib image to a page using the Rally style

What I’ve tried and what’s not working:
The plot will be generated with a black background and all text and axes lines are black so they are unreadable. I tried to set the axes faces to white but that doesn’t work. I wouldn’t mind to have a black background and white text and axes but is there a way to specify the background color that will work?

sample:
https://anvil.works/build#clone:DTDEDKVMXLHZRYC4=BBMIV4LZSFCO42LDTFMUQXG6

Hi @breinbaasnl,
Have you looked through matplotlib’s documentation on setting the colors of a plot? What specific code have you tried that isn’t working?