>> But, wait, does SAGE_HOME point to $HOME/.sage by default? That is >> the right place for this, I just don't remember exactly where >> SAGE_HOME points. > > Yep, it does. We can make sure easily enough by running Sage and asking: > > sage: DOT_SAGE > '/Users/wstein/.sage/' > > By the way, I just realized it is called "DOT_SAGE", not "SAGE_HOME".
Ahh, I that explains why I was confused. > This is now: > > http://trac.sagemath.org/sage_trac/ticket/6235 Great! Brian > -- William > > >> >> I don't even think we need to put a default matplotlibrc file there, >> so we don't have to worry about it becoming out of date. If people >> want to add their own matplotlibrc file to this directory they can, >> but the default will be that matplotlib works. >> >> Cheers, >> >> Brian >> >>> William >>> >>> >>>>> In the mailing list thread, the option was brought up to have the user >>>>> put in a command in their init.sage file if they wanted a custom Sage >>>>> initialization for matplotlib. Setting the MATPLOTLIBRC variable in the >>>>> init.sage file should work, I think. >>>> >>>> Yes, but I don't see this file in my .sage directory. Where would it be? >>>> >>>>> In reality, (I think) the people this affects are the people that have >>>>> already customized their system install of matplotlib. Those are the >>>>> people that (I think) would be capable of writing another command in >>>>> their init.sage or something to have Sage have a custom matplotlibrc file. >>>> >>>> Yes, for the most part I agree with this. But it is not quite that >>>> simple. I still need/want to be able to configure matplotlib for Sage >>>> and my own install separately. That means I have to copy my own >>>> matplotlibrc file into .sage, make edits and set variables in >>>> init.sage. >>>> >>>>> On the other hand, I can see the nice thing about Sage being totally >>>>> self-contained and not pulling settings from a user's home directory for >>>>> options. >>>> >>>> Yes, I think Sage should "Just Work", even for users that have >>>> matplotlib installed previously. This is simple enough to fix, I >>>> don't see why we wouldn't. The only thing is that the matplotlibrc >>>> file needs to be updated anytime that matplotlib itself is updated. >>>> >>>> Cheers, >>>> >>>> Brian >>>> >>>> > >>>> >>> >>> >>> >>> -- >>> William Stein >>> Associate Professor of Mathematics >>> University of Washington >>> http://wstein.org >>> >>> > >>> >> >> > >> > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---