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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Update to Matplotlib and Numpy producing error

2008-06-02 Thread Darren Dale
On Monday 02 June 2008 05:33:52 pm John Hunter wrote: > On Mon, Jun 2, 2008 at 4:32 PM, Charlie Moad <[EMAIL PROTECTED]> wrote: > > I am pretty sure setupext.py used to have these defaults coded in, but > > something must have changed. I haven't had to check default backends > > in a long time. I

Re: [Matplotlib-users] matplotlib numpy version confusion with ipython -pylab

2008-06-06 Thread Darren Dale
Hi Andrew, It looks like you have an old version of numpy somewhere on your python path. You need to delete all the old numpy installs/eggs from site-packages, and anywhere else on your PYTHONPATH. On Friday 06 June 2008 3:48:05 am Andrew Charles wrote: > I recently removed my existing numpy a

Re: [Matplotlib-users] pstricks backend?

2008-06-09 Thread Darren Dale
Hi T J, On Monday 09 June 2008 04:06:32 pm T J wrote: > Hi, > > I use pstricks frequently, and it has provided an alpha channel > (provided we eventually use ps2pdf). With matplotlib, when I save to > eps, I lose all transparency (understandable), but I wonder if it is > possible to export the pi

Re: [Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Darren Dale
Hi Adam, On Thursday 19 June 2008 8:01:32 pm Adam Mercer wrote: > I'm trying to produce a single plot containing two different datasets > that share the same x-axis but different y-axes, i.e. I would like one > y-axis to be on the left of the plot and the other on the right hand > side. I've looke

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Darren Dale
Hi Bill, On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: > Matplot folks, > Is there a way to increase all font sizes globally across the board? > I played around with some RC parameters but they don't seem to have > any effect. Here's a note from the default matplotlibrc: # note that fon

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Darren Dale
On Thursday 19 June 2008 9:13:15 pm Bill Baxter wrote: > On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > > Hi Bill, > > > > On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: > >> Matplot folks, > >> Is there a way to incr

Re: [Matplotlib-users] colorbar()

2008-06-21 Thread Darren Dale
On Friday 20 June 2008 5:40:04 pm Bryan Fodness wrote: > Is there a way to get the colorbar to work with an axes instance. > > ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w') > ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r') > ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r

Re: [Matplotlib-users] Font weight on axes/labels

2008-06-23 Thread Darren Dale
On Sunday 22 June 2008 21:49:03 Erik Tollerud wrote: > I'm trying to adjust the font weight on some of my plots - I'd like to > have the numbers along the axis ticks be bold instead of regular font > like the default setting. The problem is, nothing I do seems to > change the font weight. I've ch

Re: [Matplotlib-users] Font weight on axes/labels

2008-06-23 Thread Darren Dale
On Monday 23 June 2008 13:25:19 John Hunter wrote: > On Mon, Jun 23, 2008 at 11:58 AM, Erik Tollerud <[EMAIL PROTECTED]> wrote: > > Hmm... ok, so it is possible to pass some of the text in a plot > > through TeX, but not all of the text? That's what the text.markup rc > > parameter seems to be ab

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

2008-06-23 Thread Darren Dale
Wasn't this answered by the two_scales.py example? On Monday 23 June 2008 20:53:56 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

Re: [Matplotlib-users] "ValueError: oridinal must be >= 1" with 0.98.1 - non with 0.98.0

2008-06-24 Thread Darren Dale
On Monday 23 June 2008 23:37:09 Adam Mercer wrote: > Hi > > Just upgraded to matplotlib-0.98.1, and a code that worked with 0.98.0 > is now failing with the following error: Please, include a brief standalone script that demonstrates the problem when reporting problems. > Traceback (most recent

Re: [Matplotlib-users] Problem using set_data

2008-06-25 Thread Darren Dale
Hi Alun, On Wednesday 25 June 2008 07:09:52 am eShopping wrote: > Hi > > the following code snippet is from a simple wxpython/matplotlib app > > # Data object class > > class PlotData(object): > > # Constructor (dummy arrays) > > def __init__(self): > self.np = 100 > >

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

Re: [Matplotlib-users] Arabic Character Support

2008-06-25 Thread Darren Dale
Hi Mathieu, Are there perhaps some latex packages you could load using the text.latex.preamble rc setting? This setting is officially unsupported, but it would be much easier than adding an option to use the xetex executable (which would probably not be officially supported by mpl). Darren On

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: : > Dimensions of x and y are incompatible, which is normal, because the number > of values on x are not equal

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

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

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 cai

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 disappoi

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

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

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 b

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

  1   2   3   4   >