Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25e88d3 commit aa72bc6Copy full SHA for aa72bc6
CHANGELOG
@@ -1,4 +1,7 @@
1
======================================================================
2
+2009-05-04 Fix bug that Text.Annotation is still drawn while set to
3
+ not visible.-JJL
4
+
5
2008-04-12 Release 0.98.5.3 at r7038
6
7
2009-04-06 The pdf backend now escapes newlines and linefeeds in strings.
lib/matplotlib/text.py
@@ -1602,6 +1602,11 @@ def draw(self, renderer):
1602
"""
1603
Draw the :class:`Annotation` object to the given *renderer*.
1604
1605
1606
+ if renderer is not None:
1607
+ self._renderer = renderer
1608
+ if not self.get_visible(): return
1609
1610
self.update_positions(renderer)
1611
self.update_bbox_position_size(renderer)
1612
0 commit comments