Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-04 Thread Benjamin Root
On Wed, Mar 28, 2012 at 2:27 PM, Jouni K. Seppänen wrote: > 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

Re: [Matplotlib-users] Export 3D plot to 3D file format

2012-04-04 Thread Benjamin Root
On Tue, Mar 27, 2012 at 5:39 PM, klo uo wrote: > Ah mayavi... I find it complicated for building, and in Ubuntu repository > (or launchpad) there is some old version > I'll try later today to build it > > Thanks for your suggestion, > Cheers > > > > On Tue, Mar 27, 2012 at 11:25 PM, Frédéric Vogt

Re: [Matplotlib-users] assigning a plot object to a figure

2012-04-04 Thread Emmanuel Mayssat
After trying hard to send a plot to my widget, I finally found a solution that works: get the figure from the widget! In short, it is has simple as: from pyqtgraph.Qt import QtGui, QtCore import matplotlib from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matp

Re: [Matplotlib-users] Display problem on CentOS

2012-04-04 Thread Magician
Thanks again, Eric. I had been trying, and finally got a good result. My answer is installing PyQt4 for newer Python (v2.7.2) from sources. Here is the successful steps: 1. Install SIP from source (sip-4.13.2.tar.gz) at default directory 2. Install QtSDK from .run file (Qt_SDK_Lin64_online_v1_

Re: [Matplotlib-users] How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Benjamin Root
On Wednesday, April 4, 2012, Nikolaus Rath wrote: > Hello, > > I'm plotting a rotating phase: > > # ipython --pylab > x1 = linspace(0, 2*pi, 30) > x = concatenate((x1,x1,x1,x1)) > plot(x) > > The resulting plot has ugly vertical lines whenever x wraps from 2*pi > back to zero. > > Does someone hav

[Matplotlib-users] Fwd: How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Warren Weckesser
Forwarding an email that I sent directly to Nikolaus. (I think every other mailing list that I used defaults to something like "Reply to list" or "Reply to all".) Warren -- Forwarded message -- From: Warren Weckesser Date: Wed, Apr 4, 2012 at 11:18 AM Subject: Re: [Matplotlib-use

[Matplotlib-users] How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Nikolaus Rath
Hello, I'm plotting a rotating phase: # ipython --pylab x1 = linspace(0, 2*pi, 30) x = concatenate((x1,x1,x1,x1)) plot(x) The resulting plot has ugly vertical lines whenever x wraps from 2*pi back to zero. Does someone have a nice, general way to get to get rid of such lines? (the actual data