<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 03/08/2010 01:30 AM, David Goldsmith wrote:
<blockquote
 cite="mid:45d1ab481003072330i400cec09u9c8e38ef3e894e71@mail.gmail.com"
 type="cite">On Sun, Mar 7, 2010 at 4:41 AM, Friedrich Romstedt <span
 dir="ltr"><<a moz-do-not-send="true"
 href="mailto:friedrichromstedt@gmail.com">friedrichromstedt@gmail.com</a>></span>
wrote:<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2010/3/5
Pierre GM <<a moz-do-not-send="true"
 href="mailto:pgmdevlist@gmail.com">pgmdevlist@gmail.com</a>>:<br>
    <div class="im">> 'm'fraid no. I gonna have to investigate that.
Please open a ticket with a self-contained example that reproduces the
issue.<br>
> Thx in advance...<br>
> P.<br>
    <br>
    </div>
I would like to stress the fact that imo this is maybe not ticket and
not a bug.<br>
    <br>
The issue arises when calling a.max() or similar of empty arrays a,
i.e., with:<br>
    <br>
>>> 0 in a.shape<br>
True<br>
    <br>
Opposed to the .prod() of an empty array, such a .max() or .min()<br>
cannot be defined, because the set is empty.  So it's fully correct to<br>
let such calls fail.  Just the failure is a bit deep in numpy, and<br>
only the traceback gives some hint what went wrong.<br>
    <br>
I posted something similar also on the matplotlib-users list, sorry<br>
for cross-posting thus.<br>
  </blockquote>
  <div><br>
Any suggestions, then, how to go about figuring out what's happening in
my code that's causing this "feature" to manifest itself?<br>
  <br>
DG<br>
  <br>
 </div>
  <br>
  </div>
</blockquote>
Perhaps providing the code with specific versions of Python, numpy etc.
would help. <br>
<br>
I would guess that aquarius_test.py has not correctly setup the
necessary inputs (or has invalid inputs) required by matplotlib (which
I have no knowledge about). Really you have to find if the _A in cmp.py
used by 'self.norm.autoscale_None(self._A)' is valid. You may be
missing a valid initialization step because the TypeError exception in
autoscale_None ('You must first set_array for mappable') implies
something need to be done first. <br>
<br>
Bruce<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>