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 my

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 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. > Typically, anything

Re: [Matplotlib-users] Segmentation fault in Pyqt

2012-03-12 Thread Darren Dale
On Mon, Mar 12, 2012 at 4:30 PM, Sourabh Bajaj 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 = QtGui.QFileDialog.getSaveFileName(self, 'Save

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] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread Darren Dale
On Fri, Sep 16, 2011 at 9:44 AM, Keith Hughitt 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 -- BlackBerry® DevCon A

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 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 location included in distutil

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 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 running > already.  Howev

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 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. Python acce

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 yo

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 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 support

Re: [Matplotlib-users] mpl newbie question...

2011-05-30 Thread Darren Dale
Hi Corbin, On Mon, May 30, 2011 at 10:09 AM, Corbin Fletcher wrote: > I am a college student and I want to be able to use matplotlib to plot > publishing quality graphs > and embed them into my pdf documents (all composed with latex) for > college. This would give my documents a more professional

Re: [Matplotlib-users] latex just produces gibberish

2011-05-17 Thread Darren Dale
On Tue, May 17, 2011 at 2:05 PM, Neal Becker wrote: > I have an old fedora 11 system.  When I try to use latex math (e.g., $\mu=2$), > it gives no error, but seems to produce gibberish (just ordinary ascii chars) > in > my pdf output. > > Any ideas how to debug? Try using raw strings. If that do

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 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 > font= Fo

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

2011-03-20 Thread Darren Dale
On Sun, Mar 20, 2011 at 8:52 PM, Xavier Gnata wrote: > On 03/20/2011 07:19 PM, Darren Dale wrote: >> >> On Sun, Mar 20, 2011 at 2:08 PM, Xavier Gnata >>  wrote: >>> >>> Hi, >>> >>> It looks like the >>> http://matplotlib.svn.sou

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

2011-03-20 Thread Darren Dale
On Sun, Mar 20, 2011 at 2:08 PM, Xavier Gnata 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 already provi

Re: [Matplotlib-users] Qt4 on OSX

2011-03-17 Thread Darren Dale
On Wed, Mar 16, 2011 at 1:59 PM, Daniel Welling 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 just don't plain w

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 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 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 with LaTeX font rendering).

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 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 recent

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 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 using your package ma

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 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, > Jeff > > Code bel

Re: [Matplotlib-users] STOP!

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

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

2011-02-01 Thread Darren Dale
On Tue, Feb 1, 2011 at 12:29 PM, Jason Grout 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 above the \sigma,

Re: [Matplotlib-users] Python 3

2011-01-03 Thread Darren Dale
On Mon, Jan 3, 2011 at 9:45 AM, Ryan May wrote: > On Sun, Jan 2, 2011 at 12:24 PM, Xavier Gnata wrote: >> which backend should we use? >> It does not work with pyqt4 >> >> Traceback (most recent call last): >>   File "", line 1, in >>   File "/usr/local/lib/python3.1/dist-packages/pylab.py", lin

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 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 (which > is working w

Re: [Matplotlib-users] WebP support

2010-10-02 Thread Darren Dale
On Sat, Oct 2, 2010 at 11:58 AM, Benjamin Root wrote: > On Sat, Oct 2, 2010 at 7:28 AM, Jouni K. Seppänen wrote: >> >> "Nils Wagner" writes: >> >> > just curious - is the WebP format supported by matplotlib >> >> No. It seems to be a method for lossy compression of photographs and >> therefore n

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 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']}) > matplotlib.rc('text', u

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 wrote: > On Thu, Jun 17, 2010 at 11:04 PM, David Smith > 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

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 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 needs to go into the

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 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 > ra_list,b = data

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 wrote: > > > On Mon, May 3, 2010 at 4:02 PM, Darren Dale wrote: >> >> I got a suggestion at the PyQt4 mailing list, and the following patch >> appears to resolve the problem. >> >> Darren >> > >

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 wrote: > > > On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale wrote: >> >> On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever >> wrote: >> > Hello, >> > >> > Could someone confirm me if there is

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 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 numpy 2.

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 wrote: > On Mon, Apr 19, 2010 at 1:31 PM, Mauro Cavalcanti 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 dependencies as the installation log

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 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 from svn fine, a

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 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 some re

Re: [Matplotlib-users] FW: matplotlib

2010-04-07 Thread Darren Dale
On Wed, Apr 7, 2010 at 4:09 AM, Padma TAN 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 4.1.2-44)] on

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 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 install of Ubun

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 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 either use raw st

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread Darren Dale
On Tue, Feb 16, 2010 at 9:53 PM, John Hunter wrote: > On Tue, Feb 16, 2010 at 3:57 PM, Ernest Adrogué 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 trick! >>> >>> Thanks aga

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-03 Thread Darren Dale
On Sun, Jan 3, 2010 at 5:26 PM, Alexander Hupfer 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, don't. These mo

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 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 not to add blitti

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 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 function of the

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

2009-12-07 Thread Darren Dale
On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar 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 GNU/Linux > > 2/ Us

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 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 attached i

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 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 resulting figure looks

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 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 project I was able t

Re: [Matplotlib-users] font rendering quality

2009-12-01 Thread Darren Dale
On Tue, Dec 1, 2009 at 6:37 AM, Ernest Adrogué 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 post an exa

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 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 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 work: > > import matplot

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Darren Dale
On Wed, Sep 30, 2009 at 7:52 AM, Marco Cabizza 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 >>

Re: [Matplotlib-users] TeX and lucidabr

2009-09-30 Thread Darren Dale
On Tue, Sep 29, 2009 at 3:28 PM, Marco Cabizza 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 > doesn't look

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 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 f

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, wrote: > Hi Darren, > > Thanks for your answer. > ... I've updated to matplotlib 0.99 since the last email... and the bug > disappeared :) > M

Re: [Matplotlib-users] what's a "patch" for?

2009-08-22 Thread Darren Dale
On Sat, Aug 22, 2009 at 11:07 AM, marc desmarais wrote: > what's a "patch" for? > > At this address: > > http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.patches.Patch > > I found the following description of a "patch" > > "A patch is a 2D thingy with a face color and an edge color.

Re: [Matplotlib-users] Python 2.6

2009-08-19 Thread Darren Dale
On Thu, Aug 13, 2009 at 1:21 PM, William Miner 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 Reports handle the r

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

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 12:22 PM, 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 -*- import numpy as np import pylab as

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, wrote: > how i use raw settings ? > >> On Wed, Aug 12, 2009 at 10:4

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

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 10:42 AM, Timo Spielmann 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 i dont know why... > > hope some

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 7:32 AM, Sebastian Busch wrote: > Darren Dale wrote: >> On Wed, Aug 12, 2009 at 7:13 AM, D2Hitman wrote: >>> Is it a problem that it is using pdftex instead of pslatex? >> Yes. > > i don't think so. > > > the example > > fr

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Darren Dale
On Wed, Aug 12, 2009 at 7:13 AM, D2Hitman 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 file: > Here is

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 Hetzenecker 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 really

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 Hetzenecker 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 the Tab

Re: [Matplotlib-users] regarding networkx, matplotlib and pyqt

2009-07-20 Thread Darren Dale
://img259.imageshack.us/img259/8722/picture1ahr.jpg > Code: > > #!/usr/bin/env python > > # embedding_in_qt4.py --- Simple Qt4 application embedding matplotlib > canvases > > # > > # Copyright (C) 2005 Florent Rougon > > #              2006 Darren Dale > &g

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

2009-07-20 Thread Darren Dale
Hi Alexander, 2009/7/20 Alexander Bruy : > Sorry, some troubles with my email service. With attachment now > > > 2009/17/07 Darren Dale wrote: >> >> Please post a short, complete, self-contained script demonstrating the >> problem. >> > > I create a

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

2009-07-17 Thread Darren Dale
2009/7/17 Alexander Bruy > 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, into thi

Re: [Matplotlib-users] Qt backend

2009-07-09 Thread Darren Dale
On Thu, Jul 9, 2009 at 10:05 AM, Mustafa Sakalsiz wrote: > 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 am using > gr

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

2009-07-08 Thread Darren Dale
On Wed, Jul 8, 2009 at 3:10 AM, Ole Streicher wrote: > Hi again, > > Ole Streicher writes: > > could anyone reproduce this problem and/or has a solution for it? Is > > there anything wrong with my code? > > after some discussion on the PyQt mailing list, I found the cause of the > problem: > > In

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

2009-07-02 Thread Darren Dale
On Thu, Jul 2, 2009 at 9:46 AM, Ole Streicher wrote: > Hello Darren, > > Darren Dale writes: > > I can't produce a segfault with the attached script. I have Qt-4.5.2, > > PyQt-4.5.1, and a checkout of the matplotlib trunk. > > OK, in this context it seems to

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 wrote: > Hi Brian, > > I have also some layout problems with the Qt4 backend. The worst one is > a SegFault when adjusting the width. > > Brian Zambrano writes: > > vbox = QVBoxLayout() > > vbox.addWidget(self.canvas) > > self.setLayout(vbox) > > Coul

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 wrote: > 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 that plots each > point

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

2009-05-28 Thread Darren Dale
On Thu, May 28, 2009 at 6:01 PM, Sandro Tosi wrote: > Hi Darren, > > On Thu, May 28, 2009 at 19:16, Darren Dale wrote: > > Try the attached script. > > Oh it works very great! thanks you very much! > > One thing I've done is also remove > > import matplotli

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

2009-05-28 Thread Darren Dale
Hi Sandro, On Wed, May 27, 2009 at 7:14 PM, Sandro Tosi wrote: > Hi Darren, > thanks for replying > > On Wed, May 27, 2009 at 21:01, Darren Dale wrote: > > On Wed, May 27, 2009 at 9:11 AM, Sandro Tosi wrote: > >> > >> Hi all, > >> I'd

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 wrote: > 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 demonstrates the problem. D

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 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 use some

Re: [Matplotlib-users] histogram

2009-03-30 Thread Darren Dale
On Mon, Mar 30, 2009 at 11:25 AM, Bala subramanian < bala.biophys...@gmail.com> wrote: > Friends, > > I tried to plot a histogram and pdf of my data (data file attached 1.dat). > When i see the figure (attached file test.png) , i see y axis more than 1 > (although it should not when i use normed=1

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. Howeve

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

2009-02-02 Thread Darren Dale
On Mon, Feb 2, 2009 at 2:17 PM, Durand 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 > the main probl

Re: [Matplotlib-users] Figure with pyQt

2009-01-15 Thread Darren Dale
On Thu, Jan 15, 2009 at 11:56 AM, wrote: > Hello, > I would like to see the following example > http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo.ht > mlusing > the 2nd one > http://matplotlib.sourc

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 wrote: > On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA wrote: > > Hello, > > I have a problem saving png files created from data with missing values. > > The matlab and pylab outputs are very di

Re: [Matplotlib-users] multiline LaTeX code

2009-01-13 Thread Darren Dale
On Tue, Jan 13, 2009 at 6:53 AM, Ken Schutte 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 LaTex code on a sin

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 wrote: > 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 embedded > app). > >

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 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 came out > vi

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 orientati

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 insta

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 bunc

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 hav

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 u

Re: [Matplotlib-users] formatting figures for publciation

2008-09-27 Thread Darren Dale
On Friday 26 September 2008 18:49:25 Gideon Simpson wrote: > Is there anything akin to this MATLAB script: > > http://www.mathworks.com/company/newsletters/digest/june00/export/ > > available for mpl? or some simple set of commands that will > accomplish the same task? matplotlib produces publica

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 > >> w

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 suppor

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 10:45:39 am Darren Dale wrote: > On Monday 18 August 2008 09:48:58 am you wrote: > > Hi, > > > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > > Could you post a *simple* script that reproduces the problem?

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 09:48:58 am you wrote: > Hi, > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > Could you post a *simple* script that reproduces the problem? And in the > > meantime, to get a figure that looks better for your publica

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 08:4

Re: [Matplotlib-users] How to save figures in black and white

2008-08-02 Thread Darren Dale
On Saturday 02 August 2008 4:56:06 am David Cournapeau wrote: > Hi, > > I am using matplotlib for all my figure needs in academic papers, > but I would like to convert some of my figures (generally exported ni > eps and pdf) in black and white. I tried using colormaps, but when using > several

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

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] 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 si

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

  1   2   3   4   >