On Dec 19, 2007 8:46 AM, Carl Witty <[EMAIL PROTECTED]> wrote:
>
> On Dec 18, 3:59 pm, wdbragg <[EMAIL PROTECTED]> wrote:
> > I am seeing some strange things with the labelling of axes in
> > matplotlib.
> ...
> > First problem, the y-axis labelling is different.  On the matplotlib
> > page, the largest y-axis value labeled is 140.
> > In sage, it is 1.4 x1e+2.
>
> This is a known bug in Sage (http://sagetrac.org/sage_trac/ticket/
> 924).  Hopefully somebody will fix it soon.  (I'll try to fix it in
> early January if nobody beats me to it.)

OK, I'll try... :-)

Sage ships with a slightly older version of matplotlib.   I just tried
the following:

  1. Download the latest matplotlib from
http://sourceforge.net/projects/matplotlib
  2. Extract the source tarball and do
          sage -python setup.py install
  3. Try your example.

The y-axis problem is completely fixed.   See attached. I don't know
about the weird
x-axis issue.

So the fix is to upgrade the matplotlib sage ships with.

OK, of course reading your #924 explains that the above probably would have
worked with a stock matplotlib-0.90 too.... Anyway I'll make a
matplotlib-0.91.1 spkg
that gets rid of as many patches as possible, and post it here for
people to test.
If it works, we'll put it in.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

<<inline: test.png>>

Reply via email to