Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
On 16 April 2015 at 09:51, Benjamin Root ben.r...@ou.edu 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

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 md...@stsci.edu 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,

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

2014-10-14 Thread Chris Beaumont
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, chris

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

2014-06-20 Thread Chris Beaumont
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 developing a simple GUI tool in Matplotlib

Re: [Matplotlib-users] plotting large images

2013-08-27 Thread Chris Beaumont
on the footprint. cheers, chris On Tue, Aug 27, 2013 at 6:49 AM, Štěpán Turek stepan.tu...@seznam.czwrote: 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 your

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

2013-08-23 Thread Chris Barker - NOAA Federal
the dependencies. I was planning on getting it all further along before announcing the project and looking for help, but since is came up... -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206

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 I know, right? chris

[Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
-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. Cheers, Chris

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 requires EPS figures. Unfortunately, EPS doesn't

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 md...@stsci.edu 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, Ph.D

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

2012-06-13 Thread Chris Withers
, 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.simplistix.co.uk

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

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
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 resolution app monitoring today. Free. http

[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] 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 Hunter jdh2

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
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 jdh2...@gmail.com wrote

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 tsy...@gmail.com wrote: On Wed, Feb 8, 2012 at 1:20 PM, Chris plut...@gmail.com wrote: New error at `git checkout -b mdboom-pixel_marker v1.1.x': fatal: git checkout

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

2012-02-06 Thread Chris
on 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, Chris On Mon

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

2012-02-05 Thread Chris
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, -JJ On Sat, Feb 4, 2012 at 2:15 PM, Chris plut...@gmail.com wrote: I noticed

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

2012-02-03 Thread Chris
to 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

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

2011-08-20 Thread Chris Withers
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's a solution somewhere in matplotlib? cheers, Chris -- Simplistix - Content Management, Batch Processing

[Matplotlib-users] animations in macosx/wxagg

2011-06-30 Thread Chris Higgins
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.uk Omnisense Ltd is a company

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-06 Thread Chris Rodgers
`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 attachment: output.png-- WhatsUp Gold - Download Free

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

2011-05-05 Thread Chris Rodgers
`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 attachment: output.png-- WhatsUp Gold - Download Free

[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

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

[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

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]: [matplotlib.lines.Line2D object at 0x108dde4c] 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

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

2010-10-15 Thread Chris Barker
callback,a nd tehn have the function called close the figure. -Chris -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development

[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] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
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 gokhanse...@gmail.com wrote: On Mon, Sep 20, 2010 at 3:36 PM

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Chris Barker
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? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

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

2010-03-11 Thread Chris Barker
contouring code is in C++ -- is that important? I don't expect it should be that computationally expensive, though maybe hard to vectorize -- C++ does make portability harder, though 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

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

2010-03-11 Thread Chris Barker
in the scikits package is as good as it gets? Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar

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

2010-03-09 Thread Chris Barker
/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/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

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

2010-03-09 Thread Chris Barker
? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

[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? Regards, Chris

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

2009-09-28 Thread Chris
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 python

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 Firingefir...@hawaii.edu 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
/the_coordinate_geometry_of_a_circle.php HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

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 Leelee.j.j...@gmail.com 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

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

2009-06-27 Thread Chris Spencer
parameter (or axes location) to make enough room for the legend. -JJ On Thu, Jun 25, 2009 at 9:22 PM, Chris Spencerchriss...@gmail.com wrote: How do you show the legend below the graph, so it doesn't overlap at all with the graph? The docs for the legend() loc parameter only seem to specify where

[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
* of my graph, as well as the legend. Is there any way to do this with pylab? Any help is appreciated. Chris -- ___ Matplotlib-users mailing list Matplotlib-users

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

2009-06-18 Thread Chris Withers
://www.europython.eu/ I look forward to seeing you all there! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- Crystal Reports - New Free Runtime and 30 Day Trial

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 chr...@chiark.greenend.org.uk wrote: Firstly, good luck with the book. cheers :) The sort of book I'd buy would explain

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

2009-01-30 Thread Chris Walker
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. Good luck. Chris -- This SF.net email

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
the conference, I believe they'll make the tutorials available there... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- This SF.net email

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

2009-01-22 Thread Chris Withers
, 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 you all there! Chris -- Simplistix

[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
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 -- This SF.net email

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

2008-10-27 Thread chris
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 - This SF.Net email

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

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

2008-10-26 Thread chris
? 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 Grand prize is a trip

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

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 and

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

2008-10-13 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

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

2008-10-07 Thread chris
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 Moblin SDK win great

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

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.plot(x1,

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

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

2008-08-07 Thread Chris Barker
for that version. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED

[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 of it. The default text font is Vera.ttf. (If you want

[Matplotlib-users] MPL, py2exe and fonts

2008-05-06 Thread Chris Barker
really appreciate application bundles on the Mac! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL

[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

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 builds may have to wait for another day, when gcc 4.2

[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

Re: [Matplotlib-users] matplotlib threadsafe?

2008-04-09 Thread Chris Withers
no output. Is that to be expected? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference

[Matplotlib-users] location of figure window

2008-04-09 Thread Chris Withers
of 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.simplistix.co.uk

[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

[Matplotlib-users] plotting from a dictionary

2008-04-03 Thread Chris Withers
, } 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) cheers, Chris

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

2008-03-28 Thread Chris Withers
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 Consulting - http://www.simplistix.co.uk

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

2008-03-28 Thread Chris Barker
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 -- Christopher Barker, Ph.D. Oceanographer Emergency Response

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 png when I do savefig

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

2008-03-27 Thread Chris Withers
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 - Check out the new

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

2008-03-27 Thread Chris Withers
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 updating with bar charts or errorbars? cheers, 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
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 the window with other scripts, although not this one :-S cheers, Chris -- Simplistix

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

2008-03-25 Thread Chris Withers
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.simplistix.co.uk

Re: [Matplotlib-users] Runtime Error

2008-03-24 Thread Chris Withers
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 trying to do? cheers, Chris -- Simplistix - Content

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

2008-03-21 Thread Chris Withers
? What problems are you experiencing? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

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

2008-03-21 Thread Chris Withers
... cheers, Chris (who might well be missing something...) -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

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 Python Consulting - http

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

2008-03-21 Thread Chris Withers
the plot window, wish I knew how to make it stop :-S cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all

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

2008-03-20 Thread Chris Withers
have to return multiple polygons, and I don't know how that would work? provide them in mpl. I would be happy to fix this gap in mpl's handling of gappy data, ...heh ;-) but I can't make it a priority use of my time right now. No, I understand :-) cheers, Chris -- Simplistix - Content

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

2008-03-20 Thread Chris Withers
Giorgio F. Gilestro wrote: import numpy as np a = ['','','',1.1,2.2] mask_a = [i == '' for i in a] b = np.ma.MaskedArray(a, mask=mask_a) Not very efficient, though, is it? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] matplotlib threadsafe?

2008-03-20 Thread Chris Withers
-running C blocks. It's not performance I'm looking for, it's making sure that MPL apps served from multi-threaded wsgi servers don't screw each others charts up ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] matplotlib threadsafe?

2008-03-20 Thread Chris Withers
to take all the global state information and put it in a class instance, so there could be multiple plotting machines. Yes. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] compiling from svn on windows

2008-03-20 Thread Chris Withers
and squashed sooner... ;) Well, tell me how to get the svn trunk and how to compile and I'll give it a go :-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] gradient fills for bar charts?

2008-03-19 Thread Chris Withers
Eric Firing wrote: Short of laboriously putting an image in each bar, no. That's a shame :-( So, no gradient filled patches in MPL? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

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

2008-03-19 Thread Chris Withers
to interpolate them away, however) As it seems you're dealing with series indexed in time, you may want to try scikits.timeseries, a package Matt Knox and myself implemented for that very reason. How would this help me here and where can I find out about it? cheers, Chris -- Simplistix

Re: [Matplotlib-users] making minor ticks into lines instead of ticks

2008-03-18 Thread Chris Withers
of the method;-) However, this isn't quite what I want... I only want the grid for the y-axis (ie: horizontal lines in the grid, but no vertical), how would I do that? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

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

2008-03-18 Thread Chris Withers
that masked_equal didn't blow up when aa contains datetime objects :-( cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored

[Matplotlib-users] from pylab import nx?

2008-03-18 Thread Chris Withers
Hi All, A few of the units demos include the lines: from pylab import nx ...but this import errors for me. Why is that? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] making minor ticks into lines instead of ticks

2008-03-18 Thread Chris Withers
do I get the grid to show up behind the lines? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all

  1   2   >