Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-14 Thread Michael Droettboom
Thanks for all the time you've devoted to this. It does look like possibly some kind of compiler bug. The font loads and renders fine on Linux, for what it's worth (just as a data point). To confirm this theory: if you move NISC1803.ttf somewhere temporary, delete

Re: [Matplotlib-users] Inexact drawing of points

2011-11-14 Thread Michael Droettboom
On 11/13/2011 10:03 AM, Goyo wrote: 2011/11/7 Anton Daitchea.dait...@googlemail.com: Do you remember the name of the thread? I would like to understand the details on this. I can't find it right now but I guess Michael's answer helps you. I also would like to find out if i can force the

Re: [Matplotlib-users] Upgraded to 1.1.0, now only line graphs work!

2011-11-14 Thread Michael Droettboom
We should also update the checks for the version of Numpy. Expect a pull request about this shortly. Mike On 11/12/2011 10:59 PM, Benjamin Root wrote: On Saturday, November 12, 2011, John Ladasky john_lada...@sbcglobal.net mailto:john_lada...@sbcglobal.net wrote: On Sat, 2011-11-12 at

Re: [Matplotlib-users] I get a warning when running code with ipython, but not with python

2011-11-14 Thread Michael Droettboom
This looks like a bug for the IPython folks. If you make a file containing only import gtk and %run that file, one gets the same error. Mike On 11/13/2011 10:30 PM, Alejandro Weinstein wrote: Hi: I just installed matplolib from source code, and Ipython using pip, in Ubuntu 11.10. When I

Re: [Matplotlib-users] Web matplotlib

2011-11-14 Thread Michael Droettboom
I'm not sure what MAMP is. Usually this problem is because matplotlib is trying to import a GUI toolkit and the windowing environment is not available from the web server. Try setting the matplotlib backend to Agg, by putting this at the top of the file: import matplotlib

[Matplotlib-users] Today's XKCD

2011-11-14 Thread Michael Droettboom
Sorry for the slightly OT post, but I thought all of the basemap-using geoprojection heads on this list would get a kick out of today's XKCD: http://xkcd.com/977/ Mike -- RSA(R) Conference 2012 Save $700 by Nov 18

Re: [Matplotlib-users] Matplotlib.tests sub-modules missing

2011-11-11 Thread Michael Droettboom
Have you tried removing the build directory and install directories to force a full rebuild? It sounds like the build or install got stuck at some point. I've never seen it not copy *.py files in a package before. Mike On 11/11/2011 03:12 PM, David Welch wrote: Update: test folders are in

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-11 Thread Michael Droettboom
Very odd. Given there's no C++ changes here, I'm very surprised. Shooting in the dark here: does deleting ~/.matplotlib/fontList.cache help at all? Mike On 11/11/2011 05:34 PM, Friedrich Romstedt wrote: 2011/11/11 Michael Droettboommd...@stsci.edu: Running bisect in this way, did you

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Michael Droettboom
conclude the failure is introduced somewhere in the 0.99 branch. Compiling randomly while searching the history: e38440f2 (2010-08-18) fails. A git blame _src/ft2font.cpp shows that most lines are due to Michael Droettboom in 6b643862. Unfortunately this is just Standardizing formatting of C/C

Re: [Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Michael Droettboom
Did you include the fonts as described here? http://www.py2exe.org/index.cgi/MatPlotLib Mike On 11/10/2011 08:03 AM, Armando Serrano Lombillo wrote: Hello, I'm having a weird problem with matplotlib not finding fonts when being used from a py2exe packed program. The weird thing is that the

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Michael Droettboom
On 11/10/2011 05:16 PM, Friedrich Romstedt wrote: Furthermore, Michael is right, while bisecting I didn't ``rm build/`` properly; I just did ``python2.6 setup.py clean``. Later on I did that properly, after I noticed that the offending commit reported by bisect actually runs cleanly. I then

Re: [Matplotlib-users] How to write matrices in Sphinx using matplotlib extensions ?

2011-11-08 Thread Michael Droettboom
Unfortunately, the matplotlib mathtext renderer does not support \begin{array} (or any of the \begin{}/\end{} tags for that matter). You'll probably want to experiment with one of the other math plugins for sphinx described here: http://sphinx.pocoo.org/ext/math.html Mike On 11/08/2011

Re: [Matplotlib-users] Inexact drawing of points

2011-11-08 Thread Michael Droettboom
For speed in the Agg backend the markers are drawn once and then copied as rasters to all of their positions. This implies that the markers end up pixel aligned, which is the source of the error you're seeing. This does not happen in the vector backends. If you want to not get this

Re: [Matplotlib-users] Warning: converting a masked element to nan

2011-11-02 Thread Michael Droettboom
matplotlib should handle both masked arrays and arrays with NaNs and treat both the same. Can you reduce the script to something that can be run independently without data? It's not clear to me yet why this is failing. Mike On 11/01/2011 05:24 PM, questions anon wrote: Hi All, I am trying

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-02 Thread Michael Droettboom
On 11/02/2011 10:53 AM, Mads Ipsen wrote: Hi, I am trying to build MPL 1.1.0 with VS 2008 on Windows XP 32. I have installed * Python 2.7.2 * Numpy 1.6 In the docs it says Windows users only need the first two (python and numpy) since the others are built into the matplotlib Windows

Re: [Matplotlib-users] v1.1.0 crashes upon exit

2011-11-02 Thread Michael Droettboom
I'm not able to reproduce this, but I've seen similar issues in the past. Can you tell me if this patch fixes it for you? diff --git a/lib/matplotlib/backends/backend_gtk.py b/lib/matplotlib/backends/backend index 1012bbe..2efb72a 100644 --- a/lib/matplotlib/backends/backend_gtk.py +++

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-02 Thread Michael Droettboom
On 11/02/2011 01:34 PM, Mads Ipsen wrote: On 11/02/2011 05:50 PM, Michael Droettboom wrote: On 11/02/2011 10:53 AM, Mads Ipsen wrote: Any clues to why ft2build.h cannot be located. The above docs says it should be part of the binary installer. The binary for freetype is included

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-02 Thread Michael Droettboom
On 11/02/2011 05:09 PM, Mads Ipsen wrote: Works like a charm. What about support for the Qt backend. Do I need any Qt dev. env. installed or does it just rely on PyQt and Qt binaries being present on the machine? Just PyQt and Qt binaries should be enough -- there is no C/C++ code in

Re: [Matplotlib-users] matplotlib.axes.Axes.arrow not producing nice arrows

2011-10-27 Thread Michael Droettboom
It looks like the polygons that make up the arrows were not being closed correctly, so the PDF renderer was not joining the ends of the stroke. Can you confirm that this branch resolves your issue? https://github.com/matplotlib/matplotlib/pull/559 Mike On 10/27/2011 11:36 AM, mogliii wrote:

Re: [Matplotlib-users] Pure python matplotlib for Google App Engine

2011-10-26 Thread Michael Droettboom
On 10/26/2011 02:40 AM, Benjamin Root wrote: On Tuesday, October 25, 2011, jniemasik niema...@gmail.com mailto:niema...@gmail.com wrote: Hi all, Google App Engine recently added an experimental Python 2.7 option, and along with it, support for numpy. App Engine only allows pure python

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Michael Droettboom
Thanks for looking into this deeper. Agg requires image buffers to be premultiplied, as described in the third bullet point here. (It's not exactly clear, to say the least, but that's what I take it to mean, and also from reading the code).

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Michael Droettboom
On 10/21/2011 09:49 AM, Daniel Hyams wrote: All sounds reasonable Mike; I do agree that patching the agg source code is not that desirable; I was operating under the (incorrect) assumption that most, if not all, backends used straight alpha. I'll certainly test the patch tonight, but I can

Re: [Matplotlib-users] extreme navigation slowness for subplots

2011-10-21 Thread Michael Droettboom
I have a simple fix for this on this branch: https://github.com/mdboom/matplotlib/tree/slow_update It's sort of the simplest thing that could work. It caches the last results of _update_ticks and only updates them if the view limits or axis position have changed. It also invalidates this

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-19 Thread Michael Droettboom
You are right that Agg is doing the resizing here. Agg expects premultiplied alpha. See [1] for information about what that means. [1] http://en.wikipedia.org/wiki/Alpha_compositing After Agg interpolates the pixel values, to prevent oversaturation it truncates all values to be less than

Re: [Matplotlib-users] Using otf fonts in matplotlib

2011-10-10 Thread Michael Droettboom
On 10/10/2011 08:25 AM, Andreas H. wrote: Hi, I would like to use .otf fonts for typesetting text (axes, titles, labels, legends, ...) in matplotlib. Is this possible? If yes, how? Yes. Put the font somewhere in your font search path. (Where that would be depends on your platform, but for

Re: [Matplotlib-users] Using otf fonts in matplotlib

2011-10-10 Thread Michael Droettboom
Using anything but the CM and STIX fonts in mathtext ultimately leads to a world of pain and I consider it unsupported, because there are custom tweaks to get the alignment working that end up being missing. However, if you really want to try it you can set the following rcParams:

Re: [Matplotlib-users] TypeError: instancemethod expected at least 2 arguments, got 0

2011-10-10 Thread Michael Droettboom
How does one reproduce this? Mike On 10/09/2011 04:32 AM, Nils Wagner wrote: File /home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/backend_qt4.py, line 463, in edit_parameters figureoptions.figure_edit(axes, self) File

Re: [Matplotlib-users] PDF/SVG Backends Don't Save FigureImages

2011-09-27 Thread Michael Droettboom
at the content of the file and see the nature of the failure. Mike -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- All the data continuously generated in your

Re: [Matplotlib-users] PDF/SVG Backends Don't Save FigureImages

2011-09-22 Thread Michael Droettboom
I'm not able to reproduce the problem: I get the watermark in both png and pdf output. This was with git master. What version of matplotlib are you using? Can you send (off-list) the png and pdf files so I can have a look at your output? Mike On 09/21/2011 10:28 AM, Dave Hirschfeld wrote:

Re: [Matplotlib-users] x, y labels with varying font styles

2011-09-19 Thread Michael Droettboom
On 09/14/2011 05:48 PM, Benjamin Root wrote: On Wed, Sep 14, 2011 at 4:34 PM, CAB cabr...@yahoo.com mailto:cabr...@yahoo.com wrote: But now, let's say I want to italicize only the 'f' and 'x'. I can't find any easy way to do that while retaining the Arial font. And no, I

Re: [Matplotlib-users] Problems installing Matplotlib under SUSE SLES 11 SP1

2011-09-15 Thread Michael Droettboom
I wouldn't recommend trying to build freetype from source. Have you installed the freetype development package? I'm not familiar with SuSE, but on RedHat/Fedora this would be accomplished by (as root) yum install freetype2-dev and on Debian/Ubuntu apt-get install freetype2-devel. Mike On

Re: [Matplotlib-users] PDF (but not screen) output raises Path lacks initial MOVETO

2011-09-15 Thread Michael Droettboom
I was able to confirm this bug with 1.0.1, but it has already been fixed in git master. This fix should make it into the next release. I used git bisect to track down the point at which it was fixed and turned up this:

Re: [Matplotlib-users] edge joinstyle on rectangles

2011-09-06 Thread Michael Droettboom
, as far as I can see. I suppose it probably should be supported, though. Do you agree? Mike -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Special Offer

Re: [Matplotlib-users] Problem with GTK backends after compiling matplotlib

2011-09-06 Thread Michael Droettboom
On 08/31/2011 11:21 PM, Eric Firing wrote: On 08/31/2011 01:59 PM, Benjamin Root wrote: On Wed, Aug 31, 2011 at 6:35 PM, Craig Finchcfi...@ieee.org mailto:cfi...@ieee.org wrote: I figured it out! I accidentally did something weird. When I built NumPy and SciPy, I used the --user

Re: [Matplotlib-users] Can't render the \dagger LaTex symbol

2011-09-06 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Change JPG compression ratio in savefig

2011-09-06 Thread Michael Droettboom
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Special Offer -- Download ArcSight Logger

Re: [Matplotlib-users] Change JPG compression ratio in savefig

2011-09-06 Thread Michael Droettboom
Sorry for the noise -- I missed that this was already replied to (and with much greater detail). Mike On 09/06/2011 12:41 PM, Michael Droettboom wrote: When you call savefig(), you can pass quality, optimize and progressive, as defined in the print_jpg docstring: def print_jpg

Re: [Matplotlib-users] Details regarding TeX interpreter for different backends

2011-08-26 Thread Michael Droettboom
On 08/26/2011 02:32 AM, Ole Jacob Hagen wrote: Hi, I'm about to implement a TeX interpreter for the graphical backend to GNU Octave (http://www.octave.org). The rendering is in OpenGL context. As I understand it, matplotlib doesn't use OpenGL at all? Not at present -- though various people

Re: [Matplotlib-users] Symmetrical Log Scale on Axis

2011-08-22 Thread Michael Droettboom
You want to call set_yscale('symlog') on the axes. Mike On 08/19/2011 01:07 PM, Jonny Milliken wrote: Hi, I am having some trouble establishing how to use matplotlib.scale.SymmetricalLogScale() to draw a log scale on the positive and negative axis of a plot. Assuming of course that is the

Re: [Matplotlib-users] matplotlib backends - WXAgg vs. WX

2011-08-15 Thread Michael Droettboom
On 08/14/2011 11:28 AM, Vlastimil Brom wrote: Regarding wxagg, it seems, that the suggestion about unsuitable fonts being used was correct; after setting the font to Arial, adapted from:

Re: [Matplotlib-users] Font family ['cmb10'] not found

2011-08-15 Thread Michael Droettboom
It looks like it isn't finding the Computer Modern Bakoma fonts. They don't seem to be included in the Fedora Package (see here: http://koji.fedoraproject.org/koji/buildinfo?buildID=230966) and the package does not depend on those fonts. Some of them are packaged in the lyx-fonts package, so

Re: [Matplotlib-users] unable to draw text at angles other than 0 or 90

2011-08-12 Thread Michael Droettboom
I wonder if it's worthwhile throwing a warning when mplot3d is used in conjunction with the Gtk backend? Mike On 08/12/2011 02:47 AM, Benjamin Root wrote: On Friday, August 12, 2011, WALTER Alain alain.wal...@thalesgroup.com mailto:alain.wal...@thalesgroup.com wrote: You're right I'm not

Re: [Matplotlib-users] segfault in matplotlib

2011-08-08 Thread Michael Droettboom
://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must

Re: [Matplotlib-users] Using comma as decimal separator

2011-08-05 Thread Michael Droettboom
I'm still puzzled here. The TeX file is definitely being generated with an unreasonably large size, which is what causes it to blow up. It gets the size from the size of the matplotlib figure, which I assume is being incorrectly calculated by the tight bounding box code. Of course, I can't

Re: [Matplotlib-users] how can i use utf-8 or just how can i plot the datetime in local settings ?

2011-08-01 Thread Michael Droettboom
a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science

Re: [Matplotlib-users] Using comma as decimal separator

2011-07-29 Thread Michael Droettboom
There isn't a really good way to do this at present. Maybe someone can suggest a workaround that doesn't require modifying matplotlib. However, I was able to produce a patch that will respect the user's current locale here: https://github.com/matplotlib/matplotlib/pull/410 Cheers, Mike On

Re: [Matplotlib-users] Using comma as decimal separator

2011-07-29 Thread Michael Droettboom
, I don't know exactly how to apply this patch. Is there a guide to applying patches to matplotlib or something like that? Any help will be appreciated. --- José Alexandre Nalon na...@terra.com.br Em 29/07/2011, às 12:08, Michael Droettboom escreveu: There isn't a really good way to do

Re: [Matplotlib-users] annotate

2011-07-18 Thread Michael Droettboom
.set_ylim(ymin=-5,ymax=35) ax2.set_xscale('log') ax1.annotate(, (1,-30), (2000,-30), arrowprops=dict(arrowstyle=-|,fc=b, ec=b)) ax2.annotate(, (100, 5), (2000, 5), arrowprops=dict(arrowstyle=-|,fc=r, ec=r)) pp.savefig('test_arrow.pdf') pp.show() -- Michael

Re: [Matplotlib-users] Savefig Question

2011-07-08 Thread Michael Droettboom
It's hard to say from the code snippet, but I would track down whether self.page_graph.figure is the figure that you think it is. It could be a Figure object without any axes on it. Cheers, Mike On 07/08/2011 03:55 AM, Sebastian Rhode wrote: Hi, I use the followng function for my

Re: [Matplotlib-users] math symbols with matplotlib basemap

2011-07-05 Thread Michael Droettboom
Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- All of the data

Re: [Matplotlib-users] bad screen distance tkinter error with German locale

2011-06-30 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] bad screen distance tkinter error with German locale

2011-06-30 Thread Michael Droettboom
On 06/30/2011 01:10 PM, Michael Droettboom wrote: I'm surprised this bug (which really lies in Tkinter) isn't more widely known -- searching the Python bug tracker revealed nothing. It would be great to follow-up there (with a standalone Tkinter-crashing example) if you're so inclined. I did

Re: [Matplotlib-users] bad screen distance tkinter error with German locale

2011-06-30 Thread Michael Droettboom
On 06/30/2011 01:10 PM, Michael Droettboom wrote: I'm surprised this bug (which really lies in Tkinter) isn't more widely known -- searching the Python bug tracker revealed nothing. It would be great to follow-up there (with a standalone Tkinter-crashing example) if you're so inclined. I did

Re: [Matplotlib-users] gimmicks/eye candy: Is for example fading possible?

2011-06-22 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] savefig very slow

2011-06-15 Thread Michael Droettboom
is very fast (2 seconds against 13 seconds). Is possible to make the program faster? Any idea? I use the 'Agg' backend and the latest version of matplotlib. Thank you in advance, -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Plan to merge the matplotlib-py3 branch?

2011-06-13 Thread Michael Droettboom
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- EditLive Enterprise is the world's

Re: [Matplotlib-users] embedding subset of fonts when saving to pdf

2011-05-27 Thread Michael Droettboom
Have you tried setting the rcParams pdf.fonttype to 3? That should subset the fonts. Also, the Cairo backend supports font subsetting. Mike On 05/27/2011 07:00 AM, Simon Jesenko wrote: Hi, I have a problem with large file-sizes of plots saved to pdf, when using

Re: [Matplotlib-users] mathbb and eps export

2011-05-27 Thread Michael Droettboom
, Oscar. On Tue, May 24, 2011 at 11:06:10AM -0400, Michael Droettboom wrote: You probably have ps.useafm set, right? Unfortunately, the stock Postscript AFM fonts do not have a blackboard style. Setting ps.useafm to False will use Truetype fonts, and it should work. Cheers, Mike On 05/24/2011

Re: [Matplotlib-users] mathbb and eps export

2011-05-24 Thread Michael Droettboom
. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch

Re: [Matplotlib-users] terminate called after throwing an instance of 'Py::AttributeError'

2011-05-18 Thread Michael Droettboom
Can you provide a stack trace -- either a Python one, or a gdb one? Mike On 05/18/2011 03:25 AM, Mark Hepburn wrote: Hi, I have a web application using matplotlib which is unpredictably crashing with the error message from the subject. It seems to be happening in ft2font, but I can't be

Re: [Matplotlib-users] latex just produces gibberish

2011-05-18 Thread Michael Droettboom
Are you setting text.usetex to True, or using matplotlib's built-in mathtext rendering? Can you attach an image? I've seen enough of these failure cases that I can often guess by looking at it ;) Mike On 05/18/2011 09:21 AM, Neal Becker wrote: Darren Dale wrote: On Tue, May 17, 2011 at

Re: [Matplotlib-users] latex just produces gibberish

2011-05-18 Thread Michael Droettboom
a bunch of information about font searching and hopefully track down why the Bakoma fonts are not getting found. Mike On 05/18/2011 11:36 AM, Neal Becker wrote: Michael Droettboom wrote: Are you setting text.usetex to True, or using matplotlib's built-in mathtext rendering? Can you attach

Re: [Matplotlib-users] use matplotlib to produce mathathematical expression only

2011-05-16 Thread Michael Droettboom
-- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn

Re: [Matplotlib-users] Text outside the graphs box

2011-05-13 Thread Michael Droettboom
/johannes -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know

Re: [Matplotlib-users] eps output and fill_between

2011-05-13 Thread Michael Droettboom
) ax.add_collection(c) ax.axis([-5, 10, -5, 10]) plt.savefig('test.eps') plt.show() -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Text outside the graphs box

2011-05-13 Thread Michael Droettboom
-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2011-05-12 Thread Michael Droettboom
://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Achieve unprecedented app performance and reliability

Re: [Matplotlib-users] strange behavior with the scatter() function

2011-05-02 Thread Michael Droettboom
://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- WhatsUp Gold - Download Free Network Management Software The most

Re: [Matplotlib-users] Annotate value of a variable with ax.annotate?

2011-04-29 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread Michael Droettboom
Currently it's hardcoded. You can see it in this line in backend_pdf.py: https://github.com/matplotlib/matplotlib/blob/9ca2c4118f684b4e145bd109008f77731d2d7cd4/lib/matplotlib/backends/backend_pdf.py#L1061 You could change that line. However, long term, I think we need to add a hatch_line_width

Re: [Matplotlib-users] Increase max polygons/patches

2011-04-21 Thread Michael Droettboom
mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Possible memory leak?

2011-04-21 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Memory leakage in matplotlib 1.0.1 with wx 2.8.11.0

2011-04-21 Thread Michael Droettboom
of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch

Re: [Matplotlib-users] Possible memory leak?

2011-04-20 Thread Michael Droettboom
On 04/20/2011 07:48 AM, Caleb Constantine wrote: On Tue, Apr 19, 2011 at 2:25 PM, Michael Droettboommd...@stsci.edu wrote: Ok. I have a RHEL5 Linux box with Python 2.7.1. With Numpy 1.4.1 and 1.5.1 I don't see any leaks. With Numpy git HEAD, I did see a leak -- I submitted a pull request

Re: [Matplotlib-users] Possible memory leak?

2011-04-19 Thread Michael Droettboom
. http://p.sf.net/sfu/vmware-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science

Re: [Matplotlib-users] Possible memory leak?

2011-04-19 Thread Michael Droettboom
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Benefiting from Server

Re: [Matplotlib-users] OverflowError: math range error

2011-04-18 Thread Michael Droettboom
Do you have a minimal script that reproduces this error? Cheers, Mike On 04/18/2011 07:37 AM, Muffles wrote: Hello all, I am getting this error, and im not very experienced with matplotlib, but in most files this code worked, but in some i just get this error: Traceback (most recent call

Re: [Matplotlib-users] matplotlib documentation broken link report

2011-04-08 Thread Michael Droettboom
reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science

Re: [Matplotlib-users] basemap docs not finding sphinx extensions

2011-04-07 Thread Michael Droettboom
Thanks. That change is due to a recent change I made in matplotlib. The inheritance_diagram Sphinx directive has existed in Sphinx itself for a long while now, so there was no need to maintain our old and crufty original version in matplotlib anymore. Since

Re: [Matplotlib-users] buttons in toolbar2

2011-04-07 Thread Michael Droettboom
I would love to see this work done, if for no other reason than removing a lot of duplicate code. Mike On 04/06/2011 02:43 PM, Eric Firing wrote: On 04/05/2011 10:57 PM, Wolfgang Kerzendorf wrote: Dear all, I have had a quick look at changing the buttons in toolbar2. This seems to be

Re: [Matplotlib-users] zorder for collections

2011-04-04 Thread Michael Droettboom
/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write

Re: [Matplotlib-users] problems with fonts

2011-04-04 Thread Michael Droettboom
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Xperia(TM) PLAY It's a major

Re: [Matplotlib-users] plot dict

2011-03-29 Thread Michael Droettboom
today! http://p.sf.net/sfu/intel-dev2devmar ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope

Re: [Matplotlib-users] matplotlib is slow

2011-03-28 Thread Michael Droettboom
I would recommend running the import in the Python profiler to determine where most of the time is going. When I investigated this a few years back, it was mainly due to loading the GUI toolkits, which are understandably quite large. You can avoid most of that by using the Agg backend. If

Re: [Matplotlib-users] ramp shaped bars?

2011-03-28 Thread Michael Droettboom
Would you mind filing a bug for this in the issue tracker? https://github.com/matplotlib/matplotlib/issues Mike From: Jim Ford [jford14...@gmail.com] Sent: Friday, March 25, 2011 11:25 AM To: matplotlib-users@lists.sourceforge.net Subject: Re:

Re: [Matplotlib-users] usetex = True + eps output - letters are only curves

2011-03-28 Thread Michael Droettboom
Set the ps.fonttype to 42, which will embed the entire font. ps.fonttype = 3 (the default) subsets the font to only the characters used in the plot, and stores them as curves for maximum portability. Mike From: Lebostein [lebost...@gmx.de] Sent: Friday,

Re: [Matplotlib-users] matplotlib figures missing text

2011-03-28 Thread Michael Droettboom
From: Andre' Walker-Loud [walksl...@gmail.com] Sent: Thursday, March 24, 2011 7:54 PM To: Michael Droettboom Cc: Matplotlib Users Subject: Re: [Matplotlib-users] matplotlib figures missing text Hi Michael, In both cases, I was first hoping someone else has

Re: [Matplotlib-users] matplotlib figures missing text

2011-03-24 Thread Michael Droettboom
On 03/24/2011 09:35 AM, Andre' Walker-Loud wrote: Hi All, I am having two slight irritating issues making figures with matplotlib (and have not found a solution with Google) I am running the Enthought 6.2 distribution (python 2.6, matplotlib 0.99.3, ipython 0.10, ...) which is installed

Re: [Matplotlib-users] png to slideshow (gif)

2011-03-18 Thread Michael Droettboom
There is an example showing how to create an MPEG-4 movie here: http://matplotlib.sourceforge.net/examples/animation/movie_demo.html Creating an animated gif would just be a matter of using the correct third-party tool that can combine a set of image frames. Mike

Re: [Matplotlib-users] savefig not deducing file format

2011-03-15 Thread Michael Droettboom
://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Colocation vs. Managed Hosting A question and answer guide

Re: [Matplotlib-users] Re : alternative to imshow with polar axes ?

2011-03-15 Thread Michael Droettboom
tried with polar=True ax2.imshow(np.flipud(np.swapaxes(polarcolorseq,0,1))) pylab.draw() -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Colocation vs. Managed

Re: [Matplotlib-users] built docs contain .pyc files

2011-03-04 Thread Michael Droettboom
/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview

Re: [Matplotlib-users] Building matplotlib py3k branch error

2011-02-22 Thread Michael Droettboom
First, the python3k branch is completely experimental and only about 10% complete. If your expectation is to have something that just works, you'll want to wait a while. We're hoping to hold a sprint next month to make some more progress on it. If you're hoping to help us out with it,

Re: [Matplotlib-users] Matplotlib Widget and QT Issue

2011-02-18 Thread Michael Droettboom
I think you'll need to manually set the color of the figure. I.e., given a figure object fig: fig.set_facecolor(...whatever Qt API gives you the default background color...) You could also experiment with fig.set_frameon(False) which will not draw a background rectangle at all for the

Re: [Matplotlib-users] ipython -pylab segmentation fault

2011-02-08 Thread Michael Droettboom
-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] STOP!

2011-02-01 Thread Michael Droettboom
You can unsubscribe here: https://sourceforge.net/mail/?group_id=80706 On 02/01/2011 12:50 PM, Andraz Omahen wrote: I just want you to stop sending massages to me form matplotlib. Thank you -- Special Offer--

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread Michael Droettboom
You're right -- matplotlib doesn't set any of these attributes. Fixing this problem would involve adding a few lines of code to set them in each GUI backend (since each GUI toolkit, gtk, qt, tk etc. presumably handles them differently). Is this something you'd be interested in providing a

Re: [Matplotlib-users] Why no STIX fonts?

2011-01-14 Thread Michael Droettboom
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] setting arial bold font

2011-01-13 Thread Michael Droettboom
list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA

Re: [Matplotlib-users] Problem with matplotlib 1.0.1 and psfrag (LaTeX)

2011-01-13 Thread Michael Droettboom
/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA -- Protect Your Site and Customers from Malware Attacks Learn about various malware

<    1   2   3   4   5   6   7   8   9   10   >