[Matplotlib-users] axes.set_aspect

2008-02-04 Thread Carol Leger
Hi Folks, I have acquired some code that was running on a previous version of matplotlib. I am now using version 0.91.2. The code I acquired uses the following code fragment: import pylab from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas figure = matplotlib.pyl

[Matplotlib-users] Obtaining set_under and set_over colors

2008-01-17 Thread Carol Leger
Hi folks, Is there a way to get the colors assigned with set_under and set over besides looking at _rgba_set_under and _rgba_set_over? Sample code fragment: from pylab import * cmap = cm.get_cmap('jet') cmap.set_over('wheat') # Make some kind of polygon to fill x = ... y = ... # Use the over-th

[Matplotlib-users] colorbar and set_under

2008-01-16 Thread Carol Leger
Hi folks, I have encountered a problem using colorbar and set_under with a color map that has only 32 colors. The downward arrow is not filled with the correct color. If 64 colors are used, the arrow is filled correctly. I actually want 8 colors. The test code is essentially image_masked.py