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

Skip to content

Commit ad61d2e

Browse files
committed
FIX: whitespace
1 parent 293c410 commit ad61d2e

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

lib/matplotlib/cbook.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -504,17 +504,7 @@ def is_scalar_or_string(val):
504504

505505

506506
def duplicate_if_scalar(obj, n=2, raises=True):
507-
"""
508-
Ensure object size or duplicate if necessary.
509-
510-
Parameters
511-
----------
512-
obj : scalar, str or Sized
513-
514-
Returns
515-
-------
516-
517-
"""
507+
"""Ensure object size or duplicate into a list if necessary."""
518508

519509
if is_scalar_or_string(obj):
520510
return [obj] * n

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def test_bar3d_with_2d_data(bar3d_class):
294294
ec='0.5', lw=0.5)
295295
return fig
296296

297+
297298
# @mpl3d_image_comparison(baseline_images=['bar3d_facecolors_Bar3DCollection-0.png',
298299
# 'bar3d_facecolors_Bar3DCollection-1.png',
299300
# 'bar3d_facecolors_HexBar3DCollection-0.png'
@@ -310,6 +311,7 @@ def test_bar3d_facecolors(bar3d_class, shade):
310311
shade=shade)
311312
return fig
312313

314+
313315
# @mpl3d_image_comparison(baseline_images=['bar3d_cmap_Bar3DCollection-0.png',
314316
# 'bar3d_cmap_Bar3DCollection-1.png',
315317
# 'bar3d_cmap_HexBar3DCollection-0.png'

0 commit comments

Comments
 (0)