From a9f5070cd5df3eb5d3143872dab2c88e8d2e471d Mon Sep 17 00:00:00 2001 From: Cimarron Mittelsteadt Date: Wed, 16 Dec 2015 16:32:05 -0800 Subject: [PATCH] Improved documentation for FuncFormatter formatter class --- lib/matplotlib/ticker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index 5e09dde41b23..903d62fb5c00 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -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