Ask Your Question

Revision history [back]

Instead of tick_formatter=pi, you can use tick_formatter=(pi, None); this specifies that the pi tick formatter is only for the x-axis, the y-axis keeping the default formatter (this is what you want, I guess). This produces the correct output, without any long y-axis tick label.