[Matplotlib-users] [Ann] Early-bird registration extended for EuroSciPy 2015

2015-07-01 Thread Tom Pohl
Head over to https://www.euroscipy.org/2015/ for more information. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs a

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Tom Young
Thank you for your quick answer. I understand the performance issue you mentioned. For now it is only a proof of concept. I just figured out how to do it in theory by using figure.subplot.left|right|bottom|top plus a few other settings. I'll certainly look at the webagg backend. Are there any exa

[Matplotlib-users] Composing image from hex tiles using RegularPolyCollection

2014-04-25 Thread Tom Grydeland
The observant reader will also notice the strange rotation keyword given to RegularPolyCollection. This keyword is ignored in the macosx backend, and I have been unable to find out why. Thank you for all tips and pointers --Tom Gryd

Re: [Matplotlib-users] who (F/OSS science) uses matplotlib?

2012-06-05 Thread Tom Dimiduk
On 06/05/2012 10:14 AM, Kevin Hunter wrote: > At 10:47pm -0400 Sun, 03 Jun 2012, Tom Dimiduk wrote: >> Very few people outside my group use it at the moment, but that looks >> to be changing at least a bit. I will hopefully get a paper out about >> the code by the end of the

[Matplotlib-users] Dark or inverted color scheme

2012-05-25 Thread Tom Aldcroft
x27;, etc so that I can make a plot figure with a black background using the same script as one for the normal white background. A spent a little while googling and didn't find anything apart from specifically setting different colors for every single plot element. This would be tiresome.

[Matplotlib-users] set gca()

2011-11-27 Thread Tom Bennett
() returns the last subplot which is not what I want. The question is if there is any way to tell gca() which Axes is the current Axes. Thanks, Tom -- All the data continuously generated in your IT infrastructure contains a

Re: [Matplotlib-users] Best way to cycle through numpy images using scroll?

2011-08-17 Thread Tom Dimiduk
Ben's changes. Thanks a bunch! Tom On 08/17/2011 03:30 PM, Benjamin Root wrote: > Two issues with your code that should significantly speed things up. > > First, by calling imshow() each time for the draw, there is significant > overhead caused by this. Instead -- (and this

Re: [Matplotlib-users] Best way to cycle through numpy images using scroll?

2011-08-17 Thread Tom Dimiduk
Here is how am solving this problem. It isn't terribly fast either, but it works for me. I wrote something with pygame that was faster, but it had its own set of problems. Tom --- import numpy as np import pylab class plotter: def __init__(self, im, i=0): self.im

[Matplotlib-users] Qt4 Backend Gui Keycode patch

2011-04-11 Thread Tom Dimiduk
uld I go about doing that? Tom --- backend_qt4.py 2011-04-11 11:37:21.200228001 -0400 +++ /home/tdimiduk/download/matplotlib/lib/matplotlib/backends/backend_qt4.py 2011-04-11 11:44:46.77000 -0400 @@ -126,11 +126,7 @@ keyvald = { QtCore.Qt.Key_Control : &#x

Re: [Matplotlib-users] Imshow x and y transposed?

2011-03-15 Thread Tom Dimiduk
use im[im.shape[1]-y, x] to get the pixel a user clicked on. Is that correct? Thanks agaian, Tom On 03/15/2011 05:35 PM, Eric Firing wrote: > On 03/15/2011 10:23 AM, Tom Dimiduk wrote: >> It appears to me that when imshow tells you that the mouse cursor is at >> x=50, y=100 >>

[Matplotlib-users] Imshow x and y transposed?

2011-03-15 Thread Tom Dimiduk
It appears to me that when imshow tells you that the mouse cursor is at x=50, y=100 That corresponds to array element im[100, 50] Is there a reason imshow does not have x be the first coordinate of the array as I would think of as conventional usage? Tom

Re: [Matplotlib-users] Any update on streamline plot

2011-02-16 Thread Tom Flannaghan
ion for each streamline because I didn't see how to set different properties (colour and width) for different portions of the line in the compound path. LineCollection performs well enough for this plot so I'm happy with this solution. Tom -

Re: [Matplotlib-users] memory usage with repeated imshow

2011-02-14 Thread Tom Dimiduk
...). Tom On 02/09/2011 07:30 PM, Robert Abiad wrote: > Tom, > > I just went through this, though with version 1.01 of mpl, so it may be > different. You can read the > very long thread at: > > http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg20031.html >

Re: [Matplotlib-users] Any update on streamline plot

2011-02-13 Thread Tom Flannaghan
s2.png) I use a plot command for each line segment which is very slow and nasty. Is there a better way I'm missing? Tom -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory

[Matplotlib-users] memory usage with repeated imshow

2011-02-09 Thread Tom Dimiduk
behaviour is with a = ones((,)) imshow(a) optionally close() and then imshow(a) again. I am using ipython .10.1 and matplotlib 0.99.3. Is there something I should be doing differently to avoid this problem? Is it fixed in a later version? Thanks, Tom

Re: [Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Tom van der Hoeven
Dear Sebastian, Your solution is simple, well described and it works with minimal effort Thank you so much! I hope the Matplotlib devellopers will take some action. Tom Op 6-2-2011 13:16, Sebastian Voigt schreef: > Hello Tom, > > I encountered the same problem recently. The toolbar ic

[Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Tom van der Hoeven
imize' : 2, 'bundle_files' : 2, 'includes' : INCLUDES, 'excludes' : EXCLUDES, 'dll_excludes' :

Re: [Matplotlib-users] caveats found installing matplotlib from svn source on python 2.7 in mac os x Leopard

2011-01-02 Thread Tom K.
lf, 'ind_offset'): Is modifying lines.py the only way to fix this, or should I do something else in the fourier demo? Best regards, Happy New Year to all, etc, - Tom K. -- View this message in context: http://old.nabble.com/caveats-found-installing-matplotlib-from-svn-source-on-pyt

Re: [Matplotlib-users] Permission error after installing MPL 1.0 on Mac

2010-09-15 Thread tom
Jeremy Conlin writes: > > I recently installed MPL on two Macs, one running 10.6 and another > running 10.5. When I try to plot, I get the following error: > > TclError: couldn't open > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ site-packages/matplotlib/mpl-data/images/h

[Matplotlib-users] [ANN] grima -- pygtk+ widget that embeds matplotlib

2010-09-07 Thread Tom Vaughan
Google Group that covers Grima as well as some other bits of free software also released today. A list of these are up at http://github.com/cdsi. Thank you, -Tom PS - A special thanks to the matplotlib community, and to http://unpythonic.blogspot.com/2007/08/using-threads-in-pygtk.html for all of the

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Tom Arens
uot;normal" user? Is this a bug and will be fixed in a newer version of matplotlib or what do I have to do to get "less levels"? Thank you for your help. Tom Am 01.08.2010 20:12 schrieb Eric Firing: > On 08/01/2010 07:35 AM, Benjamin Root wrote: >> On Sun, Aug 1, 2010 a

[Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Tom Arens
igure() ax = axes3d.Axes3D(fig) X, Y, Z = axes3d.get_test_data(0.05) cset = ax.contourf(X, Y, Z, 0) # doesn't work with contour ax.clabel(cset, fontsize=9, inline=1) plt.show() Many greetings, Tom -- The Pa

[Matplotlib-users] Incomplete rendering of line plot

2010-04-23 Thread Tom Aldcroft
6. This same problem was also evident using GtkAgg and MacOSX backends so I don't think the details of my build are relevant (but I can supply if needed). Thanks, Tom import numpy import matplotlib.pyplot as plt y = numpy.array([ 4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4., 7., 7.,

Re: [Matplotlib-users] matplotlib slow compared to gnuplot?

2009-11-11 Thread Tom Leys
It looks like you are storing your source data in a python list. Matplotlib runs much faster if you store your data using a numpy array instead. I'm no expert, but it certianly sped up my graph drawing. -Tom Message: 5 Date: Wed, 11 Nov 2009 08:53:58 -0600 From: Mike Anderson Su

[Matplotlib-users] How to make little sparklines

2009-11-09 Thread Tom Leys
color_list[column % len(color_list)][1] axes.fill_between(np_table[0], base, np_table[column + 1], facecolor = color) return fig I pass fig in so it is easy to pass a figure from the ipython console, since ipython makes special figures that are interactive. -Tom PS: Dan - I replied to your e

[Matplotlib-users] How to make little sparklines

2009-11-07 Thread Tom Leys
ist[column % len(color_list)][1] axes.fill_between(np_table[0], base, np_table[column + 1], facecolor = color) return fig I pass fig in so it is easy to pass a figure from the ipython console, since ipython makes special figures that are interactive. -Tom PS: Dan - I replied to your em

[Matplotlib-users] Gridspy dashboard - Web based Matplotlib

2009-11-05 Thread Tom Leys
inally you can follow my progress as I take this product to market on twitter: http://www.twitter.com/gridspy/ It has been a fantastic system to work with, and it was easy to generate beautiful and meaningful graphs. Thanks to everyone who has made this possible! What is everyone else working

Re: [Matplotlib-users] dynamically add subplots to figure

2009-08-12 Thread Tom Vaughan
Great. That worked. Thanks! -Tom On Thu, Jul 16, 2009 at 11:23, Jae-Joon Lee wrote: > One work around is to call > >  self.figure.subplots_adjust() > > after geometry changed. After this call, the twinx-ed axes will have > the same axes position as the original one. > >

Re: [Matplotlib-users] pylab

2009-08-11 Thread Tom K.
Sebastian Haase-3 wrote: > > Thanks for the info -- very informative -- maybe this post could be > somehow added or linked to from http://www.scipy.org/PyLab > > -- Sebastian Haase > Sebastian - I've done as you suggest... I added a link to this post on nabble - do you think there is a better

Re: [Matplotlib-users] dynamically add subplots to figure

2009-07-16 Thread Tom Vaughan
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote: > On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote: >> Is it possible to add subplots to a figure if I don't know in advance >> how many subplots I need to add? >> >> What I do now is I call add_subplot like add_

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Tom Vaughan
On Tue, Jun 2, 2009 at 11:59, John Hunter wrote: > On Tue, Jun 2, 2009 at 1:51 PM, Tom Vaughan wrote: >> On Tue, Jun 2, 2009 at 07:33, John Hunter wrote: >>> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote: >>>> Is it possible to add subplots to a figure if I

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Tom Vaughan
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote: > On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote: >> Is it possible to add subplots to a figure if I don't know in advance >> how many subplots I need to add? >> >> What I do now is I call add_subplot like add_

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Tom Vaughan
On Tue, Jun 2, 2009 at 08:40, John Hunter wrote: > On Tue, Jun 2, 2009 at 10:18 AM, Tom Vaughan wrote: > >> Interestingly, if I were to 'print dir(self.figure.axes[i])' I can see >> the change_geometry attribute, but when I attempt to call it, I am >> told &qu

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Tom Vaughan
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote: > On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote: >> Is it possible to add subplots to a figure if I don't know in advance >> how many subplots I need to add? >> >> What I do now is I call add_subplot like add_

[Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Tom Vaughan
igure, the second plot is placed on top of the bottom half of the first plot, etc. Is there a way to "resize" the plots when a subplot is added? Or how would I "re-plot" the previous subplots? Thanks. -Tom -

Re: [Matplotlib-users] Help with simply plotting 2d array, please

2009-02-25 Thread Tom K.
LKeene wrote: > > > - I have a numpy.ndarray of data with 350 rows and 500 columns. How do > I display it in the upper-left hand corner of the frame client with no > tick marks/labels, etc...just the colormap at screen > coords(0,0)->(349,499) (rows,columns)? Could someone post a few lines >

[Matplotlib-users] FourierDemo now on wxPyWiki

2009-01-16 Thread Tom Krauss
. RecipesMatplotlib) in the Recipes section? I added it in the RecipesOther but there are so many recipes there that it seems kind of buried. Best, Tom K. -- This SF.net email is sponsored by: SourcForge Community SourceForge

[Matplotlib-users] fourier demo

2009-01-11 Thread Tom K.
if you see anything that could be handled with a better pattern / class / etc, I am very open to such suggestions! Sincerely, Tom K. http://www.nabble.com/file/p21407452/sigdemo.py sigdemo.py -- View this message in context: http://www.nabble.com/fourier-demo-tp21407452p21407452.html Sent

Re: [Matplotlib-users] [IPython-user] 'pause' in order to cycle though a bunch of plots

2008-11-14 Thread Tom Denniston
I've had the same problem. You can write a pause function using the python input() function but it hangs the GIL and as a result your window becomes unresponsive. If anyone knows a GIL friendly way to pause i would also be very interested. On Fri, Nov 14, 2008 at 1:12 PM, Benjamin J. Racine <[E

[Matplotlib-users] Radar / Spider Chars

2008-06-03 Thread Tom Edwards
I can find to "radar" plots are the "radar" green colour in the examples file. Just wondering whether it was worth pursuing this technique or using a different method (if anyone knows of a python library that can do this I would appreciate

[Matplotlib-users] Radar / Spider Chars

2008-06-03 Thread Tom Edwards
es I can find to "radar" plots are the "radar" green colour in the examples file. Just wondering whether it was worth pursuing this technique or using a different method (if anyone knows of a python library that can do this I would appreciate

[Matplotlib-users] Forcing draw_if_interactive() to bring up new window...

2008-01-29 Thread Tom Johnson
I have functions which plot multiple items to an axis. Often, I have the function explicitly turn interactive mode off and then I turn it back on to what it was before my function was called. At the end of my function, I call draw_if_interactive(). Suppose the user had interactive mode on prior

[Matplotlib-users] matplotlib/__init__.py

2008-01-13 Thread Tom Johnson
I was looking at rc_params() and saw if not os.path.exists(fname): message = 'could not find rc file; returning defaults' ret = dict([ (key, tup[0]) for key, tup in defaultParams.items()]) warnings.warn(message) return ret Is this correct? It seems that it re

[Matplotlib-users] draw_if_interactive and ipython

2007-12-17 Thread Tom Johnson
Hi all, I wasn't sure if this should be sent to matplotlib or ipython. I'm got a number of questions, and any help would be greatly appreciated. The docstring for draw_if_interactive says: """This should be overriden in a windowing environment if drawing should be done in interactive python mode

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Tom Johnson
On Dec 14, 2007 11:28 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Mike: Postscript doesn't support alpha transparency. It might work > with PDF though. pstricks (tex) provides transparency... http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency http://tug.org/PSTricks/ma

[Matplotlib-users] Scatter Plot, Legend

2007-12-09 Thread Tom Johnson
I am plotting multiple scatter plots to the same axis. For each scatter plot, all points have the same shape and color. I would like the legend to display the shape and color of the data points in each collection (rather than displaying a rectangle for the color). The result should be similar to

[Matplotlib-users] Nested Subplots?

2007-12-04 Thread Tom Johnson
Is it possible to have nested subplots? I would like to have 2 rowswith the top row having two columns and the bottom row having one column. For the bottom plot, I'd like to be able to choose between the following: 1) The size of the bottom plot expands to fill the entire horizontal space.

Re: [Matplotlib-users] Adjust width between subplots

2007-11-27 Thread Tom Johnson
Doh! Sorry, I adjusted the wrong space. On Nov 27, 2007 11:56 AM, Tom Johnson <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote: > > Use the subplots_adjust paramters, eg > > > > fig.subplots_adjust(hspace=0) &

Re: [Matplotlib-users] Adjust width between subplots

2007-11-27 Thread Tom Johnson
On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote: > Use the subplots_adjust paramters, eg > > fig.subplots_adjust(hspace=0) > This wasn't working for me... from pylab import * f = gcf() f.subplots_adjust(hspace=0) f.add_subplot(121) f.add_subplot(122) show() Adjusting the space af

[Matplotlib-users] Adjust width between subplots

2007-11-27 Thread Tom Johnson
I'd like to make the separation distance between two subplots to be much smaller. How can I achieve this? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.co

[Matplotlib-users] Colormap for LineCollection

2007-11-26 Thread Tom Johnson
I would like to plot a set of lines where the color of each line is parametrized. Then I want to add a colorbar to the plot. For example, suppose I plot y=x+b for various values of b. For each line, I would like to set the color to a particular value of b. When plotting, all b values are normal

Re: [Matplotlib-users] Histogram on shared axis

2007-11-25 Thread Tom Johnson
>histogram of f(x) is plotted horizontally (on the right) sharing > the y-axis of axis 1 Typo: histogram of f(x) is plotted horizontally (on the LEFT) sharing the y-axis of axis 1 - This SF.net email is sponsored by:

[Matplotlib-users] Histogram on shared axis

2007-11-25 Thread Tom Johnson
Is it possible to have a figure with two-plots such that f(x) is plotted against x onaxis 1 (on the right) histogram of f(x) is plotted horizontally (on the right) sharing the y-axis of axis 1 (sorry, this is proportional font, ascii art) f(x)

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-27 Thread Tom Johnson
On 9/27/07, Tom Johnson <[EMAIL PROTECTED]> wrote: > However, it will be a little while before I can provide a status > updateI have a presentation very soon and do not have the time to > regenerate all my images so that the background matches my > presentation background.

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-27 Thread Tom Johnson
On 9/27/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 27 September 2007 01:28:46 am Tom Johnson wrote: > > On 9/26/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > > I used your script to create the eps file, and created the attached > > > postscri

[Matplotlib-users] Equal Aspect Ratio with colorbar

2007-09-26 Thread Tom Johnson
How can I keep a 1:1 aspect ratio after adding a colorbar? ratio='exact' seems to include the colorbar in the calculations. For example, if I have a circle and color itI want it to still look like a circle (rather than an ellipse) after adding the colorbar. ~t ---

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-26 Thread Tom Johnson
Any comments on this? The behavior is, at best, inconsistent. At worst, the current behavior is incorrect, as it is not possible to have a white facecolor when using usetex/xpdf. On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote: > > On 9/23/07, Tom Johnson <[EMAIL PR

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-23 Thread Tom Johnson
On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote: > > > Also, it seems like there needs to be an extra keyword or option. Suppose > someone wanted a white facecolor in the (usetex=True) EPS file. It doesn't > seem like this is currently possible. It would

[Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-23 Thread Tom Johnson
Hello, When using usetex=True and savefig(file, facecolor='w', edgecolor='w') The behavior of the generated EPS file is more like: facecolor=None edgecolor='w' That is, the image's facecolor is tranparent...taking on the background color of the latex document---while the edgecolor is

[Matplotlib-users] Default Image Size

2007-08-28 Thread Tom Haddon
utes') canvas.draw() fig.savefig(OUTPUTFILE) Seems to give me a default size of 1200x900 (which I assume is somehow related to my screen size) - I've tried altering the fig = line as follows: fig = Figure(figsize=(8,6), dpi=100) but can't seem to change the output size of the ima

Re: [Matplotlib-users] autoscale question

2007-08-28 Thread Tom Vaughan
On 8/23/07, Fabrice Silva <[EMAIL PROTECTED]> wrote: > Le Wed, 22 Aug 2007 18:21:40 -0700, Tom Vaughan a écrit: > > > Why on the YellowDog 3 system would the x-axis show up as 0 - 2.5, and > > on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I am >

Re: [Matplotlib-users] autoscale question

2007-08-28 Thread Tom Vaughan
On 8/22/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 8/22/07, Tom Vaughan <[EMAIL PROTECTED]> wrote: > > > Why on the YellowDog 3 system would the x-axis show up as 0 - 2.5, and > > on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I > > a

[Matplotlib-users] autoscale question

2007-08-22 Thread Tom Vaughan
ystem would the x-axis show up as 0 - 2.5, and on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I am attempting to resolve an autoscale problem elsewhere, and I must of screwed something up when I built matplotlib. But what? Thanks.

[Matplotlib-users] matlab porting question

2007-08-17 Thread Tom Vaughan
hould have the same shape (or at least I assume from the simple3d.py example). But in what's above, x and y have a shape of (100,), and z has a shape of (100,100). What should I do instead? I'm more than happy to share all the sourc

Re: [Matplotlib-users] 3D plotting support

2007-08-14 Thread Tom Denniston
You might take a look at tvtk.mlab and mavayi. http://www.scipy.org/Cookbook/MayaVi On 8/14/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Kaushik Ghose wrote: > > Hi Everyone, > > > > I vaguely remember a comment from a poster a short while back that > > suggested that 3D support in matplotlib w

[Matplotlib-users] [Fwd: Re: Irregular Dates]

2007-07-19 Thread Tom Haddon
Hmm, looks like I was just missing a third argument '-' from the plot_date function. Thanks, Tom Forwarded Message ---- From: Tom Haddon <[EMAIL PROTECTED]> To: John Hunter <[EMAIL PROTECTED]> Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-

Re: [Matplotlib-users] Irregular Dates

2007-07-19 Thread Tom Haddon
On Wed, 2007-07-18 at 20:02 -0500, John Hunter wrote: > On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote: > > I think you mean it makes no assumption about the intervals between my > > dates? If so, I must be missing something. How am I supposed to pass the > > data to t

Re: [Matplotlib-users] Irregular Dates

2007-07-18 Thread Tom Haddon
On Wed, 2007-07-18 at 18:37 -0500, John Hunter wrote: > On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote: > \> What I mean by this is that I'm not collecting the data at regular time > > intervals. So I'd like to plot this, and have found that the plot_date > &

[Matplotlib-users] Irregular Dates

2007-07-18 Thread Tom Haddon
7;) ax.set_ylabel('Duration in Minutes') canvas.draw() imdata=StringIO() fig.savefig(imdata,format='png') return HttpResponse(imdata.getvalue(), mimetype='image/png') Any help appreciated. Thanks, Tom --

Re: [Matplotlib-users] Matplotlib plotting performance

2007-07-05 Thread Tom Denniston
Oops that was the TKAgg profile results. These are the WxAgg results attached. Sorry about that. On 7/5/07, Tom Denniston <[EMAIL PROTECTED]> wrote: I've been trying to profile and speed up an app that uses matplotlib. I tried to write an example using simple pylab commands to re

Re: [Matplotlib-users] multiple lines, multiple plots, single figure

2007-01-19 Thread Tom Denniston
pylab interface. as for your original question, i'm afraid i've never seen the behavior before and don't have a good answer. --Tom On 1/19/07, Jonathon Anderson <[EMAIL PROTECTED]> wrote: > It's definitely not the behavior I'm seeing here. In my matploblibr

Re: [Matplotlib-users] equivalent of currentpoint?

2007-01-08 Thread Tom Krauss
I just found Section 3.14 Event Handling in the User's Guide, so never mind! Thanks anyway and sorry for the newbie spam - I broke the rule about reading the manual first before asking! I will try some examples. - Tom On Jan 8, 2007, at 3:58 PM, Tom Krauss wrote: > I am wond

[Matplotlib-users] equivalent of currentpoint?

2007-01-08 Thread Tom Krauss
ess the current mouse location, and the figure's 'windowbuttonmotionfcn' (and up and down respectively) for responding to mouse click events? Thanks in advance, Tom Krauss - Take Surveys. Earn Cash.

[Matplotlib-users] Using Apple's freetype2 for mpl on OS X

2006-12-18 Thread Tom Loredo
and *also* install freetype2 in /usr/local/. If no problems are anticipated, perhaps the change can be incorporated into mpl. Thanks for any feedback on this. -Tom - This mail sent through IMP: http://horde.org/imp/ ---

Re: [Matplotlib-users] artist.py

2006-12-06 Thread Tom Denniston
need to rebuild my matplotlib against svn and test your fix now to see if that solves the problem. Thanks for your help. --Tom On 12/5/06, John Hunter <[EMAIL PROTECTED]> wrote: > >>>>> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes: &

[Matplotlib-users] artist.py

2006-12-05 Thread Tom Denniston
I've been profiling some of my code which builds many somewhat complex graphs. I've noticed that it spends almost all it's time in the __init__ of the artist class. The time there is almost entirely spent on calling identity_transform which builds a SeperableTransform that does no transforming--f

Re: [Matplotlib-users] Alpha and colorbar using contourf

2006-11-14 Thread Tom Denniston
Thanks, Eric.  I will try it. On 11/14/06, Eric Firing <[EMAIL PROTECTED]> wrote: Tom,I have made several changes in svn to improve the ability of colorbar totrack changes in colormap and alpha.  It works with imshow, pcolor, and contourf.  The implementation could be improved--maybe later.

Re: [Matplotlib-users] Alpha and colorbar using contourf

2006-11-09 Thread Tom Denniston
Thanks Eric. On 11/9/06, Eric Firing <[EMAIL PROTECTED]> wrote: Tom,This is a bug.  It looks like I completely forgot about handling alphawhen I rewrote the colorbar code.  I will try to get it fixed in the next few days.  Thanks for the report.EricTom Denniston wrote:> When I use contour

[Matplotlib-users] Alpha and colorbar using contourf

2006-11-09 Thread Tom Denniston
When I use contourf with an alpha argument and the "hot" color scheme.  The alpha causes the colors to come out lighter but the colorbar does not adjust accordingly.  Is this a bug or do I simply need to adjust the colorbar in some manner?       Below is an adaptation of pcolor.py from the screens

Re: [Matplotlib-users] Line plots and missing data

2006-06-27 Thread Tom Denniston
Thanks John and Darren. I think i'll use the nan trick for now but the masked array looks incredibly powerful. I'll take a look at the masked array demo. Thanks once again for your help and some really awesome plotting software! --Tom On 6/27/06, Darren Dale <[EMAIL PROTECTED]

[Matplotlib-users] Line plots and missing data

2006-06-27 Thread Tom Denniston
good way to get similar behavior in matplotlib? I tried to attach a bmp that had an example but the mail server rejected it on the grounds it was too large. --Tom Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to

Re: [Matplotlib-users] Differences in appearance between FigureCanvasAgg and FigureCanvasWxAgg

2006-06-11 Thread Tom Denniston
Thank you John. I will try as you suggest. I really appreciate your help. --Tom On 6/10/06, John Hunter <[EMAIL PROTECTED]> wrote: > >>>>> "Tom" == Tom Denniston <[EMAIL PROTECTED]> writes: > >Tom> FigureCanvasAgg seems to make fonts appear

[Matplotlib-users] Differences in appearance between FigureCanvasAgg and FigureCanvasWxAgg

2006-06-09 Thread Tom Denniston
dding or the FigureCanvasWxAgg for png generation because the former will not accept a parent window and the latter requires one. If anyone has any ideas I would greatly appreciate suggestions. --Tom ___ Matplotlib-users mailing list Matplotlib-