Re: [Matplotlib-users] How matplotlib got me a job

2012-02-08 Thread Paul Ivanov
Patrick Marsh, on 2012-02-07 13:58, wrote: > As I continue to mature as a Python person, I want to give back > explicitly to the community that's given so much to me. The problem > is, I don't know how. I'm intimidated by the awesomeness of what I see > being done around me that I don't even know

Re: [Matplotlib-users] How matplotlib got me a job

2012-02-08 Thread Jason Grout
On 2/8/12 2:53 AM, Paul Ivanov wrote: > Patrick Marsh, on 2012-02-07 13:58, wrote: >> As I continue to mature as a Python person, I want to give back >> explicitly to the community that's given so much to me. The problem >> is, I don't know how. I'm intimidated by the awesomeness of what I see >>

[Matplotlib-users] add a single x tick label

2012-02-08 Thread David Craig
Hi, I have a plot of a time series and I would like to add a single extra tick mark and label to the plot in a different color to the already existing tick marks. Is this possible?? Thanks, D -- Keep Your Developer Skill

Re: [Matplotlib-users] Partial coloring of text in matplotlib

2012-02-08 Thread Jae-Joon Lee
What can be done with the current Matplotlib is to use the offset boxes. Here is a modified version of a code snippet from http://abitofpythonabitofastronomy.blogspot.com/2009/05/mpl-multicolor-text.html Regards, -JJ from matplotlib.offsetbox import HPacker, TextArea, AnnotationBbox f = fig

[Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
Hi, I'm experiencing a very strange problem with plot_date that I can't figure out. pyplot.plot_date(pylab.date2num(dates),diff,'b-',label='Chained') pyplot.show() dates, naturally, is a list of dates and diff is an array of floats. With my script, this fails. But if I interactively ent

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
I believe I have traced it to some axhline and axis commands and this is apparently an old problem. Does it work with version 1.1.0? I have 1.0.1 installed on a debian system. On 02/08/2012 09:47 AM, Ted To wrote: > Hi, > > I'm experiencing a very strange problem with plot_date that I can't > f

Re: [Matplotlib-users] add a single x tick label

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 8:42 AM, David Craig wrote: Hi, I have a plot of a time series and I would like to add a single > extra tick mark and label to the plot in a different color to the > already existing tick marks. Is this possible?? > Thanks, > It's fairly easy to do if you want to set the

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
If it hasn't been fixed, is there a workaround? On 02/08/2012 10:42 AM, Ted To wrote: > I believe I have traced it to some axhline and axis commands and this is > apparently an old problem. Does it work with version 1.1.0? I have > 1.0.1 installed on a debian system. > > On 02/08/2012 09:47 AM,

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 10:06 AM, Ted To wrote: > If it hasn't been fixed, is there a workaround? > > On 02/08/2012 10:42 AM, Ted To wrote: > > I believe I have traced it to some axhline and axis commands and this is > > apparently an old problem. Does it work with version 1.1.0? I have > > 1.0.

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
On 02/08/2012 11:17 AM, John Hunter wrote: > > > On Wed, Feb 8, 2012 at 10:06 AM, Ted To > wrote: > > If it hasn't been fixed, is there a workaround? > > On 02/08/2012 10:42 AM, Ted To wrote: > > I believe I have traced it to some axhline and axis comma

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 10:24 AM, Ted To wrote: > On 02/08/2012 11:17 AM, John Hunter wrote: > > > > > > On Wed, Feb 8, 2012 at 10:06 AM, Ted To > > wrote: > > > > If it hasn't been fixed, is there a workaround? > > > > On 02/08/2012 10:42 AM, Ted To wrote: >

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
On 02/08/2012 11:28 AM, John Hunter wrote: > > OK, here is where the problem is. In the plt.axis call you are setting > the x-axis min to 0 which is not a legal date value. I suggest letting > the x-axis take care of itself, and set the y-axis limits with > > plt.ylim(-1.5, 1.5) > > JDH Man

Re: [Matplotlib-users] Partial coloring of text in matplotlib

2012-02-08 Thread Gökhan Sever
This is the solution which requires the least modification to the original text inserting functions. The only drawback is like you said, it only works with ps backend. Any idea if this could be generalized for other backends? On Tue, Feb 7, 2012 at 3:44 PM, Yann Tambouret wrote: > Along the lin

[Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
I was trying to test the patch mike put in to fix the single pixel plotting issue, but just realized that this was a Mac version. Can I use it on a linux box? How? Thanks, Chris -- Keep Your Developer Skills Current with

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:06 AM, Chris wrote: > I was trying to test the patch mike put in to fix the single pixel > plotting issue, but just realized that this was a Mac version. Can I > use it on a linux box? How? > These instructions are for an ubuntu based system -- if you are on a differen

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks John. Since I already have a running copy of mpl, I skipped to the git clone step, but get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I'm a complete noob on git, so please bear with me. - Chris On Wed, Feb 8, 2012 at 9:31 AM, John Hunter wrote

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:39 AM, Chris wrote: > Thanks John. Since I already have a running copy of mpl, I skipped to > the git clone step, but get this error: > > Permission denied (publickey). > fatal: The remote end hung up unexpectedly > > I'm a complete noob on git, so please bear with me.

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
This time the error is: fatal: Not a git repository (or any of the parent directories): .git I guess that I have not be able to establish a local git tree since the command git clone g...@github.com:matplotlib/matplotlib.git matplotlib.git did not go through. - Chris On Wed, Feb 8, 2012 at 9:

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Tony Yu
On Wed, Feb 8, 2012 at 12:58 PM, Chris wrote: > This time the error is: > > fatal: Not a git repository (or any of the parent directories): .git > > I guess that I have not be able to establish a local git tree since the > command > > git clone g...@github.com:matplotlib/matplotlib.git matplotlib

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:58 AM, Chris wrote: > This time the error is: > > fatal: Not a git repository (or any of the parent directories): .git > > I guess that I have not be able to establish a local git tree since the > command > > git clone g...@github.com:matplotlib/matplotlib.git matplotlib

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 12:06 PM, Tony Yu wrote: git clone g...@github.com:matplotlib/matplotlib.git matplotlib.git >> >> did not go through. >> >> - Chris >> >> > I don't think you want the ".git" at the very end of the clone command. > That just tells get where (i.e. new directory) to put the r

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
New error at `git checkout -b mdboom-pixel_marker v1.1.x': fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'v1.1.x' which can not be resolved as commit? - Chris On Wed, Feb 8, 2012 at 10:13 AM, John Hunter wrote: > > > On Wed, Feb 8, 2012

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Dale Chayes
I interpreted the "public key" error (as did others) to be an ssh issue. For a publicly readable approach this seems to work: [dhcp-90-166:python/matplotlib/git] dale% git clone git://github.com/matplotlib/matplotlib.git Cloning into matplotlib... remote: Counting objects: 57725, done. remote:

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Tony Yu
On Wed, Feb 8, 2012 at 1:20 PM, Chris wrote: > New error at `git checkout -b mdboom-pixel_marker v1.1.x': > > fatal: git checkout: updating paths is incompatible with switching > branches. > Did you intend to checkout 'v1.1.x' which can not be resolved as commit? > > - Chris > That looks like so

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks Tony and JDH, problem resolved and now I can try to compile. - Chris On Wed, Feb 8, 2012 at 10:41 AM, Tony Yu wrote: > > > On Wed, Feb 8, 2012 at 1:20 PM, Chris wrote: >> >> New error at `git checkout -b mdboom-pixel_marker v1.1.x': >> >> fatal: git checkout: updating paths is incompatib

[Matplotlib-users] plot_date again

2012-02-08 Thread Ted To
Hi, Is it possible to force the date ticks to be the same in two different plots? For example, the attached figures cover the same time spans but in one, the data are weekly and the other, monthly. While there is nothing really wrong with different tick marks, aesthetically it would be nice if t

Re: [Matplotlib-users] plot_date again

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 1:12 PM, Ted To wrote: > > Is it possible to force the date ticks to be the same in two different > plots? For example, the attached figures cover the same time spans but > in one, the data are weekly and the other, monthly. While there is > nothing really wrong with diffe

Re: [Matplotlib-users] plot_date again

2012-02-08 Thread Ted To
On 02/08/2012 02:22 PM, John Hunter wrote: > > > On Wed, Feb 8, 2012 at 1:12 PM, Ted To > wrote: > > Is it possible to force the date ticks to be the same in two different > plots? For example, the attached figures cover the same time spans but > in one

Re: [Matplotlib-users] Matplotlib tutorial at PyCon US

2012-02-08 Thread Mic
Hi Mike, Would it possible that after the conference the videos of all talks could be downloaded? It is not possible to download them from last year. Thank you in advance. Cheers, On Thu, Jan 26, 2012 at 1:43 AM, Mike Müller wrote: > Hi, > > I will be giving a matplotlib and a optimization tuto

Re: [Matplotlib-users] Course "Python for Scientists and Engineers" in Chicago

2012-02-08 Thread Mic
HI Mike, Will be videos available from the course? Thank you in advance. Cheers, On Wed, Jan 25, 2012 at 6:52 AM, Mike Müller wrote: > Course "Python for Scientists and Engineers" in Chicago > === > > There will be a comprehensive Python cour

[Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread T J
Hi, I am experiencing missing "segments" in the output of imshow(). I draw a slowly growing line in an array, and then display it. The line is continuous but in the output, there are segments missing from it. Of course, if I zoom into the picture (before saving to output), then I can see the li

Re: [Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread Jerzy Karczmarczuk
> I am experiencing missing "segments" in the output of imshow() > > Here is a minimal example: > > I have attached an example of the output. In theory, there should be > a continuous line from the left side of the picture to the right side. > The problem seems to occur across backends. A

Re: [Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread Benjamin Root
On Wednesday, February 8, 2012, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > >> I am experiencing missing "segments" in the output of imshow() >> >> Here is a minimal example: >> >> I have attached an example of the output. In theory, there should be >> a continuous line from t

Re: [Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread Christopher Ellison
Jerzy Karczmarczuk wrote the following on 02/08/2012 05:55 PM: > >> I am experiencing missing "segments" in the output of imshow() >> >> Here is a minimal example: >> >> I have attached an example of the output. In theory, there should be >> a continuous line from the left side of the picture