[Matplotlib-users] change background

2011-07-14 Thread T. Tofus von Blisstein
Hi, how can I invert the colors of axes/background from black/white to white/black? thanks... I have been googling for a while... T. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the

Re: [Matplotlib-users] change background

2011-07-14 Thread Justin McCann
On Thu, Jul 14, 2011 at 3:57 PM, T. Tofus von Blisstein tuffst...@googlemail.com wrote: Hi, how can I invert the colors of axes/background from black/white to white/black? thanks... I have been googling for a while... If you want to do it for all your plots, you can mess with all of the

Re: [Matplotlib-users] change background

2011-07-14 Thread Christopher Brown
The following helpers do the trick for me: def set_foregroundcolor(ax, color): '''For the specified axes, sets the color of the frame, major ticks, tick labels, axis labels, title and legend ''' for tl in ax.get_xticklines() + ax.get_yticklines():