Re: [Matplotlib-users] install on mac osx 10.7.5?
I've tried various ways of getting matplotlib on my OS X 10.7.5, and have it work with numpy, etc. The approach that worked most smoothly was using the conda package manager from contiuum analyticshttp://conda.pydata.org/docs/intro.html. At first I installed the complete anaconda distributionhttps://store.continuum.io/cshop/anaconda/which contains almost everything I wanted, plus a lot of stuff I don't need. And everything worked, including matplotlib. Since then I've learned that conda works great installing things one at a time while taking care of dependencies, so if all I want is matplotlib, I get that plus it dependencies, and it works. But if you want an easy, fast (but large) solution, install Anaconda. Conda has many other nice features that may or may not be useful to you. HTH, gary ~-~-~ On Sun, Feb 16, 2014 at 11:05 PM, Maggie Maes margaret.e.m...@gmail.comwrote: Hi everyone, Sorry if this is a redundant request, but I haven't been able to find any reliable sources online. I'm trying to install matplotlib on my mac with osx 10.7.5. I get the following error: unknowne4ce8f4d9c9c:matplotlib margaretmaes$ python setup.py build Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [1.4.x] python: yes [2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.5.1] six: yes [six was not found.] dateutil: yes [using dateutil version 1.5] tornado: yes [tornado was not found. It is required for the WebAgg backend. pip/easy_install may attempt to install it after matplotlib.] pyparsing: yes [pyparsing was not found. It is required for mathtext support. pip/easy_install may attempt to install it after matplotlib.] pycxx: yes [Couldn't import. Using local copy.] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: no [The C/C++ header for freetype2 (ft2build.h) could not be found. You may need to install the development package.] png: yes [pkg-config information for 'libpng' could not be found. Using unknown version.] qhull: yes [pkg-config information for 'qhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] tests: yes [nose 0.11.1 or later is required to run the matplotlib test suite. pip/easy_install may attempt to install it after matplotlib. / mock is required to run the matplotlib test suite. pip/easy_install may attempt to install it after matplotlib.] OPTIONAL BACKEND EXTENSIONS macosx: yes [installing, darwin] qt4agg: no [PyQt4 not found] gtk3agg: no [Requires pygobject to be installed.] gtk3cairo: no [Requires cairocffi or pycairo to be installed.] gtkagg: no [Requires pygtk] tkagg: no [The C/C++ header for Tk (tk.h) could not be found. You may need to install the development package.] wxagg: no [requires wxPython] gtk: no [Requires pygtk] agg: yes [installing] cairo: no [cairocffi or pycairo not found] windowing: no [Microsoft Windows only] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: no latex: no pdftops: no * The following required packages can not be built: * freetype I've tried symbolic linking freetype-related files in /usr/local (as seen here: http://stackoverflow.com/questions/4092994/unable-to-install-matplotlib-on-mac-os-x). I've also confirmed that freetype-related files are in my PATH environment variable. Could anyone point me in the right direction for installing the package? Many thanks, Maggie -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth,
[Matplotlib-users] online plotting site using MPL ?
I recall that there is an site online that produces all kinds of plots using mpl to render them. It has a name something like zumzum. Does anyone know what I'm talking about (and can you point me there?) thx, gary -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Matplotlib conflicts with IDLE
On Fri, Feb 5, 2010 at 3:46 PM, David MacQuigg macqu...@ece.arizona.edu wrote: I can't get Matplotlib to work with IDLE. plt.show() makes beutiful plots, but IDLE is hung. Entering exit in the little pop-up console window raises an exception in IDLE, and then leaves the plot window hung. It looks like the old dualing event loops problem with IDLE, although the Matplotlib docs don't use that phrase. The way I ususally solve this is to use IDLE for editing my scripts, and a separate shell to actually run them. Here, I'm not using a saved script. This needs to work interactively, for students using Python in a physics class. I see that little console window, and it sure looks like that was intended to do what I need, but I can't find any documentation on the commands. How do I switch back and forth between IDLE and the plot window without leaving some process in limbo? Even better, is there an option to have the event loop automatically switch back to IDLE after each update? I'm running on Mac OS-X, so it looks like IPython is not an option. Also, I would rather stick with IDLE. It is the perfect IDE for non-CS students who shouldn't be spending their time on the complexities of a plotting package. There's a different version of Idle called VIdle that is supposed to fix certain problems. I haven't a clue if yours is one of them, but you might try it. It comes standard in VPython http://www.vpython.org ... I don't know if it's available separately. -- View this message in context: http://old.nabble.com/Matplotlib-conflicts-with-IDLE-tp27473693p27473693.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython
On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson sierra_mtnv...@sbcglobal.netwrote: Good. Thanks. Interesting that ls and pwd are used for Win, but that's fine. How do I copy parts of the window? All I can do at the moment is sweep out a rectangular area with the mouse. It looks like I underestimated the need for automagic. Copy and paste from a Windows command shell is different that copy and paste from *nix command shell. Right-click in the command window Choose Mark from the drop-down menu Select the (rectangular) region of text you want to copy. Hit Return. That does a copy operation. Then go to your other application, and paste however you like. David Arnold wrote: Depends on whether automagic is enabled or not. If automagic is OFF, you need to enter the %, as in %cd. If automagic is ON (the default), then you don't need to enter the %, as in cd. automagic can be toggled on and off as follows: In [8]: automagic Automagic is OFF, % prefix IS needed for magic functions. In [9]: %automagic Automagic is ON, % prefix NOT needed for magic functions. On my mac, I can change to my home directory as follows: In [10]: cd /Users/darnold I can list the files in this directory with: In [11]: ls Desktop/Movies/context/ Documents/Music/java.log.344 Downloads/NetBeansProjects/java.log.415 Dropbox/Pictures/luatex-cache/ Library/Public/matlab_crash_dump.344 LizThesis/Sites/matlab_crash_dump.415 I can cd into my Sites folder with: In [12]: cd Sites /Users/darnold/Sites I can get the current directory with: In [13]: pwd Out[13]: '/Users/darnold/Sites' I can move up a directory level with: In [14]: cd .. /Users/darnold Hope this helps. D. On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: I've seen the tutorial, but need something more. How do I know what folder I'm in? How do I move from where I am to, for example, C:\abc\def? So far I've tried various combinations like this: cd .. cd C:\ pwd (yes, I know it's not windows) I tried %cd .., and that may have moved me but I seem to get back to the same place. I seem to be in C:\Documents and Settings\administrator. If I doa %cp ..\\ it looks like I get to C:\, but follwing that with pwd gets me back to where I started--C:\Documents and Settings\administrator. If I want to execute a program with %run, I need to be where abc.py is or, perhaps say something like %run C:\myPyPrograms\abc.py. Dir doesn't work and I haven't been able to even see what's in the folder. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet ... humans'innate skills with numbers isn't much better than that of rats and dolphins. -- Stanislas Dehaene, neurosurgeon Web Page: www.speckledwithstars.net/ -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet ... humans'innate skills with numbers isn't much better than that of rats and dolphins. -- Stanislas Dehaene, neurosurgeon Web Page: www.speckledwithstars.net/ -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net
Re: [Matplotlib-users] 0.98.6svn Windows
On Tue, Jun 23, 2009 at 12:45 PM, Ryan Wagnerrwag...@vni.com wrote: I hate to ask this question. Is there somewhere I can download the latest svn release compiled for Windows? I have been completely unsuccessful in compiling MPL for windows and rely on the binaries, but I need to work with the mplot3D functionality. From what I’ve seen on Linux, it looks great! TIA -Ryan An option to consider: run Linux in a virtual machine on a Windows host. I have a similar situation (unrelated to MPL) and that's what I do. Works great for me. I've tried VMware, VirtualBox, and AndLinux. All work, but I alternate between VirtualBox (probably because that's the one I tried first) and AndLinux. VirtualBox was *very easy* to set up, and it Just Works (ymmv). AndLinux is an intriguing option; it's not a Linux emulator (if that's the right word). It runs a Linux kernel as a Windows process, so it behaves as if it were a Windows app. Similar apparent behavior is available in VirtualBox; I think they call it seamless mode. AndLinux is a little bit harder to set up than VirtualBox. I did some **very rough** speed checks. AndLinux seems to run numpy programs at about 80% of native Windows speed. VirtualBox is about 10% slower than AndLinux. (That was *one* test on *one* script.) Networking works fine in both. I've compiled Sage, and ran a Sage notebook webserver from both VirtualBox and AndLinux, accessing the server from another machine. Everything works. -gary -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Integrating matplotlib into a GUI
On Sun, Apr 26, 2009 at 6:41 PM, Gökhan SEVER gokhanse...@gmail.com wrote: Hello, Thanks for the pointer Bryan. I also seen Gael's tutorial (http://gael-varoquaux.info/computers/traits_tutorial/index.html) To me, it seems much easier to use Traits, instead of learning WX or QT. It is. I had spent hours learning Tk, Wx, and Qt looking for a practical gui solution ... but then I found Traits and I haven't looked back. They are still confusing to me, and seemingly Traits is there to help me implement what I have had in my mind for a while. Gökhan On Sun, Apr 26, 2009 at 2:52 AM, Bryan Cole br...@cole.uklinux.net wrote: I know wxPython or PyQt seems way to go on this issue. But (there is always this but :) there is Chaco on the Enthought side and with nicely and simply integration with Traits and Traits UI. Are there anybody in the group that design a similar tool for their scientific data analysis needs? Could I get some insight into this? Any recommendations or pointers? Why's and why not's? You can integrate matplotlib plots into a Traits app. I wrote this recipe: http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI Both Chaco and Matplotlib are excellent. If you want multiple interactive elements in your plot (drag-able labels, cursors etc.), Chaco is probably the best bet. However, for quick data-exploration apps, I find matplotlib quicker to set up (it's defaults just work, whereas Chaco takes a bit more preparation). Either way, Traits is indispensable. BC Thank you Gökhan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg
On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you have numpy installed? yes, from svn Is it working? it seems to be. Nothing I use is broken. Everything I've tried works. Are you compiling matplotlib from source? yes, version 0.90, the released sourceforge tarball What version of Ubuntu are you using (Dapper? Edgy?) Kubuntu Edgy. 6.10. Python 2.4.7 numpy 1.0.2.dev3546 Gary Pajer wrote: [sorry if this appears more than once. The list manager is timing out when I try to change my email address, so I can't tell if it has taken effect] No_module_named _ns_backend_agg I've set to True everything in setupext.py that had agg in it. This is my first time building on ubuntu. I spent lots of time chasing down dependencies, and there are no errors during the build. Help please? TIA, gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg
On 2/20/07, Gary Pajer [EMAIL PROTECTED] wrote: On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you have numpy installed? yes, from svn [...] Python 2.4.7 typo: 2.4.4 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg
Solved. I had missed the default setting of Numerix to Numeric. Changed it to numpy, and everything is ok. On 2/20/07, Gary Pajer [EMAIL PROTECTED] wrote: [sorry if this appears more than once] On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you have numpy installed? Is it working? Are you compiling matplotlib from source? What version of Ubuntu are you using (Dapper? Edgy?) Numpy 1.0.2.dev (very recent) compiled from svn source, installed and appears to be working correctly. Compiling MPL 0.90 (sourceforge tarball) from source. Kubuntu Edgy 6.10 (Python 3.4.4) Gary Pajer wrote: [sorry if this appears more than once. The list manager is timing out when I try to change my email address, so I can't tell if it has taken effect] No_module_named _ns_backend_agg I've set to True everything in setupext.py that had agg in it. This is my first time building on ubuntu. I spent lots of time chasing down dependencies, and there are no errors during the build. Help please? TIA, gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg
[sorry if this appears more than once. The list manager is timing out when I try to change my email address, so I can't tell if it has taken effect] No_module_named _ns_backend_agg I've set to True everything in setupext.py that had agg in it. This is my first time building on ubuntu. I spent lots of time chasing down dependencies, and there are no errors during the build. Help please? TIA, gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users