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
(5) |
2
(24) |
3
(2) |
|
4
|
5
(4) |
6
(1) |
7
(22) |
8
(9) |
9
(23) |
10
(6) |
|
11
|
12
(7) |
13
(17) |
14
(12) |
15
(10) |
16
(22) |
17
(11) |
|
18
(6) |
19
(11) |
20
(13) |
21
(10) |
22
(7) |
23
(7) |
24
(5) |
|
25
(3) |
26
(20) |
27
(17) |
28
(25) |
29
(16) |
30
(17) |
31
(8) |
|
From: Ken M. <mc...@ii...> - 2007-03-16 18:08:17
|
Ryan, I found the 2.6 sources: http://wxpython.sourceforge.net/download-2.6.3.3.php Ken |
|
From: Ken M. <mc...@ii...> - 2007-03-16 18:05:56
|
On Mar 16, 2007, at 1:01 PM, Ryan Krauss wrote: > > Unless someone has the wxpython 2.6 source tarball lying > around, I guess I will ignore the message and wait until I am ready to > upgrade to 2.8. If you're got APT's "sources.list" setup correctly, you should be able to just "apt-get source libwxgtk2.6-dev". Ken |
|
From: Ryan K. <rya...@gm...> - 2007-03-16 18:01:12
|
Thanks Ken. I think I did this before a year or so ago, I was just thinking there was an easier way. I guess I am a little stuck. I am hesitant to upgrade to wxPython 2.8 because wxGlade isn't compatible with it yet. I just went to wxPython.org and their sourceforge page doesn't have 2.6 source anymore. Unless someone has the wxpython 2.6 source tarball lying around, I guess I will ignore the message and wait until I am ready to upgrade to 2.8. Ryan On 3/16/07, Ken McIvor <mc...@ii...> wrote: > On Mar 16, 2007, at 10:57 AM, Andrew Straw wrote: > > > > Dear Ryan, I think you want libwxgtk2.6-dev > > Unfortunately, the wxPython Debian package and its Ubuntu cousin do > not include the wxPython headers. This is an issue that I looked > into a while ago, but was unable to get resolved. > > That being said, you have three options for moving forward: > > 1. Just ignore the message. Unless you're doing animation you > probably won't be hurting for speed. > > 2. Grab the wxPython headers from source and install them in `/usr/ > include/wx/wxPython'. I believe that John Hunter has been doing this > for some time now, so he might be able to help you if there are any > caveats that I've forgotten. > > 3. Upgrade to wxPython 2.8 and the svn version of matplotlib. I've > written a version of the accelerator in pure Python that moves at a > pretty good clip but requires functionality that is only present in > wxPython 2.8. > > Ken > |
|
From: Ken M. <mc...@ii...> - 2007-03-16 17:54:21
|
On Mar 16, 2007, at 10:57 AM, Andrew Straw wrote: > > Dear Ryan, I think you want libwxgtk2.6-dev Unfortunately, the wxPython Debian package and its Ubuntu cousin do not include the wxPython headers. This is an issue that I looked into a while ago, but was unable to get resolved. That being said, you have three options for moving forward: 1. Just ignore the message. Unless you're doing animation you probably won't be hurting for speed. 2. Grab the wxPython headers from source and install them in `/usr/ include/wx/wxPython'. I believe that John Hunter has been doing this for some time now, so he might be able to help you if there are any caveats that I've forgotten. 3. Upgrade to wxPython 2.8 and the svn version of matplotlib. I've written a version of the accelerator in pure Python that moves at a pretty good clip but requires functionality that is only present in wxPython 2.8. Ken |
|
From: Ryan K. <rya...@gm...> - 2007-03-16 16:52:37
|
Thanks Andrew. I have that one already installed and it seems that either it isn't enough or it doesn't put the headers where the install script is looking for them. Should I be searching to see if a certain file is on my path? On 3/16/07, Andrew Straw <str...@as...> wrote: > Dear Ryan, I think you want libwxgtk2.6-dev > > Ryan Krauss wrote: > > I am getting a message during a source install that WXAgg's > > accelerator requires the wxPython headers. What do I need to do to > > get them for Ubuntu? I think I have all wx packages installed? Do I > > need to download the source tarball from wxPython.org? If so, where > > should I put the headers? > > > > Ryan > > > > ------------------------------------------------------------------------- > > 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.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > |
|
From: Joel H. <yo...@if...> - 2007-03-16 16:39:01
|
Hi! I'm using matplotlib and I'm writing a viewer for multiple sequence alignments (read: large matrices of uppercase characters). It's coming along nicely and matplotlib is a real charm to work with. Unfortunately, I may have run into a showstopper. I've tried all tricks I can think of, I've searched bugs and mail archives and googled, but to no avail. The text labels just don't render quickly enough for comfortable browsing. The attached script test.py illustrates my problem. Run it, and then resize the plot window to trigger a redraw and you'll see what I mean. The rendering is really slow. I've also attached the output from "python test.py --verbose-helpful". Is there any way I can make this draw quicker? Am I doing this in a bad way? If so, what would be a good way? Cheers! /Joel |
|
From: Jeff W. <js...@fa...> - 2007-03-16 16:30:59
|
All:
I just put a new release (0.9.5) of basemap on the sf download site.
Not much in the way of new features, mostly minor bugfixes, python 2.5
compatibility fixes and under-the-hood changes to facilitate building
eggs.
MacOS X and windows binary installers are available for python 2.4 and 2.5.
The examples are in a separate tarfile, since they are not included with
the binary installers.
The 'crude', 'low' and 'intermediate' boundary datasets are now
installed by default. If you need the 'high' resolution data, you can
download a separate 18 mb tar.gz and drop the files manually into
basemap_datadir ("from matplotlib.toolkits.basemap import
basemap_datadir" to find out what that is).
Windows users - please let me know if the binary installers work OK.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
|
|
From: Andrew S. <str...@as...> - 2007-03-16 15:58:46
|
Dear Ryan, I think you want libwxgtk2.6-dev Ryan Krauss wrote: > I am getting a message during a source install that WXAgg's > accelerator requires the wxPython headers. What do I need to do to > get them for Ubuntu? I think I have all wx packages installed? Do I > need to download the source tarball from wxPython.org? If so, where > should I put the headers? > > Ryan > > ------------------------------------------------------------------------- > 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.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Ryan K. <rya...@gm...> - 2007-03-16 15:42:29
|
I am getting a message during a source install that WXAgg's accelerator requires the wxPython headers. What do I need to do to get them for Ubuntu? I think I have all wx packages installed? Do I need to download the source tarball from wxPython.org? If so, where should I put the headers? Ryan |
|
From: Pellegrini E. <eri...@ya...> - 2007-03-16 15:15:33
|
Hi everybody, Would you have any idea how to embed a matshow (or imshow) object in a Tk application but with a given dimension ? Using FigureCanvasTkAgg embed a matshow object in my application but it takes the dimension of the matshow object not the dimension of the place where I would like to embed it. Thank you very much Best regards Eric Pellegrini --------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. |
|
From: Emin.shopper Martinian.s. <emi...@gm...> - 2007-03-16 15:08:02
|
Dear Experts, When plotting multiple lines, is there a way to have matplotlib automatically make the lines look different using something other than color to distinguish the lines? For example, it would be nice if I could issue multiple plot commands (with hold=True) and have the lines automatically select different markers or line styles. While matplotlib does make the colors different, this doesn't help much for people who are color blind. I checked the FAQ, cookbook, mailing lists, google, etc., but couldn't find a way to do this besides explicitly specifying the style for each line. Thanks, -Emin |
|
From: John H. <jd...@gm...> - 2007-03-16 13:56:36
|
On 3/16/07, Mark Bakker <ma...@gm...> wrote: > Hello - > > I am trying to plot two sets of data on one graph, using plot_date. > But I get an error. > It is easy to replicate, by calling the plot_date function twice. > Is this supposed to work? Fixed in svn |
|
From: Mark B. <ma...@gm...> - 2007-03-16 10:16:15
|
Hello -
I am trying to plot two sets of data on one graph, using plot_date.
But I get an error.
It is easy to replicate, by calling the plot_date function twice.
Is this supposed to work?
from pylab import *
plot_date(linspace(726468,726668,4),linspace(0,1,4))
plot_date(linspace(726468,726668,4),linspace(0,1,4))
And I get the error:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in ?
plot_date(linspace(726468,726668,4),linspace(0,1,4))
File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2064, in
plot_date
ret = gca().plot_date(*args, **kwargs)
File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 2395, in
plot_date
self.xaxis_date(tz)
File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 1564, in
xaxis_date
formatter = AutoDateFormatter(locator)
UnboundLocalError: local variable 'locator' referenced before assignment
Any ideas?
Thanks, Mark
|
|
From: liujiaping <lji...@gm...> - 2007-03-16 08:59:43
|
Hi, all. I have a problem when using matpltlib and pygtk. When I draw a very
very long line in a figure, the line cannot be drawn as it should be. For
example, consider the codes below:
---------------------Beginning of codes----------------------
#!/usr/bin/env python
import gtk
from matplotlib.figure import Figure
from matplotlib.lines import Line2D
from matplotlib.backends.backend_gtkagg import FigureCanvasGTK as
FigureCanvas
from matplotlib.backends.backend_gtkagg import NavigationToolbar2GTK as
NavigationToolbar
# Uncomment the two lines below to use GTKAgg as a different backend
#from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as
FigureCanvas
#from matplotlib.backends.backend_gtkagg import NavigationToolbar2GTKAgg \
# as
NavigationToolbar
win = gtk.Window()
win.connect("destroy", lambda x: gtk.main_quit())
win.set_default_size(400,300)
win.set_title("Embedding in GTK")
vbox = gtk.VBox()
win.add(vbox)
fig = Figure()
ax = fig.add_subplot(111)
ax.grid(True)
ax.set_autoscale_on(False)
ax.set_xlim(0, 2)
ax.set_ylim(-2, 2)
ax.plot([1, 1, 20000,20000], [-1, 1, 1, 0])
canvas = FigureCanvas(fig)
vbox.pack_start(canvas)
toolbar = NavigationToolbar(canvas, win)
vbox.pack_start(toolbar, False, False)
win.show_all()
gtk.main()
---------------------End of codes----------------------
You might think that it will show a line like this:
+--------------------------------------------------------...
|
A
very very long line ....
|
|
|
|
But the result is like this:
...----------------------------------------------------------+
Also a very very long line ... |
|
|
|
You can view the picture here:
http://ljiaping.googlepages.com/embedding_in_gtk1.jpg
And if you use the zoom button in the navigation toolbar to zoom out this
image, the horizontal line will change its direction to right. You can view
the picture here:
http://ljiaping.googlepages.com/embedding_in_gtk2.jpg
But if you use GTKAgg as matplotlib's backend the figure shows properly.
Here is the source code file
embedding_in_gtk.py<http://ljiaping.googlepages.com/embedding_in_gtk.py>,
you can try it yourself.
I have tried to read the source codes of the library to know the reason, but
I have not enough knowledge of image processing and I failed.
Any help is appreciated. Thank you.
|
|
From: Antonino I. <tri...@gm...> - 2007-03-16 08:34:01
|
On 3/16/07, Niklas Saers <nik...@gm...> wrote: > Hi, > I'm quite new to Matplot. When issuing show() from Python 2.5 under > OS X I get a nice menu bar at the bottom with home, left, right etc. > How can I use these? I tried the different examples, and there are > plenty of examples that open multiple windows (such as > legend_auto.py) and that put multiple subplots in a plot, but none > that actually use the arrows. How can I put multiple plots into a > window that can be navigated using these arrows? Those arrows are meant to navigate through the various zoom level you have chosen with the zoom tool (click on the zoom button the select a rectangle with the left mouse button to zoom in, with the right mouse button to zoom out). Home returns to the first zoom level. > Cheers > > Niklas Cheers, ~ Antonio |
|
From: Niklas S. <nik...@gm...> - 2007-03-16 08:25:23
|
Hi,
I'm quite new to Matplot. When issuing show() from Python 2.5 under
OS X I get a nice menu bar at the bottom with home, left, right etc.
How can I use these? I tried the different examples, and there are
plenty of examples that open multiple windows (such as
legend_auto.py) and that put multiple subplots in a plot, but none
that actually use the arrows. How can I put multiple plots into a
window that can be navigated using these arrows?
Cheers
Niklas
|
|
From: Eric F. <ef...@ha...> - 2007-03-16 07:13:16
|
Sebastian Haase wrote: > Hi! > I use the wxPython PyShell. > I like especially the feature that when typing a module and then the > dot "." I get a popup list of all available functions (names) inside > that module. > > Secondly, I think it really makes code clearer when one can see where > a function comes from. > > I have a default > import numpy as N > executed before my shell even starts. > In fact I have a bunch of my "standard" modules imported as <some > single capital letter>. > > This - I think - is a good compromise to the commonly used "extra > typing" and "unreadable" argument. > > a = sin(b) * arange(10,50, .1) * cos(d) > vs. > a = N.sin(b) * N.arange(10,50, .1) * N.cos(d) I generally do the latter, but really, all those "N." bits are still visual noise when it comes to reading the code--that is, seeing the algorithm rather than where the functions come from. I don't think there is anything wrong with explicitly importing commonly-used names, especially things like sin and cos. > > I would like to hear some comments by others. > > > On a different note: I just started using pylab, so I did added an > automatic "from matplotlib import pylab as P" -- but now P contains > everything that I already have in N. It makes it really hard to > *find* (as in *see* n the popup-list) the pylab-only functions. -- > what can I do about this ? A quick and dirty solution would be to comment out most of the imports in pylab.py; they are not needed for the pylab functions and are there only to give people lots of functionality in a single namespace. I am cross-posting this to matplotlib-users because it involves mpl, and an alternative solution would be for us to add an rcParam entry to allow one to turn off all of the namespace consolidation. A danger is that if someone is using "from pylab import *" in a script, then whether it would run would depend on the matplotlibrc file. To get around that, another possibility would be to break pylab.py into two parts, with pylab.py continuing to do the namespace consolidation and importing the second part, which would contain the actual pylab functions. Then if you don't want the namespace consolidation, you could simply import the second part instead of pylab. There may be devils in the details, but it seems to me that this last alternative--splitting pylab.py--might make a number of people happier while having no adverse effects on everyone else. Eric > > > Thanks, > Sebastian > _______________________________________________ > Numpy-discussion mailing list > Num...@sc... > http://projects.scipy.org/mailman/listinfo/numpy-discussion |
|
From: Ryan K. <rya...@gm...> - 2007-03-16 02:21:47
|
Thanks John. I know I have some clean up to do, I just want to do it right so it isn't an annual (or more often) thing.... On 3/15/07, John Hunter <jd...@gm...> wrote: > On 3/15/07, Ryan Krauss <rya...@gm...> wrote: > > > How should I be using matplotlib/pylab in my utility scripts so that > > they are compatible with embedding in wx? > > A good rule of thumb is to never import pylab at the top level for > modules that need to be imported. In my own code, I often do > something like > > def somefunc(figfunc): > fig = figfunc() > ax = fig.add_subplot(111) > ax.plot([1,2,3]) > > and then I can call it with > > somefunc(pylab.figure) > > or a custom func that generates a GUI embedded figure instance. Eg, > in my GTKApps, I have a functor like gtk_figure that returns a > function that creates a figure embedded in a GTK window. > > In basemap, Jeffrey Whitaker does something like the following > > def somefunc(ax=None): > if ax is None: > import pylab > ax = pylab.gca() > > Here the pylab import is triggered only when the function is called > with default arguments. That way you can use it from GUI code without > triggering a pylab import like > > somefunc(ax) > > and from other code where you want pylab do do everything with > > somefunc() > > I'm afraid you have some cleanup to do..... Mixing pylab with > embedded GUI code is a recipe for pain and misery. > > JDH > |
|
From: Sebastian B. <sb...@cl...> - 2007-03-16 02:00:36
|
Hello, I tried to use the boxplot_demo.py [1] as a base for doing my own boxplot, but I couldn't :( My data is here: http://www.bioinformatica.info/seba/toplot.txt.gz The main problem I see is that the data in the sample is fake (random generated) and I don't know how to put real data in it (as the data I have). [1] http://www.bioinformatica.info/seba/boxplot_demo.py Best, SB. --=20 Sebasti=E1n Bassi Diplomado en Ciencia y Tecnolog=EDa. Club de la raz=F3n (www.clubdelarazon.org) |
|
From: John H. <jd...@gm...> - 2007-03-16 01:00:05
|
On 3/15/07, Ryan Krauss <rya...@gm...> wrote:
> How should I be using matplotlib/pylab in my utility scripts so that
> they are compatible with embedding in wx?
A good rule of thumb is to never import pylab at the top level for
modules that need to be imported. In my own code, I often do
something like
def somefunc(figfunc):
fig = figfunc()
ax = fig.add_subplot(111)
ax.plot([1,2,3])
and then I can call it with
somefunc(pylab.figure)
or a custom func that generates a GUI embedded figure instance. Eg,
in my GTKApps, I have a functor like gtk_figure that returns a
function that creates a figure embedded in a GTK window.
In basemap, Jeffrey Whitaker does something like the following
def somefunc(ax=None):
if ax is None:
import pylab
ax = pylab.gca()
Here the pylab import is triggered only when the function is called
with default arguments. That way you can use it from GUI code without
triggering a pylab import like
somefunc(ax)
and from other code where you want pylab do do everything with
somefunc()
I'm afraid you have some cleanup to do..... Mixing pylab with
embedded GUI code is a recipe for pain and misery.
JDH
|
|
From: Ryan K. <rya...@gm...> - 2007-03-16 00:25:05
|
I have a problem that probably highlights a problem with how I
normally use mpl vs. how I should use it. I have some utility scripts
that do various data processing tasks and also have convenience
functions for plotting data using pylab. Almost all of my scripts
have a line like this near the top:
from pylab import figure, cla, clf, plot, subplot, show, ylabel,
xlabel, xlim, ylim, semilogx, legend, title, savefig
I am now trying to import some of my data processing functions into a
script that is embedding matplotib in a wxPython application following
the embedding_in_wx#.py examples. I am getting this error:
ryan@am2:~/siue/Research/PythonSimulationEnvironment$ python SystemID_gui.py
Traceback (most recent call last):
File "SystemID_gui.py", line 18, in ?
import rwkbode
File "/home/ryan/pythonutil/rwkbode/__init__.py", line 3, in ?
import pylab
File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 216, in ?
from backends import new_figure_manager, draw_if_interactive, show
ImportError: cannot import name new_figure_manager
which seems to say that pylab cannot be imported after my wx mpl panel
has done this:
import matplotlib
import wx
from scipy import sin, cos, pi, atleast_1d, shape, log10
#from wxPython.wx import *
matplotlib.use('WXAgg')
import matplotlib.cm as cm
from matplotlib.backends.backend_wxagg import Toolbar, FigureCanvasWxAgg
from matplotlib.figure import Figure
import matplotlib.numerix as numerix
import matplotlib.numerix.mlab as mlab
from matplotlib.mlab import meshgrid
How should I be using matplotlib/pylab in my utility scripts so that
they are compatible with embedding in wx?
Thanks,
Ryan
|