Re: [Matplotlib-users] [matplotlib-devel] Matplotlib and Numfocus Fiscal Sponsorship Agreement (FSA)
+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, matplotlib must continue to evolve. Complementary or alternative libraries are appearing at an increasing rate, including browser-based plotting and GPU acceleration. To maintain its leadership position for the next decade, Matplotlib must interface with these alternatives while simultaneously expanding its capabilities and becoming easier to use and learn. Matplotlib’s large existing user base (greater than 50,000) means that new developments need to be carefully balanced with maintaining existing interfaces. With the large user and code base comes a significant maintenance and user-support burden. These responsibilities currently account for a majority of the core-developer time spent on matplotlib and has resulted in both the code base and community being in a healthier state than ever before. Even 6 years ago there was no automated testing to speak of and the number of contributors continues to soar on github. However, this effort is, for the most part, done on a volunteer basis in the nights and weekends of the core developers. To go beyond this maintenance level—to make step-change improvements for the benefit of matplotlib’s users—will require funding for full-time developers. Inspired and encouraged by the example of IPython, we would like to begin the process of fundraising. Managing funding on the needed scale is a complex and time-consuming process. Thankfully, NumFOCUS, a 501(c)3 charity organisation co-founded by John Hunter, offers a fiscal sponsorship agreement to minimize the administrative and legal burden on open source projects. We would like to enlist NumFOCUS as our agents in all legal and financial matters, including banking, accepting donations as a non-profit, payroll, and access to legal counsel. As part of the agreement, NumFOCUS would charge a percentage of all funds raised to cover their costs. The full text of the agreement is attached. To comply with the legal and accounting requirements of a non-profit, matplotlib needs to form an administrative body to interact with NumFOCUS and direct the disbursement of any funds. The proposed initial members of the body, are myself (Mike Droettboom), Eric Firing, Phil Elson, and Thomas Caswell, with Thomas acting as the point of contact with NumFOCUS. In practice, signing an FSA will have very little impact on the matplotlib project itself - it will still be BSD-licensed and community-driven as it has always been, and the only motivation for doing this is to give us an opportunity to apply for funding to do more work on matplotlib. We'd like to canvas the community's opinion on the matter, but to put a concrete timeline on the discussion, we would like to propose signing an FSA with NumFOCUS in 3 weeks (Feb 10th 2015) unless there is a major community discomfort with us doing so. Cheers, Michael Droettboom * -- Michael Droettboom Science Software Branch Space Telescope Science Institute http://www.droettboom.com -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ Matplotlib-devel mailing list matplotlib-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- 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 -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!
On Fri, Aug 23, 2013 at 8:14 AM, Matt Terry matt.te...@gmail.com wrote: I'm banging away at installing MPL on top of python.org's python. This is why binary installers are good idea! the libfreetype/freetype issue. yeah, that's kind of uglyand where is doesn't just work for me... 1) install libpng[1] and freetype[2] from source libpng and freetype are different, though install from source may be the way to go: libpng is there, but is not properly installed, I'm not sure it's got the header for the same version as the lib, and libpng-config is either not there or not for the right version or somethign ugly. It look, form messages at build time, that someone has hacked some code into the MPL build that figures all that out, but for other stuff I'm doing, I just punt and build libpng -- that's pretty straighforward, at least. But teh solution in the MPL code now seems to work. 2) install XQuartz[3] and twiddle /opt/X11, /usr/X11 (per Russell's directions[4]) so MPL finds XQuartz's libpng/freetype I _think_ that OS-X now ships with X11, which has freetype (though installed weirdly once again...) we certainly should NOT expect people to install anything big to build MPL, and binaries should not depend on anything not shipped by Apple by default. According to Russell, you do need to install something, so I think that's out. 4) create the MPL binary installer and use that That's what most people should do -- but one of us needs to build it. Option 1 seems simple-est, but installing freetype requires more than ./configure make sudo make install. darn. But hopefully we can figure it out. Option 4: This would require some input from whoever (Gohlke?, Owen?) makes the binary installers. I think Russell has been doing it for MPL lately. My thoughts: We want to support two user-bases: 1) folks that don't mind a little command line work, and probably need other scientific libs, etc anyway, an want an MPL that runs on their machine: - these folks should use homebrew or macports to build the dependencies (or even hand-compile them). Ideally we have setup.py that will find those libs, and test to see that the builds work once in a while. 2) folks that just want to use it and/or want a binary they can re-distribute via py2app, etc. - for these folks, we need to provide binaries. These binaries should: 1) Match the python.org python builds. (probably only the Intel ones now...) 2) statically link the non-sytem libs This has been done for a while, off and on, most recently by Russell, AFAIK. But this is not a problem unique to MPL. All sorts of python packages need this, and only some of the package maintainers do it (well). Also, a bunch of packages require the same dependencies (i.e. PIL and MPL both need png and freetype) So, rather than re-inventing the wheel over and over again, It would be great to have a central repository where we can develop build scripts, etc that share an infrustructure for building these binaries. I've started one: https://github.com/MacPython/mac-builds there is not much there, only a couple things I'm working on at the moment (netCDF4, which is of interest to scipy folks, and py_gd, which is my own simple drawing lib, that no one else uses (yet?) If anyone wants to join the project let me know -- if I know you from your work with this community, I'll gladly add you. I'm using the gattai build system: (https://sourceforge.net/projects/gattai/). I decided to do that, as I was sick of re-writing essentially the same build scripts, and I kept adding features to mine that would have resulted in re-implementing gattai anyway. I've been hacking at gattai, and its author is quite open to moving it forward. That being 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... -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 -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] Calling to those embedding matplotlib in applications
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. 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 -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] closing figure inside a callback seg faults
On 10/15/10 5:16 PM, Paul Ivanov wrote: I want to do something like this: import matplotlib.pyplot as plt def onclick(event): if event.button==1: plt.close() fig = plt.gcf() cid = fig.canvas.mpl_connect('button_press_event', onclick) plt.show() I've tried several variations on this theme, but all of them cause crashes. Am I missing something? I'm using 1.0.0 with WXAgg thanks, I don't know if MPL events do anything like this, but since you are using 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 Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] matplotlib figure serialization
Michael Droettboom wrote: What is the advantage of JSON (is this specific case) over Python source code? matplotlib is designed around it and it's more flexible. Unless you're planning on automatically manipulating the JSON, I don't see why you wouldn't just use Python source. Indeed. There have been a few threads about this topic, and I think the consensus is that the way to auto-generate figures is with python. I don't think that there is any technical reason that one couldn't create a serialized version of an MPL figure in XML, 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? -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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape
Ian Thomas wrote: To summarise, you recommend the following units of functionality: 1) Triangulation class to wrap existing delaunay code. The idea here is that it would provide a class that holds the result of the triangulation. Yes, it would use the existing delaunay code by default, and hopefully optionally use the not-as-good-a-license code the Robert Kern put in SciPy. In the future, I hope we can find a robust and well-licensed code -- I may be able to release some in-house code of ours for that some day. 2) Separate the storage of and creation of contour sets so that you can create your own. 3) tricontour and tricontourf functions to contour a Triangulation. 4) Python utility plotting functions for a Triangulation (triplot, tripcolor, etc). 5) Simple wrappers for 3 and 4 so you can just pass in the points and the Triangulation is created for you behind the scenes. yup -- that all sounds great! I am happy to make a start with this; wonderful! no doubt it will take me a while. I should point out that I don't intend to tinker with the delaunay code, so we'll still left with those pathological cases that it doesn't work with. Maybe this can be revisited when I'm done. hopefully, there still doesn't appear to be a really good delaunay code with a flexible license out there -- pity. Do you want it all in one go, or one unit of functionality at a time (my preference)? I don't see any reason to add it piecemeal, as long as the pieces are useful by themselves. Let's see! I'll hold off starting until there have been some votes for it from other people. hmm -- I wonder if a post to matplotlib-devel is in order. Most of those folks are on this list, to, but may not be following this thread. By the way, it sounds like your 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 -- 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape
Robert Kern wrote: the triangulation. Yes, it would use the existing delaunay code by default, and hopefully optionally use the not-as-good-a-license code the Robert Kern put in SciPy. I did what now? I thought you'd put a wrapper of a delaunay code that is GPL'd or something (not BSD compatible anyway) into a scikit or something? optional -- so it doesn't screw up licensing for those that don't want it. Anyway, the point is, for any code that might be put into MPL, we want a properly licensed compatible default, but ideally with the option of easily plug in in other, better, delaunay code that may not be license compatible. Now that I've written this, I really should go and look and see if I remember correctly: I've found this: http://scikits.appspot.com/delaunay Though I see no reference to license in there, so I presume it's under the same license as scipy. So I guess I was thinking of the natgrid toolkit, which I guess is not Robert's work, and is a substitute for nn interpolation, not triangulation. Sorry for writing too quickly. While I've got your attention, though -- I 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/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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] embedding a plot function in existing wxapp GUI, problem replotting
Pribadi, Krishna wrote: Based on what I’ve been reading regarding MPL, it seems that the matplotlib show() function causes another instance of a GUI loop to remain suspended. right --don't use show(), in fact, don't use pylab for the most part: http://www.scipy.org/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/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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape
Ian Thomas wrote: I submitted some code to matplotlib-users last September to perform contouring of triangular grids. The posts and code can be found at: http://sourceforge.net/mailarchive/forum.php?thread_name=4AB3B95B.3090903%40noaa.govforum_name=matplotlib-users Like I wrote at the time, if it is useful to enough people I'm happy to improve the code provided it can be incorporated into mpl as I have no interest in maintaining it as a standalone project. I think it would be great to have in MPL. What code are you using for the triangulation? Does it do constrained delauney? -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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] help needed in plotting curved elements
Sameer Regmi wrote: We are working on plotting mesh (in hermes2d: http://hpfem.math.unr.edu/projects/hermes2d-new/) In the hermes2d examples curves are defined as [4, 7, 45] where 4,7 are vertices indices, and 45 is center angle. 1) matplot.path porvides a way to plot curve with three points http://matplotlib.sourceforge.net/api/path_api.html#module-matplotlib.path This is a Bezier spline -- it can not exactly form a piece of a circle (though it can get pretty close). You can probably find the math somewhere for how to approximate a circle, but... 2) matplot.patch.arc provides a way to plot an arc http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.patches but it needs - center of circle - start angle - end angle - radius of circle we have to calculate all these with data available to us Since this actually plots s circle, I think it's a better bet. It should be pretty straightforward coordinate geometry to find those parameters from the ones you have -- and you only have to write that once! This page (or others like it) might 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/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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installation woes: phantom Numpy version?
On Wed, Aug 6, 2008 at 5:02 PM, Richard Lawrence [EMAIL PROTECTED] wrote: My setup is: Mac Pro PPC G5, OS X 10.5.4 Python 2.5.1 (Apple build) Numpy 1.2.0.dev5615 -- ran svn update and rebuilt this morning REQUIRED DEPENDENCIES ~* numpy 1.1 or later is required; you have ~* 1.0.5.dev4673 Apple distributed a version of numpy with the system python, and set up sys.path so that their stuff would be found before site-packages, so you may be getting Apple's version of numpy rather than the one you built and installed. (I'm not running 10.5, so I can't supply details) There are ways to work around this -- a little googling should help you figure it out, but I recommend that you avoid the whole problem (and others) by installing python.org's build 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/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - 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 for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] MPL, py2exe and fonts
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 to support bold and italic etc, you'll also need VeraBd.tff, VeraBI.ttf and VeraIt.ttf). I removed all other fonts, and it works fine, thanks! Alternatively, you can change the default fonts in the matplotlibrc to ones that are included with Windows (e.g. Arial) -- I took a look in matplotlibrc, and saw what looks like a html-ish cascade of fonts to look for, and Arial was in there. So I tried removing all the fonts, and behold, the system fonts were used. So now all I have in the mpl-data dir is matplotlibrc. Then I thought, I haven't changed any defaults in matplotlibrc, either, so I pulled that out. Now it runs fine, but when I close, I get an error box: see the logfile: and indeed there is a pH.exe.log file, and in there is: C:\Documents and Settings\chris.barker\My Documents\HAZMAT\SmallTools\phCalculator\trunk\dist\pH.exe\matplotlib\__init__.py:520: UserWarning: Could not find matplotlibrc; using defaults C:\Documents and Settings\chris.barker\My Documents\HAZMAT\SmallTools\phCalculator\trunk\dist\pH.exe\matplotlib\__init__.py:566: UserWarning: could not find rc file; returning defaults Is there a way to supress those warnings and not write the logfile? I've never really liked matplotlibrc -- it's kind of nice not to have it at all, and it doesn't seem to be required. Maybe this is a wx issue -- how to bury that warning. So then I tried removing mpl-data, but the app wouldn't run, I got an error, and the logfile says: Traceback (most recent call last): File pH.py, line 8, in module File zipextimporter.pyo, line 82, in load_module File Lib\Gui.pyo, line 15, in module File wxaddons\__init__.pyo, line 180, in import_hook File zipextimporter.pyo, line 82, in load_module File matplotlib\__init__.pyo, line 639, in module File matplotlib\__init__.pyo, line 562, in rc_params File matplotlib\__init__.pyo, line 517, in matplotlib_fname File matplotlib\__init__.pyo, line 207, in wrapper File matplotlib\__init__.pyo, line 447, in _get_data_path_cached File matplotlib\__init__.pyo, line 443, in _get_data_path RuntimeError: Could not find the matplotlib data files since I'm not, in fact needing any of the files in mpl-data, it might be nice if this error could be moved to when it's actually needed. I do notice that there is already a if getattr(sys,'frozen',None) stanza, so maybe we could tweak something there. This may all be a pain, and I suppose this approach would only work with the simplest of MPL apps (like mine), but it would be nice to clean up MPL so that it plays better with py2exe and the like. -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] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] MPL, py2exe and fonts
Hi all, 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. I've already added to my script a few lines that delete the images dir, but I'd like to trim down the fonts to just those I need. I'm using the wxAgg back-end, with all default fonts -- does anyone know which those are? MPL version: 0.91.2 on Windows (duh!) by the way, is there any way to dump that data into the exe itself, rather than requiring it to be carried alongside? This makes me 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 PROTECTED] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] wxagg back-end bug on windows?
Hi all, I'm having an odd issue with the wxAgg back-end: windows XP python 2.5.2 (from python.org) wxPython 2.8.7.1 unicode (binary from wxPython.org) MPL 0.91.2 (binary from MPl site) when I run: import matplotlib matplotlib.use('wxagg') import pylab I get a popup dialog: This application failed to start because wxmsw26uh_vc.dll was not found It looks like it is looking for a wxPython2.6 dll, which it doesn't find, because I'm running wxPython2.8 I'm guessing this binary was compiled against wxPython2.6, but I thought the current wxAgg back-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 -- 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] - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] wxagg back-end bug on windows?
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 -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] - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users