8000
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 38a3d1f commit 67b4190Copy full SHA for 67b4190
lib/matplotlib/axes.py
@@ -2753,14 +2753,14 @@ def make_iterable(x):
2753
xmin = amin(w)
2754
if xerr is not None:
2755
xmin = xmin - amax(xerr)
2756
- xmin = min(xmin, 1e-100)
+ xmin = max(xmin*0.9, 1e-100)
2757
self.dataLim.intervalx().set_bounds(xmin, xmax)
2758
if adjust_ylim:
2759
ymin, ymax = self.dataLim.intervaly().get_bounds()
2760
ymin = amin(h)
2761
if yerr is not None:
2762
ymin = ymin - amax(yerr)
2763
- ymin = max(ymin, 1e-100)
+ ymin = max(ymin*0.9, 1e-100)
2764
self.dataLim.intervaly().set_bounds(ymin, ymax)
2765
self.autoscale_view()
2766
return patches
0 commit comments