File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -6334,7 +6334,7 @@ def _normalize_input(inp, ename='input'):
6334
6334
6335
6335
y [0 ], y [- 1 ] = minimum , minimum
6336
6336
else :
6337
- minimum = np .min (bins )
6337
+ minimum = 0 # np.min(bins)
6338
6338
6339
6339
if align == 'left' or align == 'center' :
6340
6340
x -= 0.5 * (bins [1 ]- bins [0 ])
@@ -6386,14 +6386,6 @@ def _normalize_input(inp, ename='input'):
6386
6386
# we return patches, so put it back in the expected order
6387
6387
patches .reverse ()
6388
6388
6389
- # adopted from adjust_x/ylim part of the bar method
6390
- if orientation == 'horizontal' :
6391
- xmax = self .dataLim .intervalx [1 ]
6392
- self .dataLim .intervalx = (0 , xmax )
6393
- elif orientation == 'vertical' :
6394
- ymax = self .dataLim .intervaly [1 ]
6395
- self .dataLim .intervaly = (0 , ymax )
6396
-
6397
6389
self .set_autoscalex_on (_saved_autoscalex )
6398
6390
self .set_autoscaley_on (_saved_autoscaley )
6399
6391
self .autoscale_view ()
You can’t perform that action at this time.
0 commit comments