Skip to content

Commit 18fc40b

Browse files
committed
bumped the version num; fixed a collections bug introduced when fixing alpha support
svn path=/trunk/matplotlib/; revision=5635
1 parent db04a1c commit 18fc40b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"""
9090
from __future__ import generators
9191

92-
__version__ = '0.98.0'
92+
__version__ = '0.98.1'
9393
__revision__ = '$Revision$'
9494
__date__ = '$Date$'
9595

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _iter_collection(self, path_ids, cliprect, clippath, clippath_trans,
262262
gc.set_linewidth(linewidths[i % Nlinewidths])
263263
if Nlinestyles:
264264
gc.set_dashes(*linestyles[i % Nlinestyles])
265-
if len(rgbFace)==4:
265+
if rgbFace is not None and len(rgbFace)==4:
266266
gc.set_alpha(rgbFace[-1])
267267
rgbFace = rgbFace[:3]
268268
gc.set_antialiased(antialiaseds[i % Naa])

0 commit comments

Comments
 (0)