[matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Manuel Metz
I just noted that mathtext and LaTeX rendering behave differently when using a single "$" character in a text string. This happened to me when looking at the dollar_ticks example from the docs because I use LaTeX rendering by default. The problem is here: formatter = ticker.FormatStrFormatte

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Michael Droettboom
There was a discussion on this list around a year ago about this. The concern was that not rendering $ as $ would break (matplotlib) backward compatibility with scripts that don't care about math at all but use a lot of dollar signs (e.g. financial plots). This is one of the few places where

Re: [matplotlib-devel] using new in axes.hist

2008-12-12 Thread Manuel Metz
Jae-Joon Lee wrote: > I just committed the change. Although the change is trivial, I didn't > tested it in the numpy 1.2 or the svn version. Aaaargh, with numpy 1.2.1 this produces a warning !!! Very unlucky, since 0.98.5 is released... > -JJ > > > On Sun, Dec 7, 2008 at 3:24 PM, John Hunter

Re: [matplotlib-devel] using new in axes.hist

2008-12-12 Thread Manuel Metz
Manuel Metz wrote: > Jae-Joon Lee wrote: >> I just committed the change. Although the change is trivial, I didn't >> tested it in the numpy 1.2 or the svn version. > > Aaaargh, with numpy 1.2.1 this produces a warning !!! Very unlucky, > since 0.98.5 is released... See here: http://projects.scipy

Re: [matplotlib-devel] using new in axes.hist

2008-12-12 Thread Michael Droettboom
Well, if it's any consolation -- I just finished setting up the maintenance branch for 0.98.5, so there's a place for this fix to go... ;) Mike Manuel Metz wrote: > Manuel Metz wrote: > >> Jae-Joon Lee wrote: >> >>> I just committed the change. Although the change is trivial, I didn't >>

Re: [matplotlib-devel] 98.4 maintenance branch

2008-12-12 Thread Michael Droettboom
Done. I also cleaned up the svnmerge docs in doc/devel/coding_guide.rst What we don't currently have is a way to merge fixes from 0.91.x to 0.98.5. It's been a long time since 0.91.x has seen any love, so I'm not too concerned. Just be aware of it -- bug fixes on 0.91.x may need to be manual

Re: [matplotlib-devel] git questions

2008-12-12 Thread Michael Droettboom
Thanks. I've incorporated your docs into the developer documentation. My next experiment will be to see if I can track the 0.98.5 maintenance branch with git. SVN tags/* show up as available remote branches, but not branches/*, which leaves me a bit stumped? If you've done this and there's a

Re: [matplotlib-devel] requesting permission to remove traits and configobj

2008-12-12 Thread Darren Dale
On Wed, Dec 10, 2008 at 11:10 PM, John Hunter wrote: > > > On Wed, Dec 10, 2008 at 9:20 PM, Darren Dale wrote: > >> There has been a report at the bugtracker complaining that matplotlib is >> overwriting an existing installation of configobj. I had a look at the code >> and thought the bug repor

Re: [matplotlib-devel] requesting permission to remove traits and configobj

2008-12-12 Thread Michael Droettboom
Darren Dale wrote: > > > On Wed, Dec 10, 2008 at 11:10 PM, John Hunter > wrote: > > > > On Wed, Dec 10, 2008 at 9:20 PM, Darren Dale > wrote: > > There has been a report at the bugtracker complaining that > matplotlib is

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Manuel Metz
Michael Droettboom wrote: > There was a discussion on this list around a year ago about this. The > concern was that not rendering $ as $ would break (matplotlib) backward > compatibility with scripts that don't care about math at all but use a > lot of dollar signs (e.g. financial plots). This i

Re: [matplotlib-devel] using new in axes.hist

2008-12-12 Thread Manuel Metz
Michael Droettboom wrote: > Well, if it's any consolation -- I just finished setting up the > maintenance branch for 0.98.5, so there's a place for this fix to go... ;) > Okay, I just applied a patch to the 0.98.5 maintenance branch. Checked it with numpy 1.2.1 and 1.3.0.dev6139. Both work fine.

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Michael Droettboom
Manuel Metz wrote: > Michael Droettboom wrote: > >> There was a discussion on this list around a year ago about this. The >> concern was that not rendering $ as $ would break (matplotlib) backward >> compatibility with scripts that don't care about math at all but use a >> lot of dollar signs (

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Manuel Metz
Michael Droettboom wrote: > Manuel Metz wrote: >> Michael Droettboom wrote: >> >>> There was a discussion on this list around a year ago about this. The >>> concern was that not rendering $ as $ would break (matplotlib) backward >>> compatibility with scripts that don't care about math at all bu

[matplotlib-devel] ANN: matplotlib-0.98.5

2008-12-12 Thread Michael Droettboom
We have just released a new version of matplotlib, available for download at https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194&release_id=646644 It is a simple bugfix release to fix a number of critical bugs found in 0.98.4. These "what's new" release notes, with

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Darren Dale
On Fri, Dec 12, 2008 at 9:46 AM, Michael Droettboom wrote: > Manuel Metz wrote: > > Michael Droettboom wrote: > > > >> There was a discussion on this list around a year ago about this. The > >> concern was that not rendering $ as $ would break (matplotlib) backward > >> compatibility with script

[matplotlib-devel] scatter and alpha

2008-12-12 Thread Gregor Thalhammer
I found that in scatter plots the alpha values given by individual entries in the color list are ignored. Here an example that shows different combinations of color and alpha arguments: x = [1,2,3] y = array([1,1,1]) c = [[1,0,0, 0.0], [1,0,0, 0.5], [1,0,0, 1.0]] scatter(x, y, s = 200

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Michael Droettboom
Darren Dale wrote: > On Fri, Dec 12, 2008 at 9:46 AM, Michael Droettboom > wrote: > > Manuel Metz wrote: > > Michael Droettboom wrote: > > > >> There was a discussion on this list around a year ago about > this. The > >> concern was that not renderi

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Darren Dale
On Fri, Dec 12, 2008 at 1:06 PM, Michael Droettboom wrote: > Darren Dale wrote: > > On Fri, Dec 12, 2008 at 9:46 AM, Michael Droettboom > md...@stsci.edu>> wrote: >> >>Manuel Metz wrote: >>> Michael Droettboom wrote: >>> >>>> There was a discussion on this list around a year ago

Re: [matplotlib-devel] git questions

2008-12-12 Thread Andrew Straw
Hi Mike, I have not imported the branches. ( IIRC, this was there were several that weren't MPL but other parts of the repo such as py4science, toolkits and so on). It may be possible to add just the 0.98.5 maintenance branch without the others, but I won't have a chance immediately to play aroun

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Michael Droettboom
Darren Dale wrote: > On Fri, Dec 12, 2008 at 1:06 PM, Michael Droettboom > wrote: > > Darren Dale wrote: > > On Fri, Dec 12, 2008 at 9:46 AM, Michael Droettboom > mailto:md...@stsci.edu> > >> wrote:

Re: [matplotlib-devel] git questions

2008-12-12 Thread Michael Droettboom
Thanks. These are really helpful pointers. For me, this is the one missing piece that would help me use git full-time, particularly with the way matplotlib and other projects I work on are laid out in SVN. So I'm pretty motivated to figure this out. I'll certainly share any findings in this

[matplotlib-devel] error installing matplotlib-0.98.5

2008-12-12 Thread Neal Becker
sudo easy_install -U matplotlib Searching for matplotlib Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 Reading https://sourceforge.net/project/showfiles.php?group_i

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Darren Dale
On Fri, Dec 12, 2008 at 2:22 PM, Michael Droettboom wrote: > Darren Dale wrote: > >> On Fri, Dec 12, 2008 at 1:06 PM, Michael Droettboom > md...@stsci.edu>> wrote: >> >>Darren Dale wrote: >> >>On Fri, Dec 12, 2008 at 9:46 AM, Michael Droettboom >>mailto:md...@stsci.edu> >>

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread John Hunter
On Fri, Dec 12, 2008 at 2:41 PM, Darren Dale wrote: > What I would prefer is to raise a deprecation warning when an odd number of > dollar signs are encountered, giving people time to learn to escape their $ > and modify their code. I wonder how disruptive this would be to people using > mpl for

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Michael Droettboom
Darren Dale wrote: > > And I forgot that because mathtext used to be an all-or-nothing > enterprise, there was no reason to escape the $ in regular text. Once > you made it possible to embed mathtext in a regular string, I think it > would have been better in the long run to require \$, but th

Re: [matplotlib-devel] Different behaviour of mathtext and LaTeX rendering

2008-12-12 Thread Darren Dale
On Fri, Dec 12, 2008 at 3:55 PM, Michael Droettboom wrote: > > > Darren Dale wrote: > >> >> And I forgot that because mathtext used to be an all-or-nothing >> enterprise, there was no reason to escape the $ in regular text. Once you >> made it possible to embed mathtext in a regular string, I th

Re: [matplotlib-devel] error installing matplotlib-0.98.5

2008-12-12 Thread Charlie Moad
I'm not seeing this on OSX. Is anyone else experiencing this issue? - Charlie On Fri, Dec 12, 2008 at 2:39 PM, Neal Becker wrote: > sudo easy_install -U matplotlib > Searching for matplotlib > Reading http://pypi.python.org/simple/matplotlib/ > Reading http://matplotlib.sourceforge.net > Readin

[matplotlib-devel] how much is dvipng needed?

2008-12-12 Thread Sandro Tosi
Hello guys, since I'm going to update debian matplotlib pkg to 0.98.5 I'd like to know how much dvipng lib is needed to let matplotlib work. This is because adding a strong dependency on it (so that it's installed everytime you install mpl) will take in even texlive, and all its dependency, amount

Re: [matplotlib-devel] error installing matplotlib-0.98.5

2008-12-12 Thread Neal Becker
Charlie Moad wrote: > I'm not seeing this on OSX. Is anyone else experiencing this issue? > > - Charlie Please see http://permalink.gmane.org/gmane.comp.python.matplotlib.general/15425 -- SF.Net email is Sponsored by

Re: [matplotlib-devel] how much is dvipng needed?

2008-12-12 Thread John Hunter
On Fri, Dec 12, 2008 at 6:21 PM, Sandro Tosi wrote: > Hello guys, > since I'm going to update debian matplotlib pkg to 0.98.5 I'd like to > know how much dvipng lib is needed to let matplotlib work. It's strictly optional, for the "usetex" mode, which is not turned on by default. Our native math