[Matplotlib-users] Double Zoom in WXAgg backend

2009-07-09 Thread Jervis Whitley
Hi, Could anyone help me with the following problem I am having. http://dpaste.com/64913/ The code listed above should be enough to reproduce the problem. I on using the zoom function from the toolbar, I find that the figure limits are set to a smaller size than the zoom i selected - a kind of

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread guillaume ranquet
Hi again. I found out that removing the resize handler of the wxpanel gives me a nice animated plot that works as expected (but with no resize :-/) def _SetSize(self): pixels = tuple(self.parent.GetClientSize()) self.SetSize(pixels) self.canvas.SetSize(pixels)

Re: [Matplotlib-users] get_position vs set_position

2009-07-09 Thread Matthias Michler
Hi Robin, On Wednesday 08 July 2009 18:48:04 Robin wrote: On Wed, Jul 8, 2009 at 4:00 PM, Matthias Michlermatthiasmich...@gmx.net wrote: What version of matplotlib do you use? I think I am up to date. For me the following works: ax.set_position(ax.get_position()) That works for me

[Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
Hi, Just to let folks know the current SVN version fails to build on a mac. I built the release (0.98.5.3) successfully from source so I think my environment, dependencies etc. should be OK. The problem seems to be building mac os x native backend: building 'matplotlib.backends._macosx'

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 11:11 AM, Robinrobi...@gmail.com wrote: How can I disable building the mac os x backend. I copied setup.cfg.example to setup.cfg and have macosx = False but it doesn't seem to have any effect. python setup.py config still reports  Mac OS X native: yes. I disabled macosx

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 12:15 PM, Robinrobi...@gmail.com wrote: On Thu, Jul 9, 2009 at 12:06 PM, Michiel de Hoonmjldeh...@yahoo.com wrote: One thing that changed between 0.98.5.3 and the current SVN version is that we're now using matplotlib's path cleanup code, which is in C++. Maybe the

Re: [Matplotlib-users] zoomed in detail box

2009-07-09 Thread Robin
On Wed, Jul 8, 2009 at 10:57 PM, Jae-Joon Leelee.j.j...@gmail.com wrote: If you use the svn version of matplotlib, you may use axes_grid toolkit. http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#insetlocator Wow - this is really amazing. Sometimes it can be a bit

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Michiel de Hoon
setupext.py was indeed not reading the macosx build information from setup.cfg. I've put a patch here: http://sourceforge.net/tracker/?func=detailatid=560722aid=2818964group_id=80706 (patch number 2818964). The error you're seeing is described in this technical note from Apple:

Re: [Matplotlib-users] histograms : xmax

2009-07-09 Thread Sebastian Busch
hey there! Pau wrote: ... 0.00e+00 1.00e-04 81039 1.00e-04 2.00e-04 4472 2.00e-04 3.00e-04 2033 ... The bins are given by the two first number columns. For instance, the first bin is from 0.00e+00 to 1.00e-04 and has the number of data 81039 hey pau! i do not understand hist

[Matplotlib-users] SourceForge issues was: Re: current svn fails to build on mac

2009-07-09 Thread Michael Droettboom
Robin wrote: PS - some minor comments about the sourceforge download page (I dont know if these can be changed): On the summary page ( http://sourceforge.net/projects/matplotlib/ ) the download now link which I would think should point to the latest release point to 0.91. Then when you do

Re: [Matplotlib-users] Visuals for linux file systems

2009-07-09 Thread vehemental
I believe most of the plots have been made using this: http://people.csail.mit.edu/rasmus/summon/index.shtml#download I'm currently playing around with 2D OpenGL visualization of large datasets and stumbled upon this... which reminded me of this post... may be of use to someone j. Gökhan

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread C M
On Thu, Jul 9, 2009 at 3:40 AM, guillaume ranquet granq...@wyplay.comwrote: Hi again. I found out that removing the resize handler of the wxpanel gives me a nice animated plot that works as expected (but with no resize :-/) def _SetSize(self): pixels = tuple(self.parent.GetClientSize())

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

[Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread W.P. McNeill
I am trying to install matplot on an OS X (10.5.7) Intel MacBook. I cannot build the matplot lib extensions. I get the following error: g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o

[Matplotlib-users] Remove box around legend?

2009-07-09 Thread Joseph Smidt
I see lots of examples on how to play around with the legend, adding columns, shadow, etc...Is there a way to remove the box so that all you see are the items of things being plotted with no box around them? Also, keeping the box but removing the black outline around the box is good enough

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread guillaume ranquet
I tried on 2 computers, both with gentoo. one 64bit with mpl 0.98.5.3 and wxwidget 2.8.10.1 another with mpl svn rev 7249 and wxwidget 2.8.10 and it 'twinkle', the lines are not drawn each frame. I recorded a small video which I put on rapidshare (couldn't think of anything better for now) :

Re: [Matplotlib-users] Remove box around legend?

2009-07-09 Thread Chaitanya Krishna
Hi, legend.draw_frame(False) should do the trick. Check out http://matplotlib.sourceforge.net/api/artist_api.html?highlight=draw_frame#matplotlib.legend.Legend.draw_frame Cheers, Chaitanya On Thu, Jul 9, 2009 at 11:18 PM, Joseph Smidtjosephsm...@gmail.com wrote: I see lots of examples on how

[Matplotlib-users] contribute to gallery? Or, just advice on changing colors automagically....

2009-07-09 Thread John [H2O]
Just curious if you're interested in folks contributing to the gallery. I was playing around trying to come up with a routine to automatically choose colors when plotting several datasets, not necessarily from a single array, but rather say iterating through a list of datasets. I came up with the

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 10:13 PM, W.P. McNeillbill...@gmail.com wrote: This is matplotlib-0.91.4.  I get the same error whether I install via the egg or download the zipped tar ball and run python setup.py build. That's quite an old version. Could you try with a more recent release? 0.98.5.3 is

Re: [Matplotlib-users] Remove box around legend?

2009-07-09 Thread Joseph Smidt
Thank you! That did it. I thought I read the webpage you sent 10 times, but didn't even notice. Thanks. On Thu, Jul 9, 2009 at 3:38 PM, Chaitanya Krishnaicym...@gmail.com wrote: Hi, legend.draw_frame(False) should do the trick. Check out

Re: [Matplotlib-users] SourceForge issues was: Re: current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 2:25 PM, Michael Droettboommd...@stsci.edu wrote: This appears to be a bug in the recent updates to the SourceForge interface: https://sourceforge.net/apps/trac/sourceforge/ticket/1748 I have set the default download file to 0.98.5, however, the setting doesn't seem

Re: [Matplotlib-users] Double Zoom in WXAgg backend

2009-07-09 Thread Jervis Whitley
Mike, Thanks for your help! Cheers, Jervis -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Michiel de Hoon
I should have specified I'm on OS X 10.5.7. Xcode 3.0. I'm using the same, but I'm not seeing this error. Can you verify that matplotlib 0.98.5.3 still compiles correctly? If it does, we can compare the linker flags used for 0.98.5.3 and the svn version to find the problem. --Michiel. ---

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread W.P. McNeill
That worked. I was able to install matplotlib-0.98.5.3-py2.5-macosx10.5.ziphttp://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.98.5.3-py2.5-macosx10.5.zip/download . Thanks. On Thu, Jul 9, 2009 at 3:51 PM, Robin robi...@gmail.com wrote: On Thu, Jul 9, 2009 at 10:13 PM,

Re: [Matplotlib-users] {axesgrid} - How to change fontsize on multiple labels?

2009-07-09 Thread Jae-Joon Lee
On Thu, Jul 9, 2009 at 12:40 AM, Gökhan SEVERgokhanse...@gmail.com wrote: I have one tiny question left working on these figures; that is: how to make mathtext font and a regular label font at the same size? For instance: host.set_ylabel(rDMT CCN Concentration [ #/$cm^3$]) but as it is

Re: [Matplotlib-users] zoomed in detail box

2009-07-09 Thread Jae-Joon Lee
On Thu, Jul 9, 2009 at 7:24 AM, Robinrobi...@gmail.com wrote: On Wed, Jul 8, 2009 at 10:57 PM, Jae-Joon Leelee.j.j...@gmail.com wrote: If you use the svn version of matplotlib, you  may use axes_grid toolkit.