[Matplotlib-users] matplotlibrc axes.formatter.useoffset parameter

2014-04-01 Thread Julian Irwin
Hello, I noticed that in the matplotlib source code in lib/matplotlib/rcsetup.py there is a parameter called axes.formatter.useoffset that defaults to True. However, in the documentation the example rc file doesn't include this parameter, and if I try to use it I get the exception "Bad key axes.fo

Re: [Matplotlib-users] why does floor(x) return a float while docs state it returns integer?

2014-04-01 Thread Mark Bakker
I should have posted this question on the numpy list of course, even though floor is imported with pylab. Off-list, Felix pointed me to the following discussion where some of the reasons are explained why a float is returned rather than an integer: http://stackoverflow.com/questions/8582741/why-d

Re: [Matplotlib-users] Question about copy_from_bbox

2014-04-01 Thread Pierre Haessig
Hi Michka, I haven't practiced PyQt for some time, but I think I remember there is a common practice of using a "0 ms" timer to launch a function after the Gui setup. I've modified your gist here : https://gist.github.com/pierre-haessig/9909708 (for some reason the Github fork button printed "The