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/local/lib/python2.6/site-packages/matplotlib/mpl-data/ matplotlibrc, this is what I did I used a different linestyle in each of the matplotlibrc files: lines.linestyle : -- # different for each matplotlibrc file lines.color : yellow # same in all matplotlibrc files And then checked a plot to see what linestyle it had: sage: plot(x,x,0,5) The linestyle was the one in /usr/local/sage-4.6/local/lib/python2.6/ site-packages/matplotlib/mpl-data/matplotlibrc, however the color was blue instead of yellow! (I also checked with various linestyles in that file to see that the process was independent of the linestyle used.) On Aug 1, 8:27 am, kcrisman <kcris...@gmail.com> wrote: > 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 precise plots and what you changed in your file explicitly? > > - kcrisman > > On Jul 31, 12:16 am, "andres.ordonez" > > > > > > > > <andres.felipe.ordo...@gmail.com> wrote: > > Hi, there's something weird going on with my matplotlibrc file. When I > > change the value of lines.color from blue to, for example, black the > > lines in the plots are still blue. However, changes in lines.linestyle > > are detected so I guess I'm editing the right file (/usr/local/ > > sage-4.6/local/lib/python2.6/site-packages/matplotlib/mpl-data). Any > > ideas of what's going on? > > > Sage 4.6.2 > > Ubuntu 11.04 -- 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