8000 minor axes patch · matplotlib/matplotlib@d4fdf5d · GitHub
[go: up one dir, main page]

Skip to content

Commit d4fdf5d

Browse files
committed
minor axes patch
svn path=/trunk/matplotlib/; revision=955
1 parent f023743 commit d4fdf5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/axes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,8 @@ def semilogx(self, *args, **kwargs):
26942694
which depend on the number of decades in the plot
26952695
26962696
"""
2697-
2697+
# hi fernando
2698+
if not self._hold: self.cla()
26982699
d = {'basex': kwargs.get('basex', 10),
26992700
'subsx': kwargs.get('subsx', None),
27002701
}
@@ -2725,6 +2726,9 @@ def semilogy(self, *args, **kwargs):
27252726
which depend on the number of decades in the plot
27262727
27272728
"""
2729+
# hi fernando
2730+
if not self._hold: self.cla()
2731+
27282732
d = {'basey': kwargs.get('basey', 10),
27292733
'subsy': kwargs.get('subsy', None),
27302734
}

0 commit comments

Comments
 (0)
0