Re: [Matplotlib-users] [Anaconda Support] Re: Anaconda Mac or matplolib bug ?

2014-09-17 Thread Darren Dale
If you don't get an error message, and you don't get a window, it probably means you matplotlib is defaulting to the Agg backend. The backend is set by default in site-packages/matplotlib/mpl-data/matplotlibrc . What does this report?: import matplotlib print(matplotlib.rcParams['backend']) On

Re: [Matplotlib-users] Undocumented transform API change between 1.1 and 1.2?

2012-12-18 Thread Darren Dale
On Mon, Dec 10, 2012 at 3:45 AM, Phil Elson pelson@gmail.com wrote: Thanks for bringing this up, it is certainly valuable to highlight this on the mailinglist. As you say, the change is hard to spot and, I agree, makes library code supporting v1.1.1 and v1.2 harder than one would like.

Re: [Matplotlib-users] PyQt4 FigureCanvasQTAgg Subclass segfaults with Matplotlib 1.1?

2012-03-12 Thread Darren Dale
Have you tried running with older checkouts on the master branch to see when the problem was introduced? You can do something like: git log --oneline --graph lib/matplotlib/backends/backend_qt4.py # or backend_qt4agg.py to see what commits were applied to master but not v1.0.x. Try bisecting the

Re: [Matplotlib-users] Segmentation fault in Pyqt

2012-03-12 Thread Darren Dale
On Mon, Mar 12, 2012 at 4:30 PM, Sourabh Bajaj sb2...@gmail.com wrote: I am getting a segmentation fault when I try to declare a new image name. I can replace a existing image correctly. Why am I getting the error at the getSaveFileName dialog ?? [...] fname =

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread Darren Dale
On Fri, Sep 16, 2011 at 9:44 AM, Keith Hughitt keith.hugh...@gmail.com wrote: Is it not possible to use imshow() in a Qt application then? http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.imshow

Re: [Matplotlib-users] Building with python 3

2011-08-12 Thread Darren Dale
On Fri, Aug 12, 2011 at 2:12 PM, R. Padraic Springuel r.spring...@umit.maine.edu wrote: I just downloaded and installed freetype2 in order to fix that potential problem and I still get the same error (can't find the headers) in the build output. Where did you install the headers? Is this

Re: [Matplotlib-users] Building with python 3

2011-08-09 Thread Darren Dale
On Sat, Aug 6, 2011 at 6:39 PM, R. Padraic Springuel r.spring...@umit.maine.edu wrote: So, I have a python 3.2 install on my Mac for other purposes, but when I heard about the matplotlib branch for python 3 I figured I'd give it a try even though I have a perfectly good version for python 2.7

Re: [Matplotlib-users] matplotlib-py3 branch won't show in Ubuntu 10.04

2011-07-08 Thread Darren Dale
On Wed, Jun 29, 2011 at 10:46 AM, Jorge Garcia jgarc...@fiu.edu wrote: Hello, I was trying to test out the Python 3 development version with the first plot shown in the pyplot tutorial. Everything seems to work ok until I go plt.show() at which point nothing happens, I don't see a plot.

Re: [Matplotlib-users] linux3 issue

2011-06-30 Thread Darren Dale
Hi, I had problems to build the version 1.0.1-r1 in gentoo with linux-3.0.0-rcX. As chromium, the matplotlib need fix the use of 'linux2' label. See chromium thread: http://code.google.com/p/chromium/issues/detail?id=85845 Is very simple fix. If you want, i can send one patch. Thank you.

Re: [Matplotlib-users] Plan to merge the matplotlib-py3 branch?

2011-06-13 Thread Darren Dale
On Mon, Jun 13, 2011 at 12:25 PM, Michael Droettboom md...@stsci.edu wrote: This was recently discussed in the thread v1.0.x branch seems confused. I (believe) the consensus was to get out another v1.0.x maintenance release out in the near future (which would not support py3k, but would still

Re: [Matplotlib-users] legend font weight with TeX

2011-04-05 Thread Darren Dale
On Tue, Apr 5, 2011 at 2:51 PM, Eli Brosh ebro...@gmail.com wrote: Hello, I am using pylab with the rc parameter rcParams['text.usetex']=True Now, I would like to make a legend with bold fonts. So, I tried two options: 1) from matplotlib.font_manager import fontManager, FontProperties

Re: [Matplotlib-users] python3 svn branch dead?

2011-03-20 Thread Darren Dale
On Sun, Mar 20, 2011 at 2:08 PM, Xavier Gnata xavier.gn...@gmail.com wrote: Hi, It looks like the http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/ in dead. The last commit was 8months ago. Numpy is ok with python3.1, scipy is ok, nose is ok, ipython is usable. Ubuntu

Re: [Matplotlib-users] python3 svn branch dead?

2011-03-20 Thread Darren Dale
On Sun, Mar 20, 2011 at 8:52 PM, Xavier Gnata xavier.gn...@gmail.com wrote: On 03/20/2011 07:19 PM, Darren Dale wrote: On Sun, Mar 20, 2011 at 2:08 PM, Xavier Gnataxavier.gn...@gmail.com  wrote: Hi, It looks like the http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k

Re: [Matplotlib-users] Qt4 on OSX

2011-03-17 Thread Darren Dale
On Wed, Mar 16, 2011 at 1:59 PM, Daniel Welling dantwell...@gmail.com wrote: Greetings, MPL'ers. After playing with backends quite a bit, I have found that the best one in terms of speed, robustness, and features is Qt4Agg - especially on OSX, where the MacOSX backend is buggy and many others

Re: [Matplotlib-users] faq: reducing figure.figsize cuts off labels and tick marks

2011-02-25 Thread Darren Dale
On Fri, Feb 25, 2011 at 6:03 AM, Daniel Mader danielstefanma...@googlemail.com wrote: Hi Goyo and Darren, thanks for pointing out the rcParams solution! For the time being, this seems an OK approach. I'd like to use the automatic solution, though There isn't one.

Re: [Matplotlib-users] faq: reducing figure.figsize cuts off labels and tick marks

2011-02-24 Thread Darren Dale
On Tue, Feb 22, 2011 at 4:23 AM, Daniel Mader danielstefanma...@googlemail.com wrote: Hi, there has been a similar question recently but I couldn't figure out if or how this is solved: I'd like to reduce the figure size so that I can add it to a LaTeX document without scaling (PDF output

Re: [Matplotlib-users] error: Setup script exited with error: command 'gcc' failed with exit status 1

2011-02-22 Thread Darren Dale
On Tue, Feb 22, 2011 at 3:17 PM, M.Rule mrule7...@gmail.com wrote: Hello, I'm having trouble installing Matplotlib. Both easy_install and the latest svn checkout give similar errors : http://pastebin.com/5g0RsdRx any ideas ? You are missing headers from a number of critical libraries. Try

Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Darren Dale
On Tue, Feb 22, 2011 at 4:21 PM, Gideon Simpson simp...@math.toronto.edu wrote: Here's the ouput I got: Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type help, copyright, credits or license for more information. import pylab Traceback (most

Re: [Matplotlib-users] No qt4agg backends running on example file

2011-02-18 Thread Darren Dale
On Fri, Feb 18, 2011 at 4:21 AM, Jeffrey Spencer jeffspenc...@gmail.com wrote: When I bold it doesn't find Tkinter could this be the issue?? I can't parse that. I have python-tk already installed. It finds it fine when I install the Debian package but not when I get it from SVN. Cheers,

Re: [Matplotlib-users] latex ' (prime)

2011-02-01 Thread Darren Dale
On Tue, Feb 1, 2011 at 12:29 PM, Jason Grout jason-s...@creativetrax.com wrote: Observe the following image: import pylab pylab.plot([0,1],[1,2],label=$\sigma'_0$) pylab.legend() pylab.savefig('test.png') Notice that the \prime introduced by the single quote in the legend is not raised

Re: [Matplotlib-users] STOP!

2011-02-01 Thread Darren Dale
On Tue, Feb 1, 2011 at 12:50 PM, Andraz Omahen zazmais...@gmail.com wrote: I just want you to stop sending massages to me form matplotlib. Unsubscribe here: https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] Python 3

2011-01-03 Thread Darren Dale
On Mon, Jan 3, 2011 at 9:45 AM, Ryan May rma...@gmail.com wrote: On Sun, Jan 2, 2011 at 12:24 PM, Xavier Gnata xavier.gn...@gmail.com wrote: which backend should we use? It does not work with pyqt4 Traceback (most recent call last):   File stdin, line 1, in module   File

Re: [Matplotlib-users] Simple animation with Qt4 backend

2010-11-21 Thread Darren Dale
On Sun, Nov 21, 2010 at 10:36 AM, Pierre Raybaut pierre.rayb...@gmail.com wrote: Hi all, Following a discussion with a Spyder user regarding simple animations with Matplotlib, I took a very quick look at the Qt4's backend source code to see if it was possible to make the following code work

Re: [Matplotlib-users] Dollar sign in TeX plot label

2010-08-02 Thread Darren Dale
On Mon, Aug 2, 2010 at 10:15 AM, Richard Lincoln r.w.linc...@gmail.com wrote: I am having trouble creating a plot using TeX which has a $ sign in one of the axis labels.  If I run: import matplotlib matplotlib.rc('font', **{'family': 'serif', 'serif': ['Computer Modern Roman']})

Re: [Matplotlib-users] Cursor corruption with pyqt4 and a work-around.

2010-07-20 Thread Darren Dale
On Fri, Jun 18, 2010 at 7:50 AM, Darren Dale dsdal...@gmail.com wrote: On Thu, Jun 17, 2010 at 11:04 PM, David Smith davidhsmith...@gmail.com wrote: I have been developing an application using PyQt ant Matplotlib and encountered a problem with the mouse cursor shape being incorrect.  I

Re: [Matplotlib-users] Cursor corruption with pyqt4 and a work-around.

2010-06-18 Thread Darren Dale
On Thu, Jun 17, 2010 at 11:04 PM, David Smith davidhsmith...@gmail.com wrote: I have been developing an application using PyQt ant Matplotlib and encountered a problem with the mouse cursor shape being incorrect.  I found a work-around that seems to work, but I think this is a bug and the fix

Re: [Matplotlib-users] Formatting numbers with exponent with matplotlib

2010-05-17 Thread Darren Dale
On Mon, May 17, 2010 at 6:04 AM, Ralph Kube ralphk...@googlemail.com wrote: Hello folks. I am trying to teach pylab to use latex to write numbers with an exponent in the plot legend. So far my plot labels are formatted with scientific notation, where I use the format operate: import pylab

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-04 Thread Darren Dale
On Tue, May 4, 2010 at 10:58 AM, Gökhan Sever gokhanse...@gmail.com wrote: On Mon, May 3, 2010 at 4:02 PM, Darren Dale dsdal...@gmail.com wrote: I got a suggestion at the PyQt4 mailing list, and the following patch appears to resolve the problem. Darren Thanks Darren. Your patch fixes

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-03 Thread Darren Dale
On Sun, Apr 18, 2010 at 12:55 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale dsdal...@gmail.com wrote: On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, Could someone confirm me if there is any malfunctioning

Re: [Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Darren Dale
On Wed, Apr 28, 2010 at 7:13 AM, Eric Emsellem eemse...@eso.org wrote: Hi I just downloaded numpy 2.0 and there is a test in the setupext.py of matplotlib which says:     nn = numpy.__version__.split('.')     if not (int(nn[0]) = 1 and int(nn[1]) = 1): This clearly does NOT work for

Re: [Matplotlib-users] install from svn on Linux not working for me

2010-04-19 Thread Darren Dale
On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim lukshun...@gmail.com wrote: On 04/19/2010 01:52 PM, C M wrote: My goal is to just get the lastest svn version of matplotlib, or, if not that, just the 0.99 version, up and working on my Linux (Intrepid Ibex) computer.  I checked it matplotlib out

Re: [Matplotlib-users] Fwd: install from svn on Linux not working for me

2010-04-19 Thread Darren Dale
On Mon, Apr 19, 2010 at 1:51 PM, C M cmpyt...@gmail.com wrote: On Mon, Apr 19, 2010 at 1:31 PM, Mauro Cavalcanti mauro...@gmail.com wrote: As I posted before, I ran across precisely these same errors when upgrading my Ubuntu box and the Python interpreter. You will need to install other

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-04-18 Thread Darren Dale
On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, Could someone confirm me if there is any malfunctioning using these simple figure functions? plt.figure(figsize=(2,3)) plt.figure(figsize=(5,6)) plt.figure(figsize=(9,15)) plt.figure(figsize=(19,5)) For

Re: [Matplotlib-users] FW: matplotlib

2010-04-07 Thread Darren Dale
On Wed, Apr 7, 2010 at 4:09 AM, Padma TAN ta...@gis.a-star.edu.sg wrote: Hi, We have an error when running python matplotlib. Please assist. Thanks in advance! J [cheung...@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Darren Dale
On Thu, Apr 1, 2010 at 7:53 AM, Mauro Cavalcanti mauro...@gmail.com wrote: Dear ALL, Long time no see Well, I have recently upgraded from Ubuntu Intrepid to Jaunty (sure, I know that I'm a couple of versions delayed, but keeping a working system stable is essential). I did not a fresh

Re: [Matplotlib-users] label not print theta symbol

2010-02-22 Thread Darren Dale
On Mon, Feb 22, 2010 at 8:36 AM, Philipp Bender li...@rootiniert.de wrote: Hi, How do I print as label of an axis the Theta symbol - θ? you can take a look in the docs, there are examples how to use LaTeX for the labels. You get the letter in LaTeX with \theta or \Theta. But be sure to

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread Darren Dale
On Tue, Feb 16, 2010 at 9:53 PM, John Hunter jdh2...@gmail.com wrote: On Tue, Feb 16, 2010 at 3:57 PM, Ernest Adrogué eadro...@gmx.net wrote: 16/02/10 @ 16:20 (-0500), thus spake Filipe Pires Alvarenga Fernandes: \\  works for titles and label, but not for DateFormatter, but \vspace did the

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-03 Thread Darren Dale
On Sun, Jan 3, 2010 at 5:26 PM, Alexander Hupfer son...@gmail.com wrote: Ok, that at least fixed the tkinter error, but I still don't get a colorbar attached to my plot. (which worked fine when I didn't embedd it in a Qt application) If you are importing from pylab or pyplot in your program,

Re: [Matplotlib-users] matplotlib figure within Qt Application - segfault

2009-12-29 Thread Darren Dale
On Mon, Dec 28, 2009 at 10:24 AM, TheLonelyStar nabb...@lonely-star.org wrote: Hi, I have a Qt application, where I want to display a matplotlib figure which is updated from time to time (not mebeded, in its own window). Now, I do: import pylab pylab.ion() pylab.figure() within a

Re: [Matplotlib-users] I expanded the embedding_in_qt4.py with a blitting canvas.

2009-12-29 Thread Darren Dale
On Sat, Dec 26, 2009 at 12:52 PM, Till Stensitzki mail.t...@gmx.de wrote: If you want to use it in the example section or anything else, you are welcome. We also have an existing blitting example at http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html . I would prefer

Re: [Matplotlib-users] Matplotlib build/install error

2009-12-07 Thread Darren Dale
On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar dali.laad...@predictix.com wrote: Hey ALL I've been trying to install matplotlib-0.99.1.1. Getting build errors : 1/ [u...@mymachine ~]$ uname -a Linux target-datalog 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64

Re: [Matplotlib-users] usetex=True and savefig(eps-file)

2009-12-02 Thread Darren Dale
On Mon, Nov 16, 2009 at 9:45 AM, Matthias Michler matthiasmich...@gmx.net wrote: Hello list, I encounter some strange error output including several Permission denied when using usetex=True and saveing eps-pictures. My example is quite easy and the output is attached. (Please notice the

Re: [Matplotlib-users] usetex=True and savefig(eps-file)

2009-12-02 Thread Darren Dale
On Wed, Dec 2, 2009 at 9:57 AM, Michael Droettboom md...@stsci.edu wrote: I can confirm that this works for me, so it is probably some sort of configuration difference. Can you provide the error output?  It would be useful to know what specifically it is being denied permission for. He had

Re: [Matplotlib-users] font rendering quality

2009-12-01 Thread Darren Dale
On Tue, Dec 1, 2009 at 6:37 AM, Ernest Adrogué eadro...@gmx.net wrote: 30/11/09 @ 22:28 (-0600), thus spake John Hunter: The two examples in the page you link to have different font sizes and possibly different font weights, which makes it difficult to do side-by-side comparisons.  Could you

Re: [Matplotlib-users] Bliting speed improvment patch (QT4Agg backend) + example of sliding demo

2009-12-01 Thread Darren Dale
On Mon, Nov 30, 2009 at 7:01 PM, Laurent Dufrechou laurent.dufrec...@gmail.com wrote: Hi there, Finally with lot of try I've finally managed to make blitting of a cmap working. I've also patched QT4agg backend, to make a redraw immediately. (replaced self.draw by self.repaint) In my current

Re: [Matplotlib-users] matplotlib WX and Qt4Agg backends

2009-11-13 Thread Darren Dale
On Thu, Nov 12, 2009 at 12:13 PM, Taro Sato ubu...@gmail.com wrote: TheLonelyStar wrote: /net/gorgonzola/storage/nhuesken/svn/ActiveLearning/SVM/ModelSelection/Ergebnisse/plot.pyc in plot(filename, line_list, name_list, reference)       6         for i in xrange(len(line_list)):       7

Re: [Matplotlib-users] all fonts to sans-serif?

2009-10-16 Thread Darren Dale
On Thu, Oct 15, 2009 at 10:38 AM, Christian Meesters meest...@imbie.uni-bonn.de wrote: Hi, I'd like to have all sub-fonts (labels, tick labels, text) sans-serif for a series of plots per default. However the appropriate settings in .matplotlibrc apparently don't work and this also does not

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Darren Dale
On Tue, Sep 29, 2009 at 3:28 PM, Marco Cabizza marc...@gmail.com wrote: Hello,        I'm writing my thesis with the Lucida Bright font ( provided by the lucidabr package ) and I can't seem to get properly rendered fonts in any Matplotlib eps file. Setting the preamble with the rc variable

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Darren Dale
On Wed, Sep 30, 2009 at 7:52 AM, Marco Cabizza marc...@gmail.com wrote: Il giorno 30 set 09, alle ore 13.25, Darren Dale ha scritto: Probably setting the preamble in rc is your best option. I added the note that it is not supported not because it is broken, but because I don't want the mpl

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Darren Dale
On Wed, Sep 16, 2009 at 11:13 AM, Diaboflo f...@hw.ac.uk wrote: The simplest case would be: import pylab pylab.plot([1,2]) pylab.xlabel($\phi$) Does this help: pylab.xlabel(r$\phi$) pylab.savefig(fig.png) pylab.savefig(fig.eps) The png has the xlabel as phi, the xlabel in the eps file

Re: [Matplotlib-users] Re :Re: Little help needed with pqt ...

2009-09-11 Thread Darren Dale
I think this was fixed in 0.99 by the removal of a call to processEvents, which was causing segfaults in other contexts. On Fri, Sep 11, 2009 at 6:32 PM, laurent.dufrec...@gmail.com wrote: Hi Darren, Thanks for your answer. ... I've updated to matplotlib 0.99 since the last email... and the

Re: [Matplotlib-users] Python 2.6

2009-08-19 Thread Darren Dale
On Thu, Aug 13, 2009 at 1:21 PM, William Minerwilliam.mi...@enig.com wrote: When will a version of Matplotlib be available that’s compatible with Python 2.6? matplotlib-0.99 is compatible with python 2.6 -- Let Crystal

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 7:13 AM, D2Hitmanj.m.gir...@warwick.ac.uk wrote: Hi, I am trying to use a text label with a new line in the middle and then save the figure to .eps text(0.5, 0.5, r'a \\ b') savefig('test.eps') This results in: RuntimeError: LaTeX was not able to process your

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 7:32 AM, Sebastian Buschwebmas...@thamnos.de wrote: Darren Dale wrote: On Wed, Aug 12, 2009 at 7:13 AM, D2Hitmanj.m.gir...@warwick.ac.uk wrote: Is it a problem that it is using pdftex instead of pslatex? Yes. i don't think so. the example from matplotlib.pyplot

Re: [Matplotlib-users] problem with matplotlib and latex

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 10:42 AM, Timo Spielmannspielm...@th.physik.uni-frankfurt.de wrote: hey people i have an problem on plotting some functions with latex texts. i cant plot some latex symbols like \bar or something else the normal latex stuff works perect, but such keys doessent and

Re: [Matplotlib-users] problem with matplotlib and latex

2009-08-12 Thread Darren Dale
Try googling python raw strings and read the first hit. By the way, please post self-contained scripts that are as short as possible. We can't run the script you posted, the data is missing. On Wed, Aug 12, 2009 at 12:00 PM, spielm...@th.physik.uni-frankfurt.de wrote: how i use raw settings ?

Re: [Matplotlib-users] problem with matplotlib and latex

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 12:22 PM, spielm...@th.physik.uni-frankfurt.de wrote: hmm ok i post it in a more shorter way... but with the point raw settings i dont know how it should works I directed you to the documentation. An improved script is attached. #!/usr/bin/python # -*- coding: utf8 -*-

Re: [Matplotlib-users] Strange issue when using Matplotlib with PyQt4

2009-07-21 Thread Darren Dale
On Tue, Jul 21, 2009 at 12:06 PM, Lukas Hetzeneckerl...@gmx.at wrote: Sorry for annoying you, but I attatched a new example to this message: I've rewritten the PyQt4-example from the website to draw the Figure in a tab widget. The same happens ;) In your original post, you said: the widget in

Re: [Matplotlib-users] Strange issue when using Matplotlib with PyQt4

2009-07-21 Thread Darren Dale
On Tue, Jul 21, 2009 at 2:47 PM, Lukas Hetzeneckerl...@gmx.at wrote: Hello, the matplotlib widget has an incorrect default size (the left one in the attatched screenshot). I couldn't reproduce this behaviour with any Qt widget - so it seems that this is specific to matplotlib. But as I'm not

Re: [Matplotlib-users] Matplotlib+Qt. Problem with plot resizing

2009-07-20 Thread Darren Dale
Hi Alexander, 2009/7/20 Alexander Bruy volt...@ua.fm: Sorry, some troubles with my email service. With attachment now 2009/17/07 Darren Dale dsdal...@gmail.com wrote: Please post a short, complete, self-contained script demonstrating the problem. I create a small example, see attachment

Re: [Matplotlib-users] Matplotlib+Qt. Problem with plot resizing

2009-07-17 Thread Darren Dale
2009/7/17 Alexander Bruy volt...@ua.fm Hi, list! I have a problem with embedding matplotlib in Qt based GUI. I read manual and look at example embedding_in_qt4.py. I create GUI with QtDesigner. For matplotlib plot I create a QWidget. Then in runtime I embed a matplotlib plot im my GUI,

Re: [Matplotlib-users] Qt backend

2009-07-09 Thread Darren Dale
On Thu, Jul 9, 2009 at 10:05 AM, Mustafa Sakalsiz sakal...@gmail.comwrote: Hi all, I have a PyQt application and want to show some charts on it. However, I don't want to show the charts on a classic widget, instead I need to show the charts on a QGraphicsView/QGraphicsScene object. Because I

Re: [Matplotlib-users] Resize error with Qt4 backend

2009-07-02 Thread Darren Dale
On Thu, Jul 2, 2009 at 3:06 AM, Ole Streicher ole-usenet-s...@gmx.netwrote: Hi Brian, I have also some layout problems with the Qt4 backend. The worst one is a SegFault when adjusting the width. Brian Zambrano bri...@gmail.com writes: vbox = QVBoxLayout() vbox.addWidget(self.canvas)

Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows vs. Linux

2009-06-12 Thread Darren Dale
On Tue, Jun 9, 2009 at 6:17 PM, Steve Nicholes emailaddress_...@yahoo.comwrote: Hi, I am writing some code for automated testing via GPIB using MPL and PyQt. To simulate automated data collection while debugging the program, I have added a for loop (see below) after reading in a data file

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Darren Dale
On Thu, May 28, 2009 at 7:55 AM, Ole Streicher ole-usenet-s...@gmx.netwrote: Hi again, is there no idea on this topic? Does the update work for you as it should? I am really busy with other things, and can't offer suggestions unless you post a short, simple, standalone script that

Re: [Matplotlib-users] Adapt animation_blit_qt4.py to a pure OO implementation (QT4 timerEvent)

2009-05-27 Thread Darren Dale
On Wed, May 27, 2009 at 9:11 AM, Sandro Tosi mo...@debian.org wrote: Hi all, I'd like to adapt 'animation_blit_qt4.py' to a pure OO approach, removing pylab from the code and move to something near to 'embedding_in_qt4.py'. I tried a bit but failed miserably :( What I'd like to achieve is

Re: [Matplotlib-users] Error messages with xpdf / LaTeX

2009-02-23 Thread Darren Dale
On Mon, Feb 23, 2009 at 3:59 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: Hi everyone, I'm having issues using LaTeX text processing with the xpdf distiller. After playing with my settings, I finally managed to get vector graphics output using LaTeX test processing. However, a

Re: [Matplotlib-users] Strange Recursion error with plot()

2009-02-02 Thread Darren Dale
On Mon, Feb 2, 2009 at 2:17 PM, Durand dura...@gmail.com wrote: Hi, I'm using matplotlib on Ubuntu Jaunty and a script that I wrote recently stopped working. I think this may have something to do with changes in matplotlib as it fails with the error pasted at http://pastebin.ca/1325576and

Re: [Matplotlib-users] Figure with pyQt

2009-01-15 Thread Darren Dale
On Thu, Jan 15, 2009 at 11:56 AM, projet...@club-internet.fr wrote: Hello, I would like to see the following example http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo.ht mlhttp://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo.htmlusing the 2nd one

Re: [Matplotlib-users] multiline LaTeX code

2009-01-13 Thread Darren Dale
On Tue, Jan 13, 2009 at 6:53 AM, Ken Schutte kts.li...@gmail.com wrote: I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the

Re: [Matplotlib-users] matlab vs pylab png output

2009-01-13 Thread Darren Dale
Perhaps the interpolation needs to be set to 'nearest'? On Tue, Jan 13, 2009 at 3:33 PM, John Hunter jdh2...@gmail.com wrote: On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA m...@ua.pt wrote: Hello, I have a problem saving png files created from data with missing values. The matlab and

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Darren Dale
On Mon, Jan 12, 2009 at 8:44 AM, Mauro Cavalcanti mauro...@gmail.comwrote: Dear ALL, I just found the following error when trying to run a very simple test MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen when not importing MPL pyplot (for example, in a wxPython

Re: [Matplotlib-users] Can't build on Ubuntu Intrepid

2008-12-20 Thread Darren Dale
On Sat, Dec 20, 2008 at 1:19 AM, Ryan Wagner rwag...@vni.com wrote: Hi guys, I've been trying to build the newest version of MPL on Ubuntu Intrepid for a few days now. I'm not getting anywhere. I believe I have all the correct dev packages installed. I had tried to build 0.98.3 but it

Re: [Matplotlib-users] general matplotlib usage questions

2008-11-20 Thread Darren Dale
On Thursday 20 November 2008 06:43:48 am Robin wrote: Hi, I think matplotlib is a terrific tool, and it is a major component of the open source toolset that has allowed me to stop using Matlab. But, whenever it comes to producing publication plots, there are a few things I always find

Re: [Matplotlib-users] Crosshai cursor or Selector with matplotlib.backends.backend_wxagg

2008-11-11 Thread Darren Dale
On Tuesday 11 November 2008 09:03:30 am [EMAIL PROTECTED] wrote: Dear all, after looking around for a plotting library I found Matplotlib and I tried to create a gray scale image in a wxpython application. Looks good! Now I have to find a line in the image with mainly vertical orientation.

Re: [Matplotlib-users] Installation problem

2008-11-10 Thread Darren Dale
On Monday 10 November 2008 03:37:26 pm Frank Lagor wrote: Hi, I am sorry to bug you all with an installation problem, but I need some additional help to get this figured out. I previously had a matplotlib installed and working fine, but it was necessary for me to redo some other

Re: [Matplotlib-users] Python 2.6

2008-11-08 Thread Darren Dale
On Thursday 06 November 2008 03:58:08 pm John Hunter wrote: On Thu, Nov 6, 2008 at 11:28 AM, KURT PETERS [EMAIL PROTECTED] wrote: I recently tried to install for python 2.6 and got an error that the dll is incompatible. Is there a version for 2.6? I didn't see one here: No, we haven't

Re: [Matplotlib-users] Python 2.6

2008-11-08 Thread Darren Dale
On Sat, Nov 8, 2008 at 7:55 AM, John Hunter [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 4:28 PM, Darren Dale [EMAIL PROTECTED] wrote: Stan West checked out my subprocess patch on windows with python-2.5, which should take care of a bunch of deprecation warnings. I need to double

Re: [Matplotlib-users] Citation for Numpy

2008-10-06 Thread Darren Dale
On Monday 29 September 2008 13:35:57 Buz Barstow wrote: Dear All, Does anyone know of a citation that I can use for Numpy? Thanks! and all the best, I found the following link that discusses a few options, but you may want to ask on the numpy-discussion mailing list if there is a more

Re: [Matplotlib-users] how to close (complitly destroy) pylab figure?

2008-09-22 Thread Darren Dale
On Monday 22 September 2008 07:55:57 am John Hunter wrote: On Mon, Sep 22, 2008 at 5:19 AM, dmitrey [EMAIL PROTECTED] wrote: John Hunter wrote: On Sun, Sep 21, 2008 at 3:28 PM, dmitrey [EMAIL PROTECTED] Could you be more precise about what you mean when you say it doesn't work? It works

Re: [Matplotlib-users] I'm wrecked

2008-08-21 Thread Darren Dale
On Thursday 21 August 2008 17:36:50 Eric Firing wrote: Jack Sankey wrote: pylab.gcf().clear(); pylab.show() # nothing happens With interactive mode off, in a script, show() should never be called more than once; it should be the last plot-related line of the script. I thought we supported

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
Hi Robin, Could you post a *simple* script that reproduces the problem? And in the meantime, to get a figure that looks better for your publication, can you save your figure as an svg, import it into inkscape, tweak the bad placement, and then save a pdf? Darren On Monday 18 August 2008

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-17 Thread Darren Dale
On Wednesday 16 July 2008 07:20:59 am Ian Harry wrote: [EMAIL PROTECTED] 07:14 AM matplotlib]$ diff texmanager.py /usr/lib64/python2.4/site-packages/matplotlib/texmanager.py 248c248 fh = file(outfile,'a') --- fh = file(outfile) 252,254c252 else:

Re: [Matplotlib-users] error with text object pro perties using matplotlib 0.98.1

2008-07-15 Thread Darren Dale
On Tuesday 15 July 2008 09:22:10 am David Kaplan wrote: Hi, I guess the problem was mostly mine. To my eyes, the Bitstream Vera Serif doesn't look very serif to me (figure attached), but I am probably just not used to that font. Changing font.serif as suggested produced much more similar

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-15 Thread Darren Dale
Hi Ian, On Tuesday 15 July 2008 10:13:02 am Ian Harry wrote: Thanks for helping with this problem. I have investigated further this issue and here is what I have found out: I have traced the errors themselves back to two functions in texmanager.py (matplotlib.texmanager), make_dvi and

Re: [Matplotlib-users] v0.98 comments

2008-07-11 Thread Darren Dale
Hi Neil, On Friday 11 July 2008 04:20:07 am Neil Pilgrim wrote: I'm not a regular 0.98 user right now (using debian stable 0.91 or similar in a python app) but was investigating the new documentation at http://matplotlib.sourceforge.net/doc/html/index.html and noticed a few things (typos?)

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Darren Dale
Hi Ian, On Thursday 10 July 2008 06:03:54 am Ian Harry wrote: Hi all, Myself and my colleagues use, and have used, matplotlib and it's Tex capabilities quite extensively to create plots to assist in the gravitational wave searches we perform. (and it has been a great tool for us :-) ).

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Darren Dale
On Thursday 10 July 2008 10:48:01 am you wrote: Hi Darren, I have tried rerunning our code with the change you suggested in the make_dvi and make_png functions. I am still noticing failures however. I put these at the bottom of this message. Strangely enough, these errors don't seem to occur

Re: [Matplotlib-users] error with text object properties using matplotlib 0.98.1

2008-07-10 Thread Darren Dale
Hi David, On Thursday 10 July 2008 11:15:37 am David M. Kaplan wrote: 2) I have noticed that the font used for the xticklabels and the font used for the xlabel and contour labels appears to be different (example attached). One appears to be serif and the other sans-serif. This seems to be

Re: [Matplotlib-users] Questions about 3D plotting

2008-07-09 Thread Darren Dale
On Wednesday 09 July 2008 10:35:55 am anirudh vij wrote: Hi, First off, I'd like to congratulate the devs who wrote the 3D plotting module. Its great and fits a lot of my plotting needs without resorting to vtk, mayavi etc. But I've had some issues with 3D plots I'm sorry to disappoint,

Re: [Matplotlib-users] Questions about 3D plotting

2008-07-09 Thread Darren Dale
On Wednesday 09 July 2008 11:59:50 am anirudh vij wrote: On Wed, Jul 9, 2008 at 4:54 PM, Darren Dale [EMAIL PROTECTED] wrote: On Wednesday 09 July 2008 10:35:55 am anirudh vij wrote: Hi, First off, I'd like to congratulate the devs who wrote the 3D plotting module. Its great and fits

Re: [Matplotlib-users] Questions about 3D plotting

2008-07-09 Thread Darren Dale
On Wednesday 09 July 2008 12:40:29 pm anirudh vij wrote: We have been warning that 3D plotting was unsupported and needed someone to volunteer to maintain it for quite a while now. Nobody answered the call, and 3d capabilities did not survive the transition to the new transforms in

Re: [Matplotlib-users] Python Distribution with matplotlib

2008-07-08 Thread Darren Dale
On Thursday 03 July 2008 02:28:47 pm Michael Droettboom wrote: Friedrich Hagedorn wrote: Hello, today I tried to install mpl in my local home directory at work. This debian distribution is very old and I had to compile for my own. But I failed to compile pygtk (special cairo and

Re: [Matplotlib-users] help error

2008-07-02 Thread Darren Dale
Hi Gideon, On Wednesday 02 July 2008 11:34:46 am Gideon Simpson wrote: So no one else has seen this bug? I'm on an OS X 10.5.4 machine with fink python 2.5.2 and associated backend packages. i'm using my own builds of numpy/scipy and matplotlib. -gideon (Please don't top post, it makes it

Re: [Matplotlib-users] Axis Limits and Dash Text Misbehaviours

2008-07-01 Thread Darren Dale
On Monday 30 June 2008 09:01:48 John Hunter wrote: On Mon, Jun 30, 2008 at 3:32 AM, Andrea Gavana [EMAIL PROTECTED] wrote: It seems like Michael changes were reverted back to the previous behaviour. I have scanned the matplotlib-devel archives and found the reason. Even if the message says

Re: [Matplotlib-users] saving an animation using GTKAgg backend

2008-07-01 Thread Darren Dale
On Tuesday 01 July 2008 04:26:38 sa6113 wrote: May I use GTKAgg backend in order to save an animation. how? please help me. Install mencoder and follow the FAQ I pointed out yesterday. - Check out the new SourceForge.net

Re: [Matplotlib-users] help error

2008-07-01 Thread Darren Dale
In lib/matplotlib/__init__.py, set NEWCONFIG=False and reinstall. On Tuesday 01 July 2008 00:02:51 Gideon Simpson wrote: Just tried the 0.98.2, and am still getting: help modules Please wait a moment while I gather a list of all available modules... Traceback (most recent call last):

Re: [Matplotlib-users] how to save animation

2008-06-30 Thread Darren Dale
On Monday 30 June 2008 04:18:14 sa6113 wrote: I want to save an animation in avi format by python code, would you please help me to start in this way? At the FAQ page, http://matplotlib.sourceforge.net/faq.html , there is a section titled How do I make a movie with matplotlib?

Re: [Matplotlib-users] plot xy data with missing values

2008-06-28 Thread Darren Dale
Hi Sandric, On Saturday 28 June 2008 04:31:19 sandric ionut wrote: Hello: I want to draw a multiple line plot using the data from the bottom of the email, but I get a error message: type 'exceptions.AssertionError': Dimensions of x and y are incompatible, which is normal, because the number

Re: [Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-25 Thread Darren Dale
On Monday 23 June 2008 08:53:56 pm Adam Mercer wrote: Hi Anyone know how to fix this problem? Cheers Adam On Thu, Jun 19, 2008 at 8:31 PM, Adam Mercer [EMAIL PROTECTED] wrote: Hi I have a plot that has two different y-axis scales and I want appropriate tick marks for the different

  1   2   3   >