Skip to content

Commit fd6cb89

Browse files
committed
fix axisartist.grid_finder.py to account for the api change of MaxNLocator
svn path=/trunk/matplotlib/; revision=8248
1 parent 89a9212 commit fd6cb89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/mpl_toolkits/axisartist/grid_finder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,9 @@ def __init__(self, nbins = 10, steps = None,
256256
symmetric=False,
257257
prune=None):
258258

259-
mticker.MaxNLocator.__init__(self, nbins, steps,
260-
trim, integer, symmetric, prune)
259+
mticker.MaxNLocator.__init__(self, nbins, steps=steps,
260+
trim=trim, integer=integer,
261+
symmetric=symmetric, prune=prune)
261262
self.create_dummy_axis()
262263

263264

0 commit comments

Comments
 (0)