Skip to content

Commit 6b30aaa

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/ticker.py

Lines 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)