Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
On Thursday, October 11, 2012, Benjamin Root wrote: > > > On Thu, Oct 11, 2012 at 4:53 PM, Mark Lawrence > 'breamore...@yahoo.co.uk');> > > wrote: > >> On 11/10/2012 10:55, Damon McDougall wrote: >> > On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root >> > > >> wrote: >> >> >> >> >> >> On Wed, Oct

Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-11 Thread Eric Firing
On 2012/10/10 3:07 AM, Anand Sivaramakrishnan wrote: > Thanks for the many useful responses - I eventuallyfound by experiment > that imshow( interpolation='nearest' works *if* I write a png file. > Saving a pdf file mushed up my crisp pixel boundaries. However, saving > as png, then using (mac os

Re: [Matplotlib-users] dpi

2012-10-11 Thread Jae-Joon Lee
On Fri, Oct 12, 2012 at 3:39 AM, Nikolaus Rath wrote: > matplotlib actually rescales the raw imshow data when saving to a vector > format? Why is that? I think it should embed the bitmap with full > resolution in the vector file and rely on the consumer of the vector > file to scale it to whatever

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Michael Droettboom
Thanks for taking this on, Damon and Gökhan. Note this will need to create a different symlink (to dateutil_py3 instead) on Python 3. This means, of course, that it will be impossible to develop on both Python 2 and 3 simultaneously, but that's true of "setuptools' develop" in any event, so it

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Benjamin Root
On Thu, Oct 11, 2012 at 4:53 PM, Mark Lawrence wrote: > On 11/10/2012 10:55, Damon McDougall wrote: > > On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root wrote: > >> > >> > >> On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence < > breamore...@yahoo.co.uk> > >> wrote: > >>> > >>> On 10/10/2012 15:41, Ma

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Mark Lawrence
On 11/10/2012 10:55, Damon McDougall wrote: > On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root wrote: >> >> >> On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence >> wrote: >>> >>> On 10/10/2012 15:41, Mark Lawrence wrote: On 10/10/2012 14:29, Benjamin Root wrote: > > I know of a few peopl

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 9:25 PM, Gökhan Sever wrote: > I am not sure about that technical detail, but it works fine here on my > Fedora 16 (x86_64) system. > > > On Thu, Oct 11, 2012 at 11:04 AM, Damon McDougall > wrote: >> >> >> >> On Thursday, October 11, 2012, Gökhan Sever wrote: >>> >>> >>> >

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Gökhan Sever
I am not sure about that technical detail, but it works fine here on my Fedora 16 (x86_64) system. On Thu, Oct 11, 2012 at 11:04 AM, Damon McDougall wrote: > > > On Thursday, October 11, 2012, Gökhan Sever wrote: > >> >> >> On Thu, Oct 11, 2012 at 3:49 AM, Damon McDougall < >> damon.mcdoug...@gm

Re: [Matplotlib-users] XKCD style graphs?

2012-10-11 Thread Juergen Hasch
Am 05.10.2012 11:13, schrieb Matthias BUSSONNIER: > > Le 4 oct. 2012 à 23:09, Juergen Hasch a écrit : > >> Here is my take on it as an IPython notebook, based on Damon's code: >> http://nbviewer.ipython.org/3835181/ >> >> I took the engineering approach and filtered the random function instead of

Re: [Matplotlib-users] dpi

2012-10-11 Thread Nikolaus Rath
Damon McDougall writes: > On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath > wrote: >> When saving the figure in some vector graphics format, I >> don't see what the meaning of the dpi is at all. > > Sure, I use `dpi=` all the time for vector formats. Purely because > when you make calls to `imsh

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
On Thursday, October 11, 2012, Gökhan Sever wrote: > > > On Thu, Oct 11, 2012 at 3:49 AM, Damon McDougall < > damon.mcdoug...@gmail.com 'damon.mcdoug...@gmail.com');>> wrote: > >> >> Gökhan, did you implement the symlink fix? If so, would you mind >> making a pull request out of it? I was just ab

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Gökhan Sever
On Thu, Oct 11, 2012 at 3:49 AM, Damon McDougall wrote: > > Gökhan, did you implement the symlink fix? If so, would you mind > making a pull request out of it? I was just about to look into doing > this, but if you've done it already that'd save us some effort rolling > out fixes for 1.2. > > Chee

Re: [Matplotlib-users] dpi

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath wrote: > When saving the figure in some vector graphics format, I > don't see what the meaning of the dpi is at all. Sure, I use `dpi=` all the time for vector formats. Purely because when you make calls to `imshow`, you get a rasterised image embedd

[Matplotlib-users] dpi

2012-10-11 Thread Nikolaus Rath
Hello, I'm confused by the dpi property of figures that can be set in matplotlibrc or passed to pyplot.figure(). It seems to me that dpi is really a property of the backend, not the figure, and the only place to specify it ought to be when saving into a bitmap file. For example, when showing a

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 1:52 PM, Benjamin Root wrote: > > > On Thursday, October 11, 2012, Damon McDougall wrote: >> >> On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root wrote: >> > >> > >> > On Wed, Oct 10, 2012 at 9:40 AM, rand0m wrote: >> >> >> >> Hello, >> >> >> >> I'm new to matplotlib and I h

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Benjamin Root
On Thursday, October 11, 2012, Damon McDougall wrote: > On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root > > wrote: > > > > > > On Wed, Oct 10, 2012 at 9:40 AM, rand0m > > wrote: > >> > >> Hello, > >> > >> I'm new to matplotlib and I hope you can help me out with my question. > >> When drawing for e

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root wrote: > > > On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence > wrote: >> >> On 10/10/2012 15:41, Mark Lawrence wrote: >> > On 10/10/2012 14:29, Benjamin Root wrote: >> >> >> >> I know of a few people who have difficulties with matplotlib's datetime >

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
On Wed, Oct 10, 2012 at 3:09 PM, Michael Droettboom wrote: > I filed an issue for this. We should try to get the fix into 1.2.x > > https://github.com/matplotlib/matplotlib/issues/1354 > > Mike > > > On 10/10/2012 09:00 AM, Michael Droettboom wrote: > > I think this stack overflow question [1] so

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root wrote: > > > On Wed, Oct 10, 2012 at 9:40 AM, rand0m wrote: >> >> Hello, >> >> I'm new to matplotlib and I hope you can help me out with my question. >> When drawing for example a Rectangle() I have to specify it like the >> following: >> rect = Rect