[matplotlib-devel] R3237 breaks mri_with_eeg.py demo

2007-04-18 Thread Eric Firing
Revision 3237 to fix set_ticklabels seems to have a problem: it breaks 
examples/mri_with_eeg.py.

Eric

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] backend agg bug

2007-04-18 Thread Manuel Metz
Dear all,
some time ago (October last year) I mailed a patch for a bug in
backend_agg.py which is still not included. I attached the patch against
the latest SVN again.
The problem seems to be a missing parameter when calling the function
draw_ellipse.

Manuel

-- 
---
  Manuel Metz    [EMAIL PROTECTED]
  Argelander Institut fuer Astronomie
  Auf dem Huegel 71 (room 3.06)
  D - 53121 Bonn

  E-Mail: [EMAIL PROTECTED]
  Web:www.astro.uni-bonn.de/~mmetz
  Phone:  (+49) 228 / 73-3660
  Fax:(+49) 228 / 73-3672
---
Index: backend_agg.py
===
--- backend_agg.py	(revision 3243)
+++ backend_agg.py	(working copy)
@@ -172,8 +172,8 @@
 if __debug__: verbose.report('RendererAgg.draw_point', 'debug-annoying')
 rgbFace = gc.get_rgb()
 self._renderer.draw_ellipse(
-gc, rgbFace, x, y, 0.5, 0.5)
-
+gc, rgbFace, x, y, 0.5, 0.5, 0.0)
+
 def draw_mathtext(self, gc, x, y, s, prop, angle):
 """
 Draw the math text using matplotlib.mathtext
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] log on a bar chart

2007-04-18 Thread Jiří Popek

Hi all,
anytime when requesting semilogy() on bar or hist chart, following error
occurs:

 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_qtagg.py", line 161,
in print_figure
   **kwargs )
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_agg.py", line 456,
in print_figure
   self.draw()
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_agg.py", line 392,
in draw
   self.figure.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/figure.py", line 569, in draw
   for a in self.axes: a.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/axes.py", line 1155, in draw
   a.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/patches.py", line 215, in draw
   tverts = self.get_transform().seq_xy_tups(verts)
ValueError: Cannot take log of nonpositive value


I am sure that there is no negative value (just some zeros - this could be
the problem)
Anybody have an idea how to solve it?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] log on a bar chart

2007-04-18 Thread Jouni K . Seppänen
"Jiří Popek" <[EMAIL PROTECTED]> writes:

> anytime when requesting semilogy() on bar or hist chart, following error
> occurs:

How about bar(..., log=True) or hist(..., log=True)?

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] log on a bar chart

2007-04-18 Thread Jiří Popek

the same problem.
Temporary solution is to set second tuple values to nonzero (0.0001 for
example) before passing it into seq_xy_tups, but it is very _dirty_.

Got version 0.90.0 installed from source (latest Kubuntu).
J.

On 18/04/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote:


"Jiří Popek" <[EMAIL PROTECTED]> writes:

> anytime when requesting semilogy() on bar or hist chart, following error
> occurs:

How about bar(..., log=True) or hist(..., log=True)?

--
Jouni K. Seppänen
http://www.iki.fi/jks


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] R3237 breaks mri_with_eeg.py demo

2007-04-18 Thread James Evans
Fixed.  Try again.

> -Original Message-
> From: Eric Firing [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 18, 2007 12:22 AM
> To: James Evans
> Cc: matplotlib development list
> Subject: R3237 breaks mri_with_eeg.py demo
> 
> Revision 3237 to fix set_ticklabels seems to have a problem: it breaks
> examples/mri_with_eeg.py.
> 
> Eric


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] backend agg bug

2007-04-18 Thread Eric Firing
Manuel,

Thanks very much. I have applied your patch.

Eric

Manuel Metz wrote:
> Dear all,
> some time ago (October last year) I mailed a patch for a bug in
> backend_agg.py which is still not included. I attached the patch against
> the latest SVN again.
> The problem seems to be a missing parameter when calling the function
> draw_ellipse.
> 
> Manuel
> 
> 
> 
> 
> 
> Index: backend_agg.py
> ===
> --- backend_agg.py(revision 3243)
> +++ backend_agg.py(working copy)
> @@ -172,8 +172,8 @@
>  if __debug__: verbose.report('RendererAgg.draw_point', 
> 'debug-annoying')
>  rgbFace = gc.get_rgb()
>  self._renderer.draw_ellipse(
> -gc, rgbFace, x, y, 0.5, 0.5)
> -
> +gc, rgbFace, x, y, 0.5, 0.5, 0.0)
> +
>  def draw_mathtext(self, gc, x, y, s, prop, angle):
>  """
>  Draw the math text using matplotlib.mathtext
> 
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> 
> 
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Web interface for matplotlib

2007-04-18 Thread Yusdi Santoso
Hi all,

I'm not sure if this is the right mailing list for this, so please bear with 
me if this is not for you.

I have developed a web front end for matplotlib, rather inspired by matlab 
development environment. You can find more of the details here:
http://www.physics.ox.ac.uk/users/santoso/Software.WebLab.html

It is usable right now although with some known problem especially in the 
area of secure code execution.
Any comments will be greatly appreciated.

Thanks and best regards,


Yusdi

_
Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings 
https://www2.nextag.com/goto.jsp?product=10035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Web interface for matplotlib

2007-04-18 Thread Glen W. Mabey
On Wed, Apr 18, 2007 at 03:10:54PM -0700, Yusdi Santoso wrote:
> I'm not sure if this is the right mailing list for this, so please bear with 
> me if this is not for you.
> 
> I have developed a web front end for matplotlib, rather inspired by matlab 
> development environment. You can find more of the details here:
> http://www.physics.ox.ac.uk/users/santoso/Software.WebLab.html
> 
> It is usable right now although with some known problem especially in the 
> area of secure code execution.
> Any comments will be greatly appreciated.

Yusdi,

weblab looks like a really awesome project.

I haven't installed it yet, but I noticed that you released it LGPL.

Did you by chance already take into account this page?

http://www.scipy.org/License_Compatibility

Glen

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel