Skip to content

Commit 931df40

Browse files
committed
added colormap support to labels
svn path=/trunk/matplotlib/; revision=1064
1 parent 0e580c9 commit 931df40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def set_label_props(self, label,text, color):
243243
label.set_text(text)
244244
label.set_color(color)
245245
label.set_fontproperties(self.fp)
246-
246+
label.set_clip_box(self.ax.bbox)
247247

248248
def get_text(self, lev, fmt):
249249
"get the text of the label"

0 commit comments

Comments
 (0)