You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(19) |
2
(3) |
3
(12) |
4
(2) |
5
|
6
(9) |
7
(27) |
8
(39) |
9
(17) |
10
(22) |
11
(5) |
12
(1) |
13
(11) |
14
(12) |
15
(14) |
16
(29) |
17
(32) |
18
(8) |
19
(3) |
20
(10) |
21
(27) |
22
(11) |
23
(8) |
24
(4) |
25
(4) |
26
(3) |
27
(18) |
28
(7) |
29
(29) |
30
(13) |
31
(4) |
|
I would check to make sure you installed freetype right.. You may also consider installing freetype2 from the i-Installer (usually used for TeX installs, but has tones of other goodies). I have had good luck with this binary installation, where I have had trouble (admittedly some time ago) with homemade freetype installs from source. -Rob. On Mar 16, 2006, at 2:37 PM, Vidar Gundersen wrote: > ===== Original message from Charlie Moad | 16 Mar 2006: >> This looks like the same error you get if you try to link against >> Apple's bundled freetype in /usr/X11R6/lib. Also, the >> "libfreetype.6" >> makes me think this library is not freetype2. > > i've installed freetype2 in /usr/local/ : > > buri:~/Desktop vidar$ ls /usr/local/lib/libfreetype.* > /usr/local/lib/libfreetype.6.3.8.dylib /usr/local/lib/ > libfreetype.dylib > /usr/local/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.la > /usr/local/lib/libfreetype.a ----- Rob Hetland, Assistant Professor Dept of Oceanography, Texas A&M University p: 979-458-0096, f: 979-845-6331 e: he...@ta..., w: http://pong.tamu.edu
Hello, I have been using Python as a precision extended Calculator. This works = great! I am learning to program Python, it is a powerful langurge,=20 but I am not a power programmer.=20 It would be nice to be able to be a better programmer, I would like = that! but I only want to use Python to generate and plot data!=20 I write programs only to help me with my work. =20 Python is installed on a Widows XP machine at C:\Program Files\Python Also installed is the Python enthought edition at C:\Python23 I use the Idle shell GUI to write, edit, and run Python programs.=20 I do not run or use Python from the dos command line. For linear x-axis data, I used a range(42) Python statement to create successive integers, (0 to 41) for my x array (list) data. I also have 20 y-axis data arrays (Lists) of 42 elements of floating = point data, I want to plot one or more of these sets of y-axis data (log or semilog) with 60 decades of y-axis display, precision floating point data=20 with values from 1e-30 to 1e+30 range.=20 (This large range results from particle energy, frequency, capacitance, = etc. data plotted on the same scale) I have not been able to do any simple plotting=20 because I can't get matplotlib and Python to work together. I get lost trying to discover if my problem is a path problem, install = directory problem, backend and Idle GUI conflict., etc. I have installed and uninstalled = several times. Is there a working executable install available that already has a = everythin?=20 Compatible GUI, rendering engine, etc and all the neccessary stuff = already selected? If not, is there somewhre a list definitely compatible components,=20 and a list of steps to follow, that will definitely result=20 in a working marriage of Python and Matplotlib? Yes I have been trying to read doccumentation, FAQ, etc. but I can't quite put it all together. Thanks for any help.that anyone can give.
Hello, I need to create a Linear Regression plot where the vertices are plotted on a logarithmic plane and the regression line is plotted on a linear plane. The two are then combined. Here is what I have so far: from pylab import * prediction_experiment = [(313.11000000000001, 25.797999999999998), (4499.1999999999998, 25000.0), (168830.0, 440000.0), (143090.0, 78571.399999999994), (34811.0, 78571.399999999994), (161240.0, 70967.699999999997)] def log10Product(x, pos): """The two args are the value and tick position. Label ticks with the product of the exponentiation""" return '%1i' % (x) def generateLRPlot(): prediction_experiment.sort() x, y = map(array, zip(*prediction_experiment)) ax = subplot(111) ax.set_xscale('log') ax.set_yscale('log') formatter = FuncFormatter(log10Product) ax.xaxis.set_major_formatter(formatter) ax.yaxis.set_major_formatter(formatter) # the bestfit line from polyfit m, b = polyfit(x, y, 1) # a line is 1st order polynomial... plot(x, y, 'b.', x, m*x+b, 'r', linewidth=0.1, markersize=2) # Must add 1 to allow the last decades label to be shown ax.set_xlim(1e-1, max(x)+1) ax.set_ylim(1e-1, max(y)+1) grid(True) xlabel(r"Prediction", fontsize = 12) ylabel(r"Experimental IC50 [nM]", fontsize = 12) show() # clear the matplotlib figure and axis clf() cla() generateLRPlot() Thanks for the help, Derek Basch __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
===== Original message from Charlie Moad | 16 Mar 2006: > This looks like the same error you get if you try to link against > Apple's bundled freetype in /usr/X11R6/lib. Also, the "libfreetype.6" > makes me think this library is not freetype2. i've installed freetype2 in /usr/local/ : buri:~/Desktop vidar$ ls /usr/local/lib/libfreetype.* /usr/local/lib/libfreetype.6.3.8.dylib /usr/local/lib/libfreetype.dylib /usr/local/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.la /usr/local/lib/libfreetype.a
>>>>> "Charlie" == Charlie Moad <cw...@gm...> writes: Charlie> Since this is in 2.4, I almost want to say we should Charlie> just point python2.3 users to a download url if there is Charlie> an error on import. Kinda like IPython does if it can't Charlie> import readline. One problem with this approach and the code as it exists is that agg and ps both import texmanager. If texmanager import fails w/o subprocess, that means it's an extra headache for people who don't need texmanager or it's functionality. So I suggest either we distribute it or reorganize the imports so that the only people who get a failure are those actually using texmanager. Heck, if they can get tex installed and working on win32, I figure they would jump through just about any hoop :-) Since we already are distributing it, I'm inclined at this point to fix the bug and continue with this path. JDH
Charlie Moad wrote: > This looks like the same error you get if you try to link against > Apple's bundled freetype in /usr/X11R6/lib. Also, the "libfreetype.6" > makes me think this library is not freetype2. No, that is the correct soname for FreeType2's libfreetype library. -- Robert Kern rob...@gm... "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
This looks like the same error you get if you try to link against Apple's bundled freetype in /usr/X11R6/lib. Also, the "libfreetype.6" makes me think this library is not freetype2. How did you install freetype? - Charlie On 3/16/06, Vidar Gundersen <vid...@37...> wrote: > > what's causing this problem? > i've been compiling all recent matplotlib releases > on my system, but 0.87.x cause problems: > > buri:~/Desktop/matplotlib-0.87.2 vidar$ python > Python 2.4.2 (#1, Jan 9 2006, 02:03:19) > [GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import pylab > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/local/lib/python2.4/site-packages/pylab.py", line 1, in ? > from matplotlib.pylab import * > File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line= 200, in ? > from axes import Axes, PolarAxes > File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line = 15, in ? > from axis import XAxis, YAxis > File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line = 25, in ? > from font_manager import FontProperties > File "/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py= ", line 39, in ? > from matplotlib import ft2font > ImportError: Failure linking new module: /usr/local/lib/python2.4/site-pa= ckages/matplotlib/ft2font.so: Symbol not found: _FT_Get_PS_Font_Info > Referenced from: /usr/local/lib/python2.4/site-packages/matplotlib/ft2f= ont.so > Expected in: /usr/local/lib/libfreetype.6.dylib > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Since this is in 2.4, I almost want to say we should just point python2.3 users to a download url if there is an error on import.=20 Kinda like IPython does if it can't import readline. On 3/16/06, Darren Dale <dd...@co...> wrote: > On Thursday 16 March 2006 14:33, da...@in... wrote: > > Hi All, > > > > I installed the new release for win32 and python 2.3 but > > every time that I import the pylab, I receive the > > following error: > [...] > > "C:\Python23\Lib\site-packages\matplotlib\texmanager.py", > > line 37, in ? > > from subprocess import Popen, STDOUT, PIPE > > File > > "C:\Python23\Lib\site-packages\subprocess\__init__.py", > > line 366, in ? > > from _subprocess import * > > ImportError: No module named _subprocess > > Do you have pywin32 installed on your computer? If so, you can change lin= e 353 > of subprocess/__init__.py to read "if 1:". > > I'll work on a proper fix. In my defense, I posted to this list on March = 8 > asking for windows users with python-2.3 to test the subprocess module, a= long > with a link to the file on my webpage. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
what's causing this problem? i've been compiling all recent matplotlib releases on my system, but 0.87.x cause problems: buri:~/Desktop/matplotlib-0.87.2 vidar$ python Python 2.4.2 (#1, Jan 9 2006, 02:03:19) [GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pylab Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 200, in ? from axes import Axes, PolarAxes File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 15, in ? from axis import XAxis, YAxis File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line 25, in ? from font_manager import FontProperties File "/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py", line 39, in ? from matplotlib import ft2font ImportError: Failure linking new module: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so: Symbol not found: _FT_Get_PS_Font_Info Referenced from: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so Expected in: /usr/local/lib/libfreetype.6.dylib
On Thursday 16 March 2006 14:33, da...@in... wrote: > Hi All, > > I installed the new release for win32 and python 2.3 but > every time that I import the pylab, I receive the > following error: [...] > "C:\Python23\Lib\site-packages\matplotlib\texmanager.py", > line 37, in ? > from subprocess import Popen, STDOUT, PIPE > File > "C:\Python23\Lib\site-packages\subprocess\__init__.py", > line 366, in ? > from _subprocess import * > ImportError: No module named _subprocess Do you have pywin32 installed on your computer? If so, you can change line 353 of subprocess/__init__.py to read "if 1:". I'll work on a proper fix. In my defense, I posted to this list on March 8 asking for windows users with python-2.3 to test the subprocess module, along with a link to the file on my webpage.
This is sneaking in for python2.3 and windows. Here is the code culprit below. We'll have to look into where this _subprocess module is supposed to be coming from. For now you can download "http://effbot.org/downloads/subprocess-0.1-20041012.win32-py2.3.exe" from "http://effbot.org/downloads/". I'll post a new python2.3 build shortly that includes this. if mswindows: import threading import msvcrt if 0: # <-- change this to use pywin32 instead of the _subprocess drive= r import pywintypes from win32api import GetStdHandle, STD_INPUT_HANDLE, \ STD_OUTPUT_HANDLE, STD_ERROR_HANDLE from win32api import GetCurrentProcess, DuplicateHandle, \ GetModuleFileName, GetVersion from win32con import DUPLICATE_SAME_ACCESS, SW_HIDE from win32pipe import CreatePipe from win32process import CreateProcess, STARTUPINFO, \ GetExitCodeProcess, STARTF_USESTDHANDLES, = \ STARTF_USESHOWWINDOW, CREATE_NEW_CONSOLE from win32event import WaitForSingleObject, INFINITE, WAIT_OBJECT_0 else: from _subprocess import * class STARTUPINFO: dwFlags =3D 0 hStdInput =3D None hStdOutput =3D None hStdError =3D None class pywintypes: error =3D IOError else: import select import errno import fcntl import pickle On 3/16/06, da...@in... <da...@in...> wrote: > Hi All, > > I installed the new release for win32 and python 2.3 but > every time that I import the pylab, I receive the > following error: > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\Python23>python FIRExample --verbose-helpful > matplotlib data path > C:\Python23\lib\site-packages\matplotlib\mpl-data > $HOME=3DC:\Documents and Settings\a > CONFIGDIR=3DC:\Documents and Settings\a\.matplotlib > loaded rc file > C:\Python23\lib\site-packages\matplotlib\mpl-data\matplotlibrc > matplotlib version 0.87.2 > verbose.level helpful > interactive is False > platform is win32 > numerix Numeric 23.6 > font search path > ['C:\\Python23\\lib\\site-packages\\matplotlib\\mpl-data'] > loaded ttfcache file C:\Documents and > Settings\a\.matplotlib\ttffont. > cache > Traceback (most recent call last): > File "FIRExample", line 2, in ? > import pylab > File "C:\Python23\Lib\site-packages\pylab.py", line 1, > in ? > from matplotlib.pylab import * > File > "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line > 219, in ? > new_figure_manager, draw_if_interactive, show =3D > pylab_setup() > File > "C:\Python23\Lib\site-packages\matplotlib\backends\__init__.py", > line 23, > in pylab_setup > globals(),locals(),[backend_name]) > File > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", > lin > e 9, in ? > from backend_agg import FigureCanvasAgg > File > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", > line > 86, in ? > from matplotlib.texmanager import TexManager > File > "C:\Python23\Lib\site-packages\matplotlib\texmanager.py", > line 37, in ? > from subprocess import Popen, STDOUT, PIPE > File > "C:\Python23\Lib\site-packages\subprocess\__init__.py", > line 366, in ? > from _subprocess import * > ImportError: No module named _subprocess > > > Also the User's Guide doesn't work. The pdf file seems to > be damaged. > Can you help me? > > Thanks in advance > > Daigos > > > INFINITO ADSLFLAT 4 MEGA: SOLO 27,90 EURO AL MESE IVA INCLUSA IP STATICO,= BANDA GARANTITA 256Kbps ANTIVIRUS E FIREWALL INCLUSI NEL PREZZO > > http://adsl.infinito.it > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hi All, I installed the new release for win32 and python 2.3 but every time that I import the pylab, I receive the following error: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Python23>python FIRExample --verbose-helpful matplotlib data path C:\Python23\lib\site-packages\matplotlib\mpl-data $HOME=C:\Documents and Settings\a CONFIGDIR=C:\Documents and Settings\a\.matplotlib loaded rc file C:\Python23\lib\site-packages\matplotlib\mpl-data\matplotlibrc matplotlib version 0.87.2 verbose.level helpful interactive is False platform is win32 numerix Numeric 23.6 font search path ['C:\\Python23\\lib\\site-packages\\matplotlib\\mpl-data'] loaded ttfcache file C:\Documents and Settings\a\.matplotlib\ttffont. cache Traceback (most recent call last): File "FIRExample", line 2, in ? import pylab File "C:\Python23\Lib\site-packages\pylab.py", line 1, in ? from matplotlib.pylab import * File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 219, in ? new_figure_manager, draw_if_interactive, show = pylab_setup() File "C:\Python23\Lib\site-packages\matplotlib\backends\__init__.py", line 23, in pylab_setup globals(),locals(),[backend_name]) File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", lin e 9, in ? from backend_agg import FigureCanvasAgg File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", line 86, in ? from matplotlib.texmanager import TexManager File "C:\Python23\Lib\site-packages\matplotlib\texmanager.py", line 37, in ? from subprocess import Popen, STDOUT, PIPE File "C:\Python23\Lib\site-packages\subprocess\__init__.py", line 366, in ? from _subprocess import * ImportError: No module named _subprocess Also the User's Guide doesn't work. The pdf file seems to be damaged. Can you help me? Thanks in advance Daigos INFINITO ADSLFLAT 4 MEGA: SOLO 27,90 EURO AL MESE IVA INCLUSA IP STATICO, BANDA GARANTITA 256Kbps ANTIVIRUS E FIREWALL INCLUSI NEL PREZZO http://adsl.infinito.it
John Hunter wrote: > Since the various numpy releases are >not binary compatible, if you are using matplotlib-0.87.2 with numpy >on win32, you will need numpy-0.9.6. > Just for clarification, the various Numeric and numarray releases are not binary compatible, either. But numpy checks version numbers and fails loudly if they don't match, while Numeric and numarray continue silently trying to run, resulting in segfaults or undefined behavior later on.
I always compile the binaries against all 3 of the latest array libs.=20 For 0.87.2 I used: numarray-1.5.1 Numeric-24.2 numpy-0.9.6 Numpy has been the moving target as of late, so that is why I mentioned it specifically. On 3/16/06, John Hunter <jdh...@ac...> wrote: > >>>>> "Mark" =3D=3D Mark Bakker <ma...@gm...> writes: > > Mark> John, Charlie - Just for us mere mortals, could you fill us > Mark> in here. The email states 'compiled against numpy-0.9.6', > Mark> but it still runs with Numeric, correct? > > Correct. I assume Charlie meant that the win32 binaries he compiled > were compiled with numpy-0.9.6. Since the various numpy releases are > not binary compatible, if you are using matplotlib-0.87.2 with numpy > on win32, you will need numpy-0.9.6. But I believe the win32 binaries > also have Numeric and numarray support compiled in. > > Mark> Are there plans for fully moving to numpy and leaving > Mark> Numeric behind? > > We have talked about this but there are no concrete plans at this > point. We would like to see widespread adoption of numpy first. I > think this is feasible in a 6 month time frame, as most of the > lingering issues (eg, nd_image) are rapidly falling into place. > > JDH > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Is there any reason for having mpl3d as a separate package ? I mean it would be nice if mpl3d becomes a part of pylab. Nils
>>>>> "Mark" == Mark Bakker <ma...@gm...> writes: Mark> John, Charlie - Just for us mere mortals, could you fill us Mark> in here. The email states 'compiled against numpy-0.9.6', Mark> but it still runs with Numeric, correct? Correct. I assume Charlie meant that the win32 binaries he compiled were compiled with numpy-0.9.6. Since the various numpy releases are not binary compatible, if you are using matplotlib-0.87.2 with numpy on win32, you will need numpy-0.9.6. But I believe the win32 binaries also have Numeric and numarray support compiled in. Mark> Are there plans for fully moving to numpy and leaving Mark> Numeric behind? We have talked about this but there are no concrete plans at this point. We would like to see widespread adoption of numpy first. I think this is feasible in a 6 month time frame, as most of the lingering issues (eg, nd_image) are rapidly falling into place. JDH
Would it be possible to change the default reply-to address associated with the mpl list? I prefer the settings of the scipy list where the default is to reply to the list. With mpl, I have to add the list manually. ---------- Forwarded message ---------- From: Ryan Krauss <rya...@gm...> Date: Mar 16, 2006 11:11 AM Subject: Re: [Matplotlib-users] TkAgg vs. GTKAgg ioff cla behavior To: John Hunter <jdh...@ac...> So, I have some complicated script that doesn't seem to update my graphs properly with the GTKAgg backend and does update them with the TkAgg backend (using ipython), but I can't seem to recreate the behavior with a simple script. If I can come up with a good, simple example I will re-post. Otherwise I guess we need to assume that I am doing something wrong somewhere in my complicated script. Ryan On 3/15/06, John Hunter <jdh...@ac...> wrote: > >>>>> "Ryan" =3D=3D Ryan Krauss <rya...@gm...> writes: > > Ryan> the GTKAgg backend does not show the plot of y2. > > On my system I get the plot of y2 (cos, not sin) -- here is the > complete script I am using and the --verbose-helpful output below > > Example script: > > from pylab import * > t=3Darange(0,1,0.01) > y=3Dsin(2*pi*t) > y2=3Dcos(2*pi*t) > figure(1) > plot(t,y) > ioff() > cla() > plot(t,y2) > show() > > verbose helpful output: > > matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-da= ta > $HOME=3D/home/jdhunter > CONFIGDIR=3D/home/jdhunter/.matplotlib > loaded rc file /home/jdhunter/.matplotlib/matplotlibrc > matplotlib version 0.87.2svn > verbose.level helpful > interactive is False > platform is linux2 > numerix numpy 0.9.7.2247 > font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data= '] > loaded ttfcache file /home/jdhunter/.matplotlib/ttffont.cache > backend GTKAgg version 2.6.1 > > Ryan> Is this a bug, something wrong on my system, or does it make > Ryan> sense that the GTKAgg backend ignores everything after > Ryan> ioff()? > > All ion and ioff do is control when the drawing takes place. If "ion" > (interactive is True) then the figure should be redrawn with every > pylab command. If "ioff" (interactive is off) the figure is only > drawn with a call to savefig, draw or show. That's how it is supposed > to work -- the details are spelled out at > http://matplotlib.sf.net/interactive.html > > Let us know if you see further strangeness, and be sure to report the > output of verbose-helpful > > JDH >
John, Charlie - Just for us mere mortals, could you fill us in here. The email states 'compiled against numpy-0.9.6', but it still runs with Numeric, correct? Are there plans for fully moving to numpy and leaving Numeric behind? Thanks again, Mark
He really meant matplotlib-0.87.2, I think :-) JDH
>>>>> "Nils" == Nils Wagner <nw...@me...> writes: Nils> Hi all, I have discretized the surface of a cube with a Nils> number of nodes. The coordinates of these nodes are stored Nils> in a two dimensional array x. shape(x) (3, 96) Nils> Each column refers to a node while the rows contain the Nils> x,y,z coordinates. Is it possible to visualize such a Nils> three-dimensional grid with matplotlib ? Hey Nils, You could plot these as a 3D scatter plot using mplot3 which is a matplotlib 3D extensions module http://www.scipy.org/Cookbook/Matplotlib/mplot3D but you may be better off with a dedicated 3D lib such as VTK/Mayavi2 depending on your requirements. JDH
Compiled against numpy-0.9.6 http://sourceforge.net/project/showfiles.php?group_id=3D80706 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 2006年03月16日 Released 0.87.2 2006年03月15日 Fixed bug in MaxNLocator revealed by da...@in.... The main change is that Locator.nonsingular now adjusts vmin and vmax if they are nearly the same, not just if they are equal. A new kwarg, "tiny", sets the threshold. - EF 2006年03月14日 Added import of compatibility library for newer numpy linear_algebra - TEO 2006年03月12日 Extended "load" function to support individual columns and moved "load" and "save" into matplotlib.mlab so they can be used outside of pylab -- see examples/load_converter.py - JDH 2006年03月12日 Added AutoDateFormatter and AutoDateLocator submitted by James Evans. Try the load_converter.py example for a demo. - ADS 2006年03月11日 Added subprocess module from python-2.4 - DSD 2006年03月11日 Fixed landscape orientation support with the usetex option. The backend_ps print_figure method was getting complicated, I added a _print_figure_tex method to maintain some degree of sanity - DSD 2006年03月11日 Added "papertype" savefig kwarg for setting postscript papersizes. papertype and ps.papersize rc setting can also be set to "auto" to autoscale pagesizes - DSD 2006年03月09日 Apply P-J's patch to make pstoeps work on windows patch report # 1445612 - DSD 2006年03月09日 Make backend rc parameter case-insensitive - DSD 2006年03月07日 Fixed bug in backend_ps related to C0-C6 papersizes, which were causing problems with postscript viewers. Supported page sizes include letter, legal, ledger, A0-A10, and B0-B10 - DSD
Hi all, I have discretized the surface of a cube with a number of nodes. The coordinates of these nodes are stored in a two dimensional array x. shape(x) (3, 96) Each column refers to a node while the rows contain the x,y,z coordinates. Is it possible to visualize such a three-dimensional grid with matplotlib ? Nils
John, I think this one is fixed now in SVN. Additional torture testing is welcome. Eric John Hunter wrote: >>>>>>"Daigos" == <da...@in...> writes: > > > Daigos> Hi all, I am a new user of this library and scipy but I > Daigos> see something strange when I run the following script: > > This looks like a bug in the AutoLocator, possibly in resulting from > the new MaxNLocator introduced recently. Thanks for the report. > > Eric: below is a script which exposes the bug more clearly (with gplt > commented out -- I don't have it on my system). If you uncomment the > ylim command, you will see the correct plot. It looks like the auto > locator is choosing a ylim range that does not encompass the data. If > I had to guess, this bug is caused by floating point approximation > error -- all the ydata in this example are very close to 1.0 and the > recent MaxNLocator changes made some changes to how we handled > floating point approximations. > > Charlie: let's hold on 0.87.2 until we get this sorted out. > > JDH > > from scipy import * > import pylab > > b = [0.0,1.0,0.0] > a = 1 > w,h = signal.freqz(b,a) > Magnitude = [] > phase = [] > for i in h: > magnitude.append(sqrt(i.real**2. +i.imag**2.)) > phase.append(arctan(i.imag/i.real)) > > print len(w) > print len(h) > print len(magnitude) > print len(phase) > > i = range(len(magnitude)) > #gplt.plot(i,magnitude) > print magnitude > pylab.plot(i,magnitude, 'o') > #pylab.ylim(0,2) # uncomment this to see correct plot > pylab.show()
John, John Hunter wrote: >>>>>>"Daigos" == <da...@in...> writes: > > > Daigos> Hi all, I am a new user of this library and scipy but I > Daigos> see something strange when I run the following script: > > This looks like a bug in the AutoLocator, possibly in resulting from > the new MaxNLocator introduced recently. Thanks for the report. > > Eric: below is a script which exposes the bug more clearly (with gplt > commented out -- I don't have it on my system). If you uncomment the > ylim command, you will see the correct plot. It looks like the auto > locator is choosing a ylim range that does not encompass the data. If > I had to guess, this bug is caused by floating point approximation > error -- all the ydata in this example are very close to 1.0 and the > recent MaxNLocator changes made some changes to how we handled > floating point approximations. OK, I will look into it. I agree with your guess. Eric
>>>>> "Ryan" == Ryan Krauss <rya...@gm...> writes: Ryan> the GTKAgg backend does not show the plot of y2. On my system I get the plot of y2 (cos, not sin) -- here is the complete script I am using and the --verbose-helpful output below Example script: from pylab import * t=arange(0,1,0.01) y=sin(2*pi*t) y2=cos(2*pi*t) figure(1) plot(t,y) ioff() cla() plot(t,y2) show() verbose helpful output: matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/jdhunter CONFIGDIR=/home/jdhunter/.matplotlib loaded rc file /home/jdhunter/.matplotlib/matplotlibrc matplotlib version 0.87.2svn verbose.level helpful interactive is False platform is linux2 numerix numpy 0.9.7.2247 font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] loaded ttfcache file /home/jdhunter/.matplotlib/ttffont.cache backend GTKAgg version 2.6.1 Ryan> Is this a bug, something wrong on my system, or does it make Ryan> sense that the GTKAgg backend ignores everything after Ryan> ioff()? All ion and ioff do is control when the drawing takes place. If "ion" (interactive is True) then the figure should be redrawn with every pylab command. If "ioff" (interactive is off) the figure is only drawn with a call to savefig, draw or show. That's how it is supposed to work -- the details are spelled out at http://matplotlib.sf.net/interactive.html Let us know if you see further strangeness, and be sure to report the output of verbose-helpful JDH