Hi!
I'm using matplotlib and I'm writing a viewer for multiple sequence
alignments (read: large matrices of uppercase characters). It's coming
along nicely and matplotlib is a real charm to work with. Unfortunately,
I may have run into a showstopper. I've tried all tricks I can think of,
I've
ect better performance?
Does anyone have a better idea?
Thanks for an awesome plotting package!
/Joel Hedlund
# Change this to see change in rendering speed:
SHOW_LETTERS = False
import matplotlib
matplotlib.use('GTKAgg')
import pylab
from numpy import array, uint8
RED = array([229, 51, 25], uin
> I think that it was also connected with very slow rendering.
I second that. Rendering is very slow when this occurs.
A workaround is to slice the image and just plot the visible pixels, and
then to use the 'extent' keyword argument to position the slice on the
axis, e.g:
imagesc(img[a:b,ymin:y
ib/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /home/bioinfo/yohell/.matplotlib/ttffont.cache
backend WXAgg version 2.6.1.2pre
In this example I used the WXAgg backend, but GTKAgg shows the same
results. I've also reproduced this bug on a WinXP machine.
Thanks for