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
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.
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
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
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
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
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
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
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