The following test program dies when line style 'bx-' is requested
in the 4th plotset. It works ok with 'b+-' (so fixing this is not urgent...)
It worked fine with 0.71.
This is with Mac OS X, Apple Python 2.3, Matplotlib version 0.72.1
--Eliot Smith, Indiana University
#---------------begin test program
from pylab import *
a=[0,20,40,60,80]
b1=[1,2,3,4,5]
b2=[6,5,4,3,2]
b3=[1,3,5,7,9]
b4=[8,6,4,2,1]
b5=[7,6,5,6,7]
plot(a,b1,'bo-', a,b2,'rs:', a,b3,'g^--',a,b4,'bx-',\
a,b5,'yv-')
# fails with 'bx-' in 4th plotset. Works ok with 'b+-'
# message is
#Traceback (most recent call last):
# File "../testmplbug2.py", line 15, in ?
# savefig('test2.png')
# File "/Library/Python/2.3/pylab.py", line 763, in savefig
···
#
# File "/platlib/matplotlib/figure.py", line 455, in savefig
# File "/platlib/matplotlib/backends/backend_tkagg.py", line 161, in print_figure
# File "/Library/Python/2.3/matplotlib/backends/backend_agg.py", line 371, in print_figure
# self.draw()
# File "/Library/Python/2.3/matplotlib/backends/backend_agg.py", line 320, in draw
# self.figure.draw(self.renderer)
# File "/platlib/matplotlib/figure.py", line 338, in draw
# File "/platlib/matplotlib/axes.py", line 1296, in draw
# File "/platlib/matplotlib/lines.py", line 294, in draw
# File "/platlib/matplotlib/lines.py", line 1044, in _draw_x
# File "/Library/Python/2.3/matplotlib/backends/backend_agg.py", line 156, in draw_line
# self._renderer.draw_lines(gc, x, y)
#IndexError: Unexpected SeqBase<T> length.
savefig('test2.png')
#--------------------------end test program