Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
On 16 April 2015 at 09:51, Benjamin Root wrote: > A little birdie has told me that someone else is writing a new > comprehensive matplotlib book (I think it would replace Sandros' book). > Last I heard from the birdie, he was most of the way done with the > manuscript. Based on my experience with

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
;A little learning never caused anyone's head to explode!" > > > "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" > > > > On Wednesday, April 15, 2015 3:44 AM, Chris O'Halloran > wrote: > > > Can I recommend this book. It

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-14 Thread Chris O'Halloran
Can I recommend this book. It was very helpful to me in figuring much of this out. https://www.packtpub.com/application-development/matplotlib-python-developers On 14 April 2015 at 18:14, Christian Ambros wrote: > Hi Ryan, > > wow! This tutorial is one of the best I ever encountered. Nothing i

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib and Numfocus Fiscal Sponsorship Agreement (FSA)

2015-01-21 Thread Chris Barker
+1 -- sounds great! On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom wrote: > > > > > > > > > * Matplotlib is a widely used, well regarded, and powerful visualization > library that has dominated the Python visualization stack for over a > decade. However, to maintain that position, matplot

Re: [Matplotlib-users] best way to browse images

2014-10-14 Thread Chris Beaumont
made ModestImage (https://github.com/ChrisBeaumont/mpl-modest-image) to deal with this -- it dynamically downsamples images to screen resolution. This makes the first draw after updating the data or norm much faster, while slowing down subsequent redraws. Perhaps this could help you out? cheers,

Re: [Matplotlib-users] third-party mpl widgets/tools?

2014-10-05 Thread Chris Beaumont
atest/custom_viewer.html). chris On Sat, Oct 4, 2014 at 8:53 AM, Benjamin Root wrote: > I working on compiling a list of third-party tools that provide > interactive features to matplotlib. I am looking for tools such as Joe's > mpldatacursor. If you know of a tool that should be included

Re: [Matplotlib-users] 'save file' GUI dialog

2014-06-20 Thread Chris Beaumont
ake a backend-agnostic interface for choosing a filename. Of course, if you did that, it would also be nice to refactor that into MPL itself... :) chris On Fri, Jun 20, 2014 at 8:22 AM, Thomas Robitaille < thomas.robitai...@gmail.com> wrote: > Hi everyone, > > I'm develo

Re: [Matplotlib-users] plotting large images

2013-08-27 Thread Chris Beaumont
own on the footprint. cheers, chris On Tue, Aug 27, 2013 at 6:49 AM, Štěpán Turek wrote: > > You could look at whether or not you actually need 64-bit precision. Often > times, 8-bit precision per color channel is justifiable, even in grayscale. > My advice is to play with the dtype of

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Chris Beaumont
Thanks for the tips -- I wish there was a way to do this within MPL, but it sounds like I'll have to live with external hackery. > > > PS. Try to convince the Dark Powers of the journal you send your work, > > that they modernize their processing and accept PDF. > +1

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Chris Barker - NOAA Federal
g said, there is no reason that we need to use the same build system -- we could easily have custom build scripts for a project, and still have it share the dependencies. I was planning on getting it all further along before announcing the project and looking for help, but since is came up... -Ch

Re: [Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
? Thanks, chris On Thu, Aug 22, 2013 at 8:04 PM, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > Chris Beaumont : > > > > I have a semitransparent plot that I rather like: > ... > > I'd like to publish something like this in a journal which requ

[Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
this semi-transparent figure into a non-semitransparent figure that looks the same? It would consist of more polygons, each of which has a constant RGB value in the transparent figure. I don't want to rasterize the lines, because I like zooming absurdly far into plots, and having them stay crisp.

Re: [Matplotlib-users] [matplotlib-devel] Calling to those "embedding" matplotlib in applications

2013-08-12 Thread Chris Barker - NOAA Federal
On Mon, Aug 12, 2013 at 7:01 AM, Michael Droettboom wrote: > I propose to fix this by turning on interactive only when > running at an interactive console. I embed MPL more than other uses, and this sounds like a fine solution to me/ Thanks, -Chris -- Christopher Barker

[Matplotlib-users] linear regression with dates as x axis

2012-06-13 Thread Chris Withers
23234, 2234235235, ...] ...but polyfit doesn't like the dates. How should I do this? Any example of a nice plot and linear regression using matplotlib? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.si

Re: [Matplotlib-users] Focus in OSX

2012-04-12 Thread Chris Laumann
Actually I don't know about the apple supplied python, but I believe enthoughts python is installed as a framework. C On Apr 12, 2012, at 8:53 PM, Michiel de Hoon wrote: > --- On Wed, 4/11/12, Zachary Pincus wrote: >> Hopefully someone who knows more about the OS X backend can >> comment h

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Chris Laumann
I get the exact same behavior from both Enthought supplied python and Apple supplied python. I haven't tried any other pythons, but it isn't limited to the Apple one. C On Apr 11, 2012, at 1:58 PM, Elliot Saba wrote: > I'm using homebrew python, which is built from source, and the latest > ma

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
known bug? It's quite annoying not to be able to switch focus to a plot window. Best, Chris -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks Tony and JDH, problem resolved and now I can try to compile. - Chris On Wed, Feb 8, 2012 at 10:41 AM, Tony Yu wrote: > > > On Wed, Feb 8, 2012 at 1:20 PM, Chris wrote: >> >> New error at `git checkout -b mdboom-pixel_marker v1.1.x': >> >>

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
New error at `git checkout -b mdboom-pixel_marker v1.1.x': fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'v1.1.x' which can not be resolved as commit? - Chris On Wed, Feb 8, 2012 at 10:13 AM, John Hunter wrote: > >

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
This time the error is: fatal: Not a git repository (or any of the parent directories): .git I guess that I have not be able to establish a local git tree since the command git clone g...@github.com:matplotlib/matplotlib.git matplotlib.git did not go through. - Chris On Wed, Feb 8, 2012 at 9

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks John. Since I already have a running copy of mpl, I skipped to the git clone step, but get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I'm a complete noob on git, so please bear with me. - Chris On Wed, Feb 8, 2012 at 9:31 AM, John H

[Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
I was trying to test the patch mike put in to fix the single pixel plotting issue, but just realized that this was a Mac version. Can I use it on a linux box? How? Thanks, Chris -- Keep Your Developer Skills Current

Re: [Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-06 Thread Chris
git. Meanwhile, is there any easy workaround? Jonathan, Tom Robitaille's module does help reducing file size of postscript, but by rasterize a scalable plot. It doesn't really help my problem since the markers are still drawn with the same method as other plotting methods. Bests, Chri

Re: [Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-05 Thread Chris
; If you use *scatter*, the third argument controls the marker size. > > But you may actually complaining about other issues, e.g., > antialiasing, etc. So, if above are not your answer, please post a > complete example and describe your problem in more detail. > > Regards, > >

[Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-03 Thread Chris
change it to a single pixel? Thanks, Chris -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5

[Matplotlib-users] using matplotlib in web servers

2011-08-21 Thread Chris Withers
ously generating many plots for different users using different data) cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- Get a FREE DOWN

Re: [Matplotlib-users] [SciPy-User] getting started with arrays and matplotlib

2011-08-20 Thread Chris Withers
g on matplotlib-users. Thanks, that was a good start. One question: How can I automatically get a list of colours for each bar? I don't know how many bars I'm going to have so I can't manually pick them... This feels like a common enough problem that I'm guessing there

[Matplotlib-users] animations in macosx/wxagg

2011-06-30 Thread Chris Higgins
although I'm still using 0.99.1 as well. thanks for any help, cheers, chris -- Chris Higgins, Omnisense Ltd, 3rd Floor, St. Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ Office: +44 (0) 1223 651394 Mobile: +44 (0) 780 490 8562 Skype: chiggins99 http://www.omnisense.co.

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-06 Thread Chris Rodgers
th "Wx" and "Tk" backends and the results are the same I've tried `matplotlib.rcParams['xtick.labelsize'] = 'x-small'`, and this does make the labels smaller, but for sufficiently large numbers the overlap still occurs. Thanks for any help! Chris <>

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Chris Rodgers
Since I just posted an almost-identical question, it's no surprise that I agree this would be a useful feature. Reason #1) I create hundreds of quick throwaway figures every day, often in an automated way, and don't have time to fine-tune them. Reason #2) a newbie to matplotlib might be turned off

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-05 Thread Chris Rodgers
th "Wx" and "Tk" backends and the results are the same I've tried `matplotlib.rcParams['xtick.labelsize'] = 'x-small'`, and this does make the labels smaller, but for sufficiently large numbers the overlap still occurs. Thanks for any help! Chris <>

[Matplotlib-users] MacOSX backend hangs

2011-04-08 Thread Chris Fonnesbeck
I'm running a recent build from source (last week) on OSX 10.6.6 and the Python 2.6.1 that ships with the OS. When I use the macosx backend, any plot that I generate results in a window that hangs. The Python dock icon bounces for awhile, then when it stops, the spinning beach ball appears and I

[Matplotlib-users] Access to contents of bins of a matplotlib histogram

2011-03-25 Thread Chris Edwards
Hi, I would like to access values in the bins of a matplotlib histogram. The following example script is an attempt to do this. Clearly pdf contains floating point numbers, but I am unable to access them. Help with this problem would be much appreciated. Chris

[Matplotlib-users] axis order in matplotlib?

2011-02-22 Thread Chris Paola
Can anyone help me understand this: the code below produces a plot in which the x and y axis labels are reversed relative to the direction in which z varies on the plot, although the gradient arrows are correctly oriented. Is there something I've missed in understanding the sense of the x and y

[Matplotlib-users] Can't produce plots using Matplotlib

2011-02-22 Thread Chris Edwards
Recently I downloaded and installed Python(x,y) Version 2.6.5.6 running under Windows7 and now can't produce the plots that my programs produced under an earlier version of Python(x,y). The programs seem to run correctly and produce the same numerical results but I can't find the graphical outpu

[Matplotlib-users] sensible tick labels for log scale (rephrased)

2011-01-13 Thread Chris Fonnesbeck
Sorry for the lack of clarity in my last shot at this problem. What I want to be able to do is change a plot's axis to the log scale, then have some reasonable (i.e. evenly-spaced) tick labels generated automatically. I have tried to do this manually, but end up with the following: http://cl.ly

Re: [Matplotlib-users] sensible tick labels for log scale?

2011-01-13 Thread Chris Fonnesbeck
On Jan 12, 2011, at 10:33 PM, Paul Ivanov wrote: > In [50]: plt.loglog(1,1) > Out[50]: [] > > In [51]: ax = plt.gca() > > In [52]: loc = ax.xaxis.get_major_locator() > > In [53]: loc.numticks > Out[53]: 15 > > In [54]: loc.numticks = 10 Also, this approach does not seem to work in general for

Re: [Matplotlib-users] closing figure inside a callback seg faults

2010-10-15 Thread Chris Barker
g wx, you could probably use wx.CallAfter() (or wx.CallLater(), call one of those in your callback,a nd tehn have the function called close the figure. -Chris -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new

Re: [Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
e Googling the problem. I'm not sure what to make of it, although it seems to be an online curve-fitting service. Unfortunately, my usage requires the ability to run the process locally. Regards, Chris On Mon, Sep 20, 2010 at 6:35 PM, Gökhan Sever wrote: > On Mon, Sep 20, 2010 at 3:36

[Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
Hi, Does Matplotlib/Numpy/Scipy contain the ability to fit a sigmoid curve to a set of data points? Regards, Chris -- Start uncovering the many advantages of virtual appliances and start using them to simplify

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Chris Barker
, or JSON, (or, for that matter, a python data structure), but it would be a fair bit of effort to write the code, and I don't think you'd get any real advantage over just using scripts -- you need a python script to create a figure in the first place, why not serialize that? -C

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-11 Thread Chris Barker
suspect you have looked for license compatible delaunay code and the stuff in the scikits package is as good as it gets? Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-11 Thread Chris Barker
hough there's a bunch in MPL already. If I was starting from scratch, I'd use Cython, if pure Python didn't cut it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-09 Thread Chris Barker
ngulation? Does it do constrained delauney? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] embedding a plot function in existing wxapp GUI, problem replotting

2010-03-09 Thread Chris Barker
Cookbook/Matplotlib/EmbeddingInWx and see the "embedding_in_wx" examples as well. I personally like wxMPL: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 S

[Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Chris Spencer
do you specify relative heights of each row? For example, I'd like to specify the first row takes 80% of the figure height, while the second takes 20%. I've searched the docs, but I can't find anything. Is this possible?

[Matplotlib-users] Building matplotlib 0.99.1.1: cannot find -ltk8.5

2009-09-28 Thread Chris
ions would be greatly appreciated - thanks! Chris $ cd matplotlib-0.99.1.1 $ env PREFIX=/a/b/ LD_LIBRARY_PATH=/a/b/lib /a/b/bin/python setup.py build BUILDING MATPLOTLIB matplotlib: 0.99.1.1

Re: [Matplotlib-users] "Piecewise Cubic Hermite Interpolating Polynomial" in python

2009-08-29 Thread Chris Michalski
Thanks for the inputs... perhaps it will provide the impetus for future postings as well... chris On Aug 29, 2009, at 11:49 AM, John Hunter wrote: > On Sat, Aug 29, 2009 at 1:12 PM, Eric Firing > wrote: > >> This looks interesting. I successfully ran your program by using

Re: [Matplotlib-users] help needed in plotting curved elements

2009-08-23 Thread Chris Barker
ht help you get started: http://www.codecogs.com/reference/maths/analytical_geometry/the_coordinate_geometry_of_a_circle.php HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fa

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-28 Thread Chris Spencer
Awesome, thanks. That works perfectly. Chris On Sun, Jun 28, 2009 at 12:16 AM, Jae-Joon Lee wrote: > sorry. > As guillaume has mentioned, you need to install mpl from svn. > > Here is some workaround you can try. I guess it would work with 0.98.5.3. > Basically, you create a sepa

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-27 Thread Chris Spencer
adjust the suplot parameter (or axes location) to make > enough room for the legend. > > -JJ > > > > On Thu, Jun 25, 2009 at 9:22 PM, Chris Spencer wrote: >> How do you show the legend below the graph, so it doesn't overlap at >> all with the graph? The docs fo

[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
f my data. I want to see *all* of my graph, as well as the legend. Is there any way to do this with pylab? Any help is appreciated. Chris -- ___ Matplotlib-users mail

[Matplotlib-users] Tutorial on working with Excel files in Python (without COM and cross platform!) at EuroPython 2009

2009-06-18 Thread Chris Withers
be at EuroPython this year: http://www.europython.eu/ I look forward to seeing you all there! Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk -- Crystal Repo

Re: [Matplotlib-users] help installing matplotlib

2009-04-21 Thread Chris Barker
John Seales wrote: > I have an intel mac running os 10.4.11. I use python 2.6 > > I am trying to install matplotlib and I can't figure it out. Can anyone > help me? It's going to be a challenge -- numpy only recently supports 2.6 -- I"d go back to 2.5 if you can

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-02-02 Thread Chris Walker
On Sun, Feb 01, 2009 at 11:59:06PM +0100, Sandro Tosi wrote: > Hi Chris, > thanks for your reply, helpful as usual :) > > On Fri, Jan 30, 2009 at 18:59, Chris Walker > wrote: > > Firstly, good luck with the book. > > cheers :) > > > The sort of book

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-30 Thread Chris Walker
eally appreciated :) And wish me good luck! I don't think it is the thrust of your book, but another book I was looking for is "A cookbook of Numerical simulations of classic physics/engineering problems". For use by physicists/engineers who don't want to rewrite things from scratch

Re: [Matplotlib-users] Tutorial on working with Excel files in Python(without COM and cross platform!) at PyConUS 2009

2009-01-27 Thread Chris Withers
e PyConUS website after the conference, I believe they'll make the tutorials available there... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk -

[Matplotlib-users] Tutorial on working with Excel files in Python (without COM and cross platform!) at PyConUS 2009

2009-01-22 Thread Chris Withers
n in this part of the tutorial, please drop me an email and I'll try and make sure I come prepared! All you need for the tutorial is a working knowledge of Excel and Python, with a laptop as an added benefit, and to be at PyCon this year: http://us.pycon.org I look forward to seeing yo

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] rotating plots

2009-01-13 Thread Chris Fonnesbeck
xplot per se -- there are only a small number of elements for each category, so a boxplot is not appropriate. Thanks in advance, -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin, New Zealand --

[Matplotlib-users] question about figsize keyword of figure(..)

2008-10-27 Thread chris
I'm confused about what matplotlib.pyplot.figure(figsize = (a,b)) *means* It appears that the figure gets *bigger* as I make a and b *smaller* !??! Chris - This SF.Net email is sponsored by the Moblin Your

Re: [Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?

2008-10-27 Thread chris
st(left=.., bottom=...) seems to have an effect on a single plot too. It lets you add extra room for axis labels. It *must* mess up the aspect ratio of the plot since the axis labels are now "stealing" extra space right? Chris --

Re: [Matplotlib-users] Why is wrapper module called "pylab" ?

2008-10-26 Thread chris
ab right? Where find matplotlib.pyplot examples? Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Gran

[Matplotlib-users] Why is wrapper module called "pylab" ?

2008-10-25 Thread chris
So is matplotlib the name of the low level plotting engine? And, pylab is the user-friendly wrapper? Would it be ok to call the whole system "Pylab" instead of Matplotlib then? Chris - This SF.Net email is sp

[Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?

2008-10-25 Thread chris
djust command seem to mess up the default aspect ratio?? ) Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 11:21:58PM +0300, Jouni K. Sepp?nen wrote: > Jouni K. Sepp?nen <[EMAIL PROTECTED]> writes: > > > 2008-03-23 Fix a pdf backend bug which sometimes caused the outermost > > gsave to not be balanced with a grestore. - JKS > > > > Can you upgrade to 0.91.4? > > He

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 03:00:05PM -0400, Michael Droettboom wrote: > With the file you sent, I can see the messed up footer in xpdf, but not > in acroread. There are a number of times that I have seen xpdf not > completely support the PDF spec, and this may be one of them. I installed acroread a

[Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-12 Thread chris
up the footer of my Beamer/LaTeX slides. (For some reason zorder setting make the footer shrink in size.) Is there any weirdness or side effects about zorder I should be aware of that would explain this? Chris - This SF.Net

[Matplotlib-users] plot chops off big Latex axis labels

2008-10-11 Thread chris
The plot PDFs that matplotlib makes by default seem to be too tiny to contain my biggest axis labels and my poor Latex stuff is chopped in half. How fix? cs - This SF.Net email is sponsored by the Moblin Your Move Developer'

Re: [Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
On Tue, Oct 07, 2008 at 08:19:39AM -0400, Michael Droettboom wrote: > Did you not get an exception when you ran your example? > > The following works for me: > > import pylab > x1 = pylab.arange(-10, 10, 0.01) > x2 = pylab.arange( 0, 10, 0.01) > f1 = [0 for e in x1] > f2 = [1 for e in x2] > pylab.

Re: [Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
On Tue, Oct 07, 2008 at 12:54:49PM +0200, Johann Rohwer wrote: > The autoscaling feature sets the y limits to [0,1] which means that > your lines are falling on the bottom and top x-axis which hides them. > Rescaling the y-axis will make the lines visible, e.g. > > pylab.ylim(-1,2) Thank you very

[Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
01) f1 = [0 for e in x1] f2 = [1 for e in x2] pylab.show(pylab.plot(x1, f1, x2, f2)) Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mo

[Matplotlib-users] multivariate scatter plots?

2008-08-18 Thread Chris Fonnesbeck
I'm trying to track down a function/recipe for generating a multivariate scatter plot. I'm thinking of something similar to what you get in R if you call plot on a multivariate data frame: http://mt11.quickshareit.com/share/rplotb1a70.pdf Is there anything obvious here? It seems like something t

Re: [Matplotlib-users] OS X (Intel Mac) installation woes

2008-08-18 Thread Chris Fonnesbeck
Nathaniel Virgo <[EMAIL PROTECTED]> writes: > > Hi allI'm having trouble installing on OS X.  The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac.Here's the long story:First I downloaded the matplotlib-0.99.3-py2.5-macosx

Re: [Matplotlib-users] Installation woes: phantom Numpy version?

2008-08-07 Thread Chris Barker
uild of 2.5.2, and go from there -- the binaries on the numpy site are built for that version. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

[Matplotlib-users] rationale for contour() argument dimensions?

2008-06-21 Thread Chris
I may be a bit thick, but I am having a heck of a time figuring out how to use contour() properly. Specifically, I do not see why the z dimension should be a 2d array. It should only take a set of x,y,z coordinates to produce a surface -- what is the extra dimension for? More importantly, how

[Matplotlib-users] Adding labels to plots does not work

2008-05-19 Thread Chris
In a recent SVN build of matplotlib on OSX 10.5, I have created a boxplot then tried to add labels to the axes afterwards. However, though the "xlabel" and "ylabel" commands run without error, no labels are added to the plots. In [45]: boxplot(transpose(transpose(relative_risk.trace())[:-2])) In

Re: [Matplotlib-users] MPL, py2exe and fonts

2008-05-07 Thread Chris Barker
Michael Droettboom wrote: > Chris Barker wrote: >> I'm successfully getting all the MPL data files into spy2exe with: >> >> DATA_FILES = matplotlib.get_py2exe_datafiles() >> >> The problem is that that dumps a LOT of stuff, and I don't need most >

[Matplotlib-users] MPL, py2exe and fonts

2008-05-06 Thread Chris Barker
o be carried alongside? This makes me really appreciate application bundles on the Mac! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
Chris <[EMAIL PROTECTED]> writes: > > > > Based on recent emails, this looks like a problem attributed to the gcc > > version, not the python version. Suggested solutions are compile with > > the -Os flag or use gcc 4.2. > > > I think universal bui

Re: [Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
Eric Firing <[EMAIL PROTECTED]> writes: > > Chris, > > Based on recent emails, this looks like a problem attributed to the gcc > version, not the python version. Suggested solutions are compile with > the -Os flag or use gcc 4.2. > Hmm. The problem with using gcc

[Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
I'm trying to get a built of Matplotlib built under Python.org Python 2.5.2, but get the following build error, which did not occur under Leopard's python: src/_image.cpp: In member function ‘Py::Object _image_module:: from_images (const Py::Tuple&)’: src/_image.cpp:848: error: insn does not sat

[Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-23 Thread Chris
I've had an ongoing problem building eggs of matplotlib that are statically linked to freetype. I thought I had it nailed, but evidently I do not. Here is my script: export CFLAGS="-arch i386 -I/Developer/src/libpng -I/Developer/src/freetype/include" export LDFLAGS="-arch i386 -L/Developer/src/

[Matplotlib-users] location of figure window

2008-04-09 Thread Chris Withers
f the screen. If I can get it to be to-left, then it will all be visisble without me having to move it with a mouse ;-). Any ideas? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplis

Re: [Matplotlib-users] matplotlib threadsafe?

2008-04-09 Thread Chris Withers
gg_oo.py. I tried this example, and it generates no output. Is that to be expected? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk - This SF.ne

[Matplotlib-users] plotting from a dictionary

2008-04-03 Thread Chris Withers
3):13, } I'm worried about getting the dates out in order such that I get a straight line plot, rather than the zigzag back-and-forth line I reckon I'd get if I did: dates = [] count = [] for date,count in data.items: dates.append(date) count.append(count) plot(dates,counts)

[Matplotlib-users] C++ Assertion failure during savefig

2008-04-03 Thread Chris Squibb
Hey, Up until recently I have been using mpl 0.90.1, and my application worked fine. Yesterday I upgraded to 0.91.2 and am now getting the following traceback: File "application. py", line 667, in plot radial_plot_figure.savefig(png_file, dpi=self.dpi) File "C:\Python25\Lib\site-packages

Re: [Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Chris Barker wrote: > Hi all, > > I'm having an odd issue with the wxAgg back-end: Update: If I remove: matplotlib/backends/_wxagg.pyd The problem goes away. It looks like that pyd is getting loaded even though I'm running wxPython2.8 However, now I get a non-valid pn

[Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
ck-end didn't try to use the accelerated module for wxPython2.8. Any ideas? By the way, there are a number of other small bugs cropping up in the pylab window with wxagg too -- but I'll look at those once I solve this. Is no one else using MPL with wxPython2.8? -Chris --

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Chris Withers
figure and replot? (I have just been calling errorbar lots, but I'm guessing that if I add a legend, I'll have one entry for each time I called errorbar :-S) cheers, Chris -- Simplistix - Content Management, Zope & Python C

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-27 Thread Chris Withers
> > ioff() > show() So, basically make the x axis time instead of numbers. I think the problem is actually that the daets are quite long in their format. If they were rotated through 90 degress it'd likely be fine. How would I do this? Also, how would I get this kind of upd

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-27 Thread Chris Withers
ms comes from. I have seen that using > idle and the latest release of matplotlib on and winxp, but I can't reproduce > it on my linux system. *sigh* ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ---

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-26 Thread Chris Withers
KeyboardInterrupt Fatal Python error: PyEval_RestoreThread: NULL tstate This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I've had a similar error when I hit the red cross in the corner of t

Re: [Matplotlib-users] I really need help about installing matplotlib.

2008-03-25 Thread Chris Withers
stall the windows binary for python 2.5 from here: http://downloads.sourceforge.net/matplotlib/matplotlib-0.91.2.win32-py2.5.exe Ignore the Enthought stuff ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.sim

Re: [Matplotlib-users] Runtime Error

2008-03-24 Thread Chris Withers
is the crucial bit. Looks like you've set MPLCONFIGDIR to a read-only dir, or the .matplotlib in the current dir or .matplotlib in your home directory aren't writeable by the user running your python script. (I'm doing a bit of guesswork here...) What is it that you're try

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-21 Thread Chris Withers
roblem, I just run in a "while True" loop and leave it running until I close the plot window. Shame I get that horrible exception when I do close the plot window, wish I knew how to make it stop :-S cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Chris Withers
Kenneth Miller wrote: > > back in time. When i pass plot_dates timestamps for the y axis, and > integers for the x axis it simply displays the y-axis as floats. did you try: plot_dates(x,dates,ydate=True) ? Chris -- Simplistix - Content Management, Zope & Pyth

Re: [Matplotlib-users] from pylab import nx?

2008-03-21 Thread Chris Withers
also some lower-level unit tests for frequently-reoccurring > bugs in the unit directory. Indeed, is there any kind of "full unit test" suite that a developer can run when changing things ot make sure they haven't fubarred anything? cheers, Chris -- Simplistix - Content

Re: [Matplotlib-users] plotting filled lines with missing data?

2008-03-21 Thread Chris Withers
while scanning that wiki page, but nothing that would have helped me... cheers, Chris (who might well be missing something...) -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

  1   2   >