python - How do I change the background color of a matplotlib inline plot in LightTable? -


how change background color of sides of matplotlib inline plot in lighttable? in image below, it's little difficult see axis labels. i'm fine either python-based solution (i.e. modification of python code shown), or lighttable-based solution (i.e. change in 1 of settings files, i'm not sure one--e.g. user.behaviors?).

matplotlib inline plot in light table

if create figure first, can set background colour using patch.set_facecolor:

fig=plt.figure() fig.patch.set_facecolor('white') 

not sure if works in lighttable (never used before), work in ipython session portable lighttable


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -