Re: [Matplotlib-users] DO NOT round values

2009-09-15 Thread Michael Droettboom
For pie graphs, you can pass a "autopct" keyword argument, which is a format string for the values. For example: pie([63.7, 36.3], autopct="%.03f") will display the values with 3 decimal places. Cheers, Mike Gewton Jhames wrote: > Hello everyone, > when I plot, just for example, a pie graph w

[Matplotlib-users] DO NOT round values

2009-09-15 Thread Gewton Jhames
Hello everyone, when I plot, just for example, a pie graph with two values: 63.7 and 36.3, matplotlib rounds this values to 64 and 36. What I must do for matplotlib DO NOT round those values? Thanks -- Come build with us! T