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-4.6/devel/sage-main/build/lib.linux-x86_64-2.6/sage/
plot/line.py
/usr/local/sage-4.6/devel/sage-main/build/sage/plot/line.py
/usr/local/sage-4.6/devel/sage-main/sage/plot/line.py
/usr/local/sage-4.6/local/lib/python2.6/networkx/generators/line.py
/usr/local/sage-4.6/local/lib/python2.6/site-packages/sympy/geometry/
line.py

On Aug 1, 2:03 pm, kcrisman <kcris...@gmail.com> wrote:
> On Aug 1, 1:28 pm, John H Palmieri <jhpalmier...@gmail.com> 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/site-packages/matplotlib/mpl-
> > > data/matplotlibrc
>
> > I don't know what's going on with the color -- I have a feeling that Sage is
> > setting blue as the default color somewhere, overriding the settings in the
> > rc files -- but when I put
>
> Yes, it does.
>
> In line.py:
>
> @options(alpha=1, rgbcolor=(0,0,1), thickness=1, legend_label=None)
> def line2d(points, **options):
>
> This is done with most Sage plotting things.  Notice that it does
> *not* provide a default linestyle :)
>
> My guess is that if you tried thickness or alpha you'd get the same
> behavior?  I think this is intended to be a feature, but other ideas
> on that are welcome.
>
> - kcrisman

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to