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

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -