[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread kcrisman
Two very random thoughts: 1. You may also have a more global matplotlibrc file somewhere - that caused me no end of problems reviewing a patch once. 2. I'm not actually sure that matplotlibrc controls the colors of the lines in plots - this may be set by Sage itself directly. Can you give the pr

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread John H Palmieri
On Saturday, July 30, 2011 9:16:10 PM UTC-7, andres.ordonez wrote: > > Hi, there's something weird going on with my matplotlibrc file. > Are you talking about the file $HOME/.matplotlibrc? Sage doesn't actually use that file, as far as I know. Try putting a copy in $HOME/.sage/matplotlib-1.0.

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread andres.ordonez
I have these matplotlibrc files: /etc/matplotlibrc /home/andres/.matplotlib/matplotlibrc /home/andres/.sage/matplotlibrc /usr/local/sage-4.6/local/lib/python2.6/site-packages/matplotlib/mpl- data/matplotlibrc I think that the only one that is valid in sage is the last one, /usr/ local/sage-4.6/l

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread John H Palmieri
On Monday, August 1, 2011 9:22:58 AM UTC-7, andres.ordonez wrote: > > I have these matplotlibrc files: > > /etc/matplotlibrc > /home/andres/.matplotlib/matplotlibrc > /home/andres/.sage/matplotlibrc > /usr/local/sage-4.6/local/lib/python2.6/site-packages/matplotlib/mpl- > data/matplotlibrc

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread kcrisman
On Aug 1, 1:28 pm, John H Palmieri wrote: > On Monday, August 1, 2011 9:22:58 AM UTC-7, andres.ordonez wrote: > > > I have these matplotlibrc files: > > > /etc/matplotlibrc > > /home/andres/.matplotlib/matplotlibrc > > /home/andres/.sage/matplotlibrc > > /usr/local/sage-4.6/local/lib/python2.6/s

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread andres.ordonez
Indeed, lines.thickness in matplotlibrc has no effect in the plots. Is it possible to just modify line.py and get the specified color in the plots? If so, I have several line.py and am not sure which to modify: /usr/local/sage-4.6/devel/sage-main/.hg/store/data/sage/plot/line.py.i /usr/local/sage

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread Jason Grout
On 8/1/11 12:33 PM, andres.ordonez wrote: Indeed, lines.thickness in matplotlibrc has no effect in the plots. Is it possible to just modify line.py and get the specified color in the plots? Try doing: plot.options['rgbcolor']=(0,0,0) That sets the Sage default color (what others pointed out

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread andres.ordonez
Great! I didn't know about sage.init. Thanks! On Aug 1, 2:39 pm, Jason Grout wrote: > On 8/1/11 12:33 PM, andres.ordonez wrote: > > > Indeed, lines.thickness in matplotlibrc has no effect in the plots. > > > Is it possible to just modify line.py and get the specified color in > > the plots? > > T

[sage-support] Re: sage ignores lines.color value in matplotlibrc

2011-08-01 Thread kcrisman
On Aug 1, 3:39 pm, Jason Grout wrote: > On 8/1/11 12:33 PM, andres.ordonez wrote: > > > Indeed, lines.thickness in matplotlibrc has no effect in the plots. > > > Is it possible to just modify line.py and get the specified color in > > the plots? > > Try doing: > > plot.options['rgbcolor']=(0,0,0