[matplotlib-devel] "consume the generator"?

2006-12-03 Thread Eric Firing
Despite the comment, I don't understand the purpose of the last line in the following excerpt from the Axes.plot() method: lines = [] for line in self._get_lines(*args, **kwargs): self.add_line(line) lines.append(line) lines = [line for line in

Re: [matplotlib-devel] pcolor & colorbar with log normalised colour scale

2006-12-03 Thread Eric Firing
Jim, I have modified your LogNorm, added it to colors.py, made some changes to colorbar.py, and added a stripped-down version of your pcolor_log.py to the examples directory. If you update your mpl from svn, then I think you will find that pcolor_log now works the way you expected it to origi