Hi all, it appears that i needed to recompile MatPlotLib after installing the backend (WxPython, in my case). the basic plots appear now, it is time to solve new errors. thanks, ashish ===================================================
Date: Sat, 8 Nov 2008 00:13:06 +0530 From: "Ashish Asgekar" <[EMAIL PROTECTED]> Subject: [Matplotlib-users] plot window does not open To: matplotlib-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hello, I am running Python 2.5.2 on Fedora Core 7. recently removed previous versions of Scipy and Numpy (installed previously using YUM), and compiled and installed their latest versions using the source code. i also installed MatPlotLib from source. their versions are given below: Python 2.5.2 Numpy 1.1.0 Scipy 0.6.0 MatPlotLib 0.98.3 WxPython I try simple plot commands as the ones below. however, no plot window appears anywhere. i think i am doing something really silly here, like not linking to backend (see the error message below). i have looked at matplotlibrc file in my home area ~/matplotlib/.matplotlibrc plz suggest some remedy. thanks, ashish --------------------------------------- code import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.ylabel('some numbers') plt.show() ------------------------------------------- ------------------------------------------- response in Python Python 2.5 (r25:51908, Nov 6 2007, 16:54:01) [GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib.pyplot as plt >>> plt.plot([1,2,3]) [<matplotlib.lines.Line2D object at 0xa7ff2cc>] >>> plt.ylabel('some numbers') <matplotlib.text.Text object at 0xa7d21ec> >>> plt.show() ------------------------------------------- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users