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

Skip to content

Commit e405ba7

Browse files
committed
MNT: rename variadic keywords for consistency
1 parent 74c8a63 commit e405ba7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2944,7 +2944,7 @@ def bar3d(self, x, y, z, dx, dy, dz, color=None,
29442944
return col
29452945

29462946
@_preprocess_data()
2947-
def bar3d_grid(self, x, y, z, dxy='0.8', z0=0, **kws):
2947+
def bar3d_grid(self, x, y, z, dxy='0.8', z0=0, **kwargs):
29482948
"""
29492949
Generate a 3D barplot.
29502950
@@ -2983,7 +2983,7 @@ def bar3d_grid(self, x, y, z, dxy='0.8', z0=0, **kws):
29832983
(rectangular prisms).
29842984
"""
29852985

2986-
bars = art3d.Bar3DCollection(x, y, z, dxy, z0, **kws)
2986+
bars = art3d.Bar3DCollection(x, y, z, dxy, z0, **kwargs)
29872987
self.add_collection(bars)
29882988

29892989
# compute axes limits
@@ -2996,7 +2996,7 @@ def bar3d_grid(self, x, y, z, dxy='0.8', z0=0, **kws):
29962996
return bars
29972997

29982998
@_preprocess_data()
2999-
def hexbar3d(self, x, y, z, dxy='0.8', z0=0, **kws):
2999+
def hexbar3d(self, x, y, z, dxy='0.8', z0=0, **kwargs):
30003000
"""
30013001
This method creates three-dimensional barplot with hexagonal bars for a
30023002
regular xy-grid on the same level z-plane. Height, and color of the
@@ -3032,7 +3032,7 @@ def hexbar3d(self, x, y, z, dxy='0.8', z0=0, **kws):
30323032
(hexagonal prisms).
30333033
"""
30343034

3035-
bars = art3d.HexBar3DCollection(x, y, z, dxy, z0, **kws)
3035+
bars = art3d.HexBar3DCollection(x, y, z, dxy, z0, **kwargs)
30363036
self.add_collection(bars)
30373037

30383038
# compute axes limits

0 commit comments

Comments
 (0)