Michael Droettboom | 1 Nov 13:09

Re: Transforms branch

Thanks for the report.

The mri_with_eeg.py demo is known not to work (I just haven't got around to updating it yet).

As for speed, your results are consistent with mine.  There is probably still some low hanging fruit to be
optimized on the branch, but I expect that the new design will ultimately be slower than the current trunk,
due to moving a number of things into Python/Numpy from pure C and the increased generalization of the code.

Cheers,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Michael Droettboom | 1 Nov 13:16

Re: STIX fonts

That's great news.  I'm very curious how they look with mathtext.

I'll be away from the office for the rest of the week.  If any of you want to try it in the meantime, it's
theoretically possible it already works (assuming there's no strange metrics issues in the font.) ---> 
Set mathtext.use_cm to False, and then set mathtext.it, .rm etc. to use the STIX fonts.

Cheers,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Darren Dale | 1 Nov 14:06
Picon
Favicon

Re: STIX fonts

On Thursday 01 November 2007 08:16:01 am Michael Droettboom wrote:
> That's great news.  I'm very curious how they look with mathtext.
>
> I'll be away from the office for the rest of the week.  If any of you want
> to try it in the meantime, it's theoretically possible it already works
> (assuming there's no strange metrics issues in the font.) --->  Set
> mathtext.use_cm to False, and then set mathtext.it, .rm etc. to use the
> STIX fonts.

It looks like findfont is not designed to identify OpenType fonts. The STIX 
license allows fonts to be converted, so I could probably generate ttf's, but 
maybe it would be better to modify font_manager to support otfs?

Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Darren Dale | 1 Nov 17:07
Picon
Favicon

Re: ghostscript version fix

On Wednesday 31 October 2007 10:03:39 am Darren Dale wrote:
> On Tuesday 30 October 2007 09:33:53 pm Ralf Gommers wrote:
> > Hi all,
> >
> > I just installed mpl on ubuntu gutsy, and got errors after setting
> > text.usetex  :  True and ps.usedistiller  :  ghostscript. The problem
> > seems to be in checkdep_ghostscript() in __init__.py, specifically the
> > command 'gs -v' (should be replaced by 'gs --version').
> > For my system I get:
> > $ gs -v
> > GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02)
> > Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.
> >
> > and:
> > $ gs --version
> > 8.61
> >
> > Below I give a modified version of checkdep_ghostscript() that should
> > work for all version of ghostscript.
> >
> > Cheers,
> > Ralf
> >
> >
> >
> > def checkdep_ghostscript():
> >     try:
> >         if sys.platform == 'win32':
> >             command = 'gswin32c -v'
> >         else:
(Continue reading)

Gary Ruben | 1 Nov 22:29
Picon

Re: ghostscript version fix

Yep. Works.

C:\WINDOWS>gswin32c --version
8.51

Darren Dale wrote:

> gs --version works with AFPL. Could someone please check that this works on 
> windows: gswin32c --version
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Manuel Metz | 2 Nov 12:05
Picon
Favicon

contour linestyle patch

Hi,
attached is a patch for contour.py against latest svn that adds support 
for the keyword "linestyles" for contour plots. Could someone commit 
that to svn?

Manuel
Index: contour.py
===================================================================
--- contour.py	(revision 4093)
+++ contour.py	(working copy)
@@ -390,7 +390,8 @@
         self.levels = kwargs.get('levels', None)
         self.filled = kwargs.get('filled', False)
         self.linewidths = kwargs.get('linewidths', None)
-
+        self.linestyles = kwargs.get('linestyles', 'solid')
+        
         self.alpha = kwargs.get('alpha', 1.0)
         self.origin = kwargs.get('origin', None)
         self.extent = kwargs.get('extent', None)
@@ -457,11 +458,13 @@
         else:
             tlinewidths = self._process_linewidths()
             self.tlinewidths = tlinewidths
+            tlinestyles = self._process_linestyles()
             C = _cntr.Cntr(x, y, z.filled(), _mask)
-            for level, width in zip(self.levels, tlinewidths):
+            for level, width, lstyle in zip(self.levels, tlinewidths, tlinestyles):
(Continue reading)

Darren Dale | 2 Nov 13:57
Picon
Favicon

Re: ghostscript version fix

Thanks. I updated the gs version checker in svn.

On Thursday 01 November 2007 05:29:03 pm Gary Ruben wrote:
> Yep. Works.
>
> C:\WINDOWS>gswin32c --version
> 8.51
>
> Darren Dale wrote:
> > gs --version works with AFPL. Could someone please check that this works
> > on windows: gswin32c --version
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Matplotlib-devel@...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
John Hunter | 2 Nov 14:19
Picon
Gravatar

Re: contour linestyle patch

On 11/2/07, Manuel Metz <mmetz@...> wrote:
> Hi,
> attached is a patch for contour.py against latest svn that adds support
> for the keyword "linestyles" for contour plots. Could someone commit
> that to svn?

Thanks Manuel -- I applied this to svn.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Darren Dale | 2 Nov 17:16
Picon
Favicon

errorbar *lims kwarg

The errorbar_limits.py demo is failing on my machine:

Traceback (most recent call last):
  File "errorbar_limits.py", line 13, in <module>
    P.errorbar(x,y,yerr=0.1,capsize=3)
  File "/usr/lib64/python2.5/site-packages/matplotlib/pyplot.py", line 1608, 
in errorbar
    ret =  gca().errorbar(*args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 3735, in 
errorbar
    caplines.extend( self.plot(x, lower, 'k_', **plot_kw) )
  File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 2634, in 
plot
    for line in self._get_lines(*args, **kwargs):
  File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 403, in 
_grab_next_args
    for seg in self._plot_3_args(remaining, **kwargs):
  File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 349, in 
_plot_3_args
    x, y, multicol = self._xy_from_xy(x, y)
  File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 244, in 
_xy_from_xy
    assert nrx == nry, 'Dimensions of x and y are incompatible'
AssertionError: Dimensions of x and y are incompatible

It looks like the API has changed and does not allow scalar arguments for the 
errors. I tried setting yerr=ones(len(y))*0.1, and got a different error: 

Traceback (most recent call last):
  File "errorbar_limits.py", line 18, in <module>
(Continue reading)

Darren Dale | 2 Nov 18:39
Picon
Favicon

arbitrary rotation of images

Bug 1750527 reports that, with usetex, it is not possible to rotate text or 
ticklabels by 45 degrees. It looks like this limitation is caused by 
_backend_agg's draw_image method, which does not accept an angle argument, 
while draw_text_image does. I am out of my depth in _backend_agg.cpp, can 
draw_image be updated to accept an angle?

Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Gmane