Improved documentation for FuncFormatter formatter class #5688

Merged
merged 1 commit into from Dec 17, 2015
View
@@ -326,6 +326,9 @@ def set_offset_string(self, ofs):
class FuncFormatter(Formatter):
"""
User defined function for formatting
+
+ The function should take in two inputs (tick value *x* and position *pos*)
+ and return a string
"""
def __init__(self, func):
self.func = func