enthought/chaco — pull request #80 by itziakos (2012-08-15 20:14:51+00:00)
Title: FIX: The _render_icon method of the PolygonPlot

This commit fixes the _render_icon function of the PolygonPlot. The method was trying to access the self.line_width attribute which does not exist. As a result when trying to render the icons it raises an exception and the proper icon is not shown in the legend.

This fix effects also the FilledLinePlot which now produces the right icon in the Plot legend.