[Matplotlib-users] corrupt pdf of histogram

2012-03-28 Thread sanders
Dear all,

I'm making histograms:

If keywords fill=False and log=True,

then after saving, the png looks fine but the histogram in the pdf is
mixed up.

Anyone knows about this?

Bram

### Script ###

import matplotlib.pyplot as plt
import numpy as np

data = np.random.normal(size=1000)

### correct pdf

fig = plt.figure()
ax = fig.add_subplot(111)

ax.hist(data, fill=False, log=False)

fig.savefig('plot1.pdf', format='pdf')
fig.savefig('plot1.png', format='png')

### wrong pdf

fig = plt.figure()
ax = fig.add_subplot(111)

ax.hist(data, fill=False, log=True)

fig.savefig('plot2.pdf', format='pdf')
fig.savefig('plot2.png', format='png')


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery

2012-03-28 Thread John Hunter
On Mon, Mar 19, 2012 at 12:53 PM,  wrote:

>  Awesome John!! Thank you very much for your help on this…
>
> ** **
>
> Guido 
>
>  
>
> *From:* John Hunter [mailto:jdh2...@gmail.com]
> *Sent:* Monday, March 19, 2012 12:52 PM
> *To:* Espinosa, Guido R
> *Cc:* matplotlib-users@lists.sourceforge.net
> *Subject:* Re: [Matplotlib-users] Too Many Requests error - matplotlib
> gallery
>
> ** **
>
> ** **
>
> On Mon, Mar 19, 2012 at 12:46 PM, John Hunter  wrote:**
> **
>
> ** **
>
> Thanks, this has been going on for several days now and I just filed a
> ticket with sourceforge.
>
> ** **
>
> ** **
>
>   https://sourceforge.net/apps/trac/sourceforge/ticket/24897
>

sf has made some changes to their algorithm to accommodate our gallery.
 Appears to be working again.  Details are in the sf ticket linked above.

JDH
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery

2012-03-28 Thread guido
Thanks a lot John!! It's working perfectly.


From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Wednesday, March 28, 2012 11:52 AM
To: Espinosa, Guido R
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery


On Mon, Mar 19, 2012 at 12:53 PM, 
mailto:gu...@thinkorswim.com>> wrote:
Awesome John!! Thank you very much for your help on this...

Guido

From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Monday, March 19, 2012 12:52 PM
To: Espinosa, Guido R
Cc: 
matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery


On Mon, Mar 19, 2012 at 12:46 PM, John Hunter 
mailto:jdh2...@gmail.com>> wrote:

Thanks, this has been going on for several days now and I just filed a ticket 
with sourceforge.


  https://sourceforge.net/apps/trac/sourceforge/ticket/24897

sf has made some changes to their algorithm to accommodate our gallery.  
Appears to be working again.  Details are in the sf ticket linked above.

JDH
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] corrupt pdf of histogram

2012-03-28 Thread Jouni K . Seppänen
sanders  writes:

> If keywords fill=False and log=True,
>
> then after saving, the png looks fine but the histogram in the pdf is
> mixed up.

Confirmed, thanks for the report. I filed this at
https://github.com/matplotlib/matplotlib/issues/804

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Dependency on PyQt when using PySide

2012-03-28 Thread Stuart Mentzer
Hello,

Just trying out the PySide support in matplotlib 1.1.0 and it works great but 
when it seems that when using the Qt4Agg backend there is a lingering import 
dependency on PyQt that PyInstaller picks up. My application works with PyQt 
removed so I assume that this is a PyInstaller issue but I'm wondering if the 
import structure in matplotlib could be made more PySide+PyInstaller friendly? 
Thanks.

Stuart

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users