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

Skip to content

Commit 3e5ab6a

Browse files
committed
Reduced size of kwarg "tiny" in Locator.nonsingular.
svn path=/trunk/matplotlib/; revision=2834
1 parent eecc3ac commit 3e5ab6a

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2006-10-25 Made "tiny" kwarg in Locator.nonsingular much smaller - EF
2+
13
2006-10-17 Closed sf bug 1562496 update line props dash/solid/cap/join
24
styles - JDH
35

@@ -11,8 +13,8 @@
1113

1214
2006-10-11 commented out all default values in matplotlibrc.template
1315
Default values should generally be taken from defaultParam in
14-
__init__.py - the file matplotlib should only contain those values
15-
that the user wants to explicitely change from the default.
16+
__init__.py - the file matplotlib should only contain those values
17+
that the user wants to explicitly change from the default.
1618
(see thread "marker color handling" on matplotlib-devel)
1719

1820
2006-10-10 Changed default comment character for load to '#' - JDH

lib/matplotlib/ticker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def format_data(self,value):
154154
def format_data_short(self,value):
155155
'return a short string version'
156156
return self.format_data(value)
157-
157+
158158
def get_offset(self):
159159
return ''
160160

@@ -556,7 +556,7 @@ def zoom(self, direction):
556556
step = 0.1*interval*direction
557557
self.viewInterval.set_bounds(vmin + step, vmax - step)
558558

559-
def nonsingular(self, vmin, vmax, expander=0.001, tiny=1e-6):
559+
def nonsingular(self, vmin, vmax, expander=0.001, tiny=1e-15):
560560
if vmax < vmin:
561561
vmin, vmax = vmax, vmin
562562
if vmax - vmin <= max(abs(vmin), abs(vmax)) * tiny:

0 commit comments

Comments
 (0)