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 6b30aaa

Browse filesBrowse files
committed
Merge pull request #5688 from cimarronm/FuncFormatterDoc
DOC: Improved documentation for FuncFormatter formatter class
1 parent 8677af6 commit 6b30aaa
Copy full SHA for 6b30aaa

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ def set_offset_string(self, ofs):
309309
class FuncFormatter(Formatter):
310310
"""
311311
User defined function for formatting
312+
313+
The function should take in two inputs (tick value *x* and position *pos*)
314+
and return a string
312315
"""
313316
def __init__(self, func):
314317
self.func = func

0 commit comments

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