First time here? Check out the FAQ!
answered 11 years ago
You can use the FormatStrFormatter of matplotlib.
FormatStrFormatter
sage: from matplotlib import ticker sage: TT = ticker.FormatStrFormatter('%.7f') sage: plot(1-2*x^2,x,.707106,.707107, tick_formatter=TT)