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(): tl.set_color(colo

Re: [Matplotlib-users] change background

2011-07-14 Thread Justin McCann
On Thu, Jul 14, 2011 at 3:57 PM, T. Tofus von Blisstein 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 'color*' settings in