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

Skip to content

Commit 25e88d3

Browse files
committed
[2723470] UnboundLocalError in ticker.py
svn path=/branches/v0_98_5_maint/; revision=7080
1 parent 8baaa16 commit 25e88d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/ticker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,8 @@ def bin_boundaries(self, vmin, vmax):
930930
vmax -= offset
931931
raw_step = (vmax-vmin)/nbins
932932
scaled_raw_step = raw_step/scale
933+
best_vmax = vmax
934+
best_vmin = vmin
933935

934936
for step in self._steps:
935937
if step < scaled_raw_step:

0 commit comments

Comments
 (0)