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?).
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
Post a Comment