Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 58a27bf

Browse filesBrowse files
committed
Dont forward trim argument to ticker where it has no effect
1 parent 4b6112e commit 58a27bf
Copy full SHA for 58a27bf

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎lib/mpl_toolkits/axisartist/grid_finder.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/axisartist/grid_finder.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,14 @@ def __init__(self,
255255

256256

257257
class MaxNLocator(mticker.MaxNLocator):
258-
def __init__(self, nbins = 10, steps = None,
259-
trim = True,
258+
def __init__(self, nbins=10, steps=None,
259+
trim=True,
260260
integer=False,
261261
symmetric=False,
262262
prune=None):
263-
263+
# trim argument has no effect. It has been left for API compatibility
264264
mticker.MaxNLocator.__init__(self, nbins, steps=steps,
265-
trim=trim, integer=integer,
265+
integer=integer,
266266
symmetric=symmetric, prune=prune)
267267
self.create_dummy_axis()
268268
self._factor = None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.