File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ def summary(
290290 max_values : int or None, default = None
291291 If more than this many data values, print truncated data arrays.
292292 If 0, print only the shape.
293- Defaults to 5 if `shorten` is True, else 20 .
293+ Defaults to 5 if `shorten` is True, else 15 .
294294 convert_dates : bool, default = True
295295 Print values in date form, if the units has a calendar.
296296 If not, print raw number values.
Original file line number Diff line number Diff line change @@ -997,6 +997,7 @@ def test_max_array_width__default(self):
997997 self .assertLines (expected , result )
998998
999999 with np .printoptions (linewidth = 35 ):
1000+ # Show that, when unset, it follows the numpy setting
10001001 result = coord .summary ()
10011002 expected = [
10021003 "AuxCoord : x / (m)" ,
@@ -1027,7 +1028,7 @@ def test_max_array_width__set(self):
10271028 self .assertLines (expected , result )
10281029
10291030 with np .printoptions (linewidth = 999 ):
1030- # Show that when set, it ignores the numpy setting
1031+ # Show that, when set, it ignores the numpy setting
10311032 result = coord .summary (max_array_width = 35 )
10321033 self .assertLines (expected , result )
10331034
You can’t perform that action at this time.
0 commit comments