Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 9:40 AM, rand0m ran...@0x06.net 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

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 md...@stsci.edu 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

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence breamore...@yahoo.co.uk 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

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 ben.r...@ou.edujavascript:; wrote: On Wed, Oct 10, 2012 at 9:40 AM, rand0m ran...@0x06.net javascript:; wrote: Hello, I'm new to matplotlib and I hope you can help me out with my

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 1:52 PM, Benjamin Root ben.r...@ou.edu wrote: On Thursday, October 11, 2012, Damon McDougall wrote: On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 9:40 AM, rand0m ran...@0x06.net wrote: Hello, I'm new to

[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] dpi

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath nikol...@rath.org 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

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 damon.mcdoug...@gmail.comwrote: 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

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 javascript:_e({}, 'cvml', '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?

Re: [Matplotlib-users] dpi

2012-10-11 Thread Nikolaus Rath
Damon McDougall damon.mcdougall-re5jqeeqqe8avxtiumw...@public.gmane.org writes: On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath nikolaus-bth8mxji...@public.gmane.org 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

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 doing

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 damon.mcdoug...@gmail.com wrote: On Thursday, October 11, 2012, Gökhan Sever wrote: On Thu, Oct 11, 2012 at 3:49 AM, Damon McDougall

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 gokhanse...@gmail.com 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 damon.mcdoug...@gmail.com wrote: On Thursday, October 11, 2012,

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 ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 10/10/2012 15:41, Mark Lawrence wrote: On 10/10/2012 14:29, Benjamin Root wrote: I know of a

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Benjamin Root
On Thu, Oct 11, 2012 at 4:53 PM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 11/10/2012 10:55, Damon McDougall wrote: On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On

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

Re: [Matplotlib-users] dpi

2012-10-11 Thread Jae-Joon Lee
On Fri, Oct 12, 2012 at 3:39 AM, Nikolaus Rath nikol...@rath.org 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

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 osx)