Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b05fc91

Browse files
committed
Fix mismatched opening/closing group.
svn path=/branches/v1_0_maint/; revision=8700
1 parent 3d13989 commit b05fc91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mpl_toolkits/axisartist/axis_artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ def draw(self, renderer):
132132
if self._invalid:
133133
self.recache()
134134

135+
if not self._visible: return
135136
renderer.open_group('line2d')
136137

137-
if not self._visible: return
138138
gc = renderer.new_gc()
139139
self._set_gc_clip(gc)
140140

0 commit comments

Comments
 (0)