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
(8) |
2
(4) |
3
(21) |
4
(23) |
5
(3) |
|
6
|
7
(8) |
8
(2) |
9
|
10
(6) |
11
(4) |
12
(6) |
|
13
(1) |
14
(9) |
15
(10) |
16
(11) |
17
(3) |
18
(10) |
19
(9) |
|
20
(2) |
21
(10) |
22
(16) |
23
(8) |
24
(6) |
25
(6) |
26
(3) |
|
27
(5) |
28
(1) |
29
(14) |
30
(5) |
31
(14) |
|
|
|
From: John H. <jdh...@ac...> - 2006-08-11 13:57:08
|
>>>>> "David" == David Grant <dav...@gm...> writes:
David> I have a look like this: for i,_ in
David> enumerate(myRunObject.results[0]): pylab.plot(x, counts[i])
David> That will plot a bunch of curves and I would like the point
David> style to change as well as the colour (which changes
David> automatically). Is there a nice way to do this? The only
David> idea I had was to make a list of the possible point styles
David> that I like and grab a point style from that list according
David> to the index = mod(i, len(listOfPointStyles))
The linestyles can be obtained as the keys of the
matplotlib.lines.lineStyles dictionary; the markers are the keys of
the matplotlib.lines.lineMarkers dictionary
In [95]: matplotlib.lines.lineStyles.keys()
Out[95]: ['None', '--', '-.', '-', 'steps', ':']
In [96]: matplotlib.lines.lineMarkers.keys()
Out[96]: [0, 1, 2, 3, '+', ',', '.', '1', '3', '2', '4', '<','>',
'None', 'D', 'H', '_', '^', 'd', 'h', 'o', 'p', 's', 'v',
'x', '|']
The list of valid colornames are the keys of the
matplotlib.colors.cnames dictionary
In [97]: import matplotlib.colors
In [98]: colors = matplotlib.colors.cnames.keys()
In [99]: len(colors)
Out[99]: 139
In [100]: colors.sort()
In [101]: colors[:5]
Out[101]: ['aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure']
Darren -- something for the user's guide?
JDH
|
|
From: Marin M. <mar...@un...> - 2006-08-11 13:53:03
|
Hi list, I'm having some font weirdness using matplotlib 0.87.4 on MacOSX with the WXAgg backend. It's a clean install of universal builds from macpython.org. First of all, when lauching for the first time (or if I delete the font cache), I get: > ipython -pylab > loaded rc file /Users/manuel/.matplotlib/matplotlibrc > matplotlib version 0.88 > verbose.level helpful > interactive is True > platform is darwin > numerix numpy 0.9.8 > font search path ['/Library/Frameworks/Python.framework/Versions/ > 2.4/lib/python2.4/site-packages/matplotlib/mpl-data'] > $HOME=/Users/manuel > CONFIGDIR=/Users/manuel/.matplotlib > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/Helvetica LT MM > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/HelveLTMM > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/Times LT MM > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /Library/Fonts/fonts.cache-1 > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/LastResort.dfont > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/Keyboard.dfont > warnings.warn("Could not open font file %s"%fpath) > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/matplotlib/font_manager.py:453: UserWarning: Could > not open font file /System/Library/Fonts/TimesLTMM > warnings.warn("Could not open font file %s"%fpath) > Saving TTF font cache for non-PS backends to /Users/ > manuel/.matplotlib/ttffont.cache. > Delete this file to have matplotlib rebuild the cache. > matplotlib data path /Library/Frameworks/Python.framework/Versions/ > 2.4/lib/python2.4/site-packages/matplotlib/mpl-data > backend WXAgg version 2.6.3.2rc2 > Python 2.4.3 (#1, Mar 30 2006, 11:02:16) > Type "copyright", "credits" or "license" for more information. > > IPython 0.7.2 -- An enhanced Interactive Python. > ? -> Introduction to IPython's features. > %magic -> Information about IPython's 'magic' % functions. > help -> Python's own help system. > object? -> Details about 'object'. ?object also works, ?? prints more. > > Welcome to pylab, a matplotlib-based Python environment. > For more information, type 'help(pylab)'. Then, if I try to save a plot in eps, nor Preview.app nor Illustrator can open the eps file. Furthermore the file is huge (several MB) for a very simple plot. If I save the plot as a svg, then I can open the file with Firefox or Illustrator, although Illustrator complains about a "missing font" and substitute it with its defaut font. I've looked onto the svg file and it should use Lucida Grande, which is available on the system... I've read on this very list that I might solve some issues by putting the Bitstream familly of fonts as first choice in my matplotlibrc, which I did. In these conditions, saving as eps yields a file which can be opened by Preview.app, but opening it in Illustrator results in a plot where every fonts are replaced by little boxes (see attached picture) |
|
From: Richard A. <ral...@in...> - 2006-08-11 12:13:37
|
i've gone something similar using separate masked arrays on my data set, see http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arrays, for how to do this. On Thu, 2006-08-10 at 15:40 -0700, David Grant wrote: > I have a look like this: > > for i,_ in enumerate(myRunObject.results[0]): > pylab.plot(x, counts[i]) > > That will plot a bunch of curves and I would like the point style to > change as well as the colour (which changes automatically). Is there a > nice way to do this? The only idea I had was to make a list of the > possible point styles that I like and grab a point style from that > list according to the index = mod(i, len(listOfPointStyles)) > > -- > David Grant > http://www.davidgrant.ca > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Rick Albright Senior Quantitvative Analyst Indie Research, LLC 254 Witherspoon Street Princeton, NJ 08542 (609)497-1030 ral...@in... |
|
From: David G. <dav...@gm...> - 2006-08-10 22:40:17
|
I have a look like this:
for i,_ in enumerate(myRunObject.results[0]):
pylab.plot(x, counts[i])
That will plot a bunch of curves and I would like the point style to change
as well as the colour (which changes automatically). Is there a nice way to
do this? The only idea I had was to make a list of the possible point styles
that I like and grab a point style from that list according to the index =
mod(i, len(listOfPointStyles))
--
David Grant
http://www.davidgrant.ca
|
|
From: Daniel M. <dan...@ya...> - 2006-08-10 20:55:47
|
Werner, Thanks for your work in solving this problem. I'm experiencing the same trouble. I can compile to .exe if I exclude wxmsw26uh_vc.dll, but then when I run my final .exe, I get a error dialog popup and the program won't run. The dialog says "The procedure entry point ?GetZoom@wxPrintPreview@@UBEHXZ could not be located in the dynamic link library wxmsw26uh_vc.dll" Did you experience this problem after compiling with an excluded wxmsw26uh_vc.dll? BTW, I'm working with Python 2.4, the unicode verison of wxPython, and windows XP. With Regards, Daniel McQuillen |
|
From: Jeff W. <js...@fa...> - 2006-08-10 19:56:55
|
Daniel Poelzleithner wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I'm using django and basemap to render tiles i can use to make an > overlay on google maps. I'm using this to generate a topology of an open > mesh network (freifunk) here in leipzig :) > On my local developing machine this works very nice and due heavy > caching of database lookups it doesn't seem slow. My problem is, that > the production machine isn't that fast and has to little memory :( > > Now I'm thinking of a better algorithm to generate the tiles. Currently > they are generated on demand and then saved to disc for later usage. But > the topology is fetched every 10 minutes, so the disc files timeout > relative fast. > > my current algorithm looks like this: > > fetch all node positions and cache them through pickle. > These are rendered as small blue dots on the map (Yes, here I can > optimize to only call plot when the node is in boundries of the tile. > > then all connections for the last topo are fetched and cached. > Now there is a problem, I have to plot all connections into the plot, > because it's not easy to say which lines are actually in the tile. I > haven't looked deep into matplotlib to know how optimized it already > ignores plots which are out of bound. > > Now I'm asking my self: is it possible to make a basemap instance with > some lat/lng borders, plot all stuff in it, and then move the borders to > get a new tile which is next to the last one ? Would such a algorithm be > faster then the current one ? > > If not, there is also the posibility to create one large image at > largest zoomlevel for the most used region and then cut and scale the > image until all tiles are generated. > > You can find the sourcecode at: > http://ff-firmware.quamquam.org/trac/browser/ffsomething/trunk/apps/uptime/topoimg.py > mktopo() is acutally doing the work :) > > kindly regards > Daniel > Daniel: If you know what the lat/lon boundaries of all the tiles are beforehand, you can create Basemap instances for all those tiles once, then save them to pickles and have the app just load those pickles on demand. That way you will avoid the overhead of creating the Basemap instances, which can be significant, especially when higher resolution boundaries are used (since all of those boundaries have to be transformed from geographic to projection coordinates when the instance is created). -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: Daniel P. <po...@po...> - 2006-08-10 19:38:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm using django and basemap to render tiles i can use to make an overlay on google maps. I'm using this to generate a topology of an open mesh network (freifunk) here in leipzig :) On my local developing machine this works very nice and due heavy caching of database lookups it doesn't seem slow. My problem is, that the production machine isn't that fast and has to little memory :( Now I'm thinking of a better algorithm to generate the tiles. Currently they are generated on demand and then saved to disc for later usage. But the topology is fetched every 10 minutes, so the disc files timeout relative fast. my current algorithm looks like this: fetch all node positions and cache them through pickle. These are rendered as small blue dots on the map (Yes, here I can optimize to only call plot when the node is in boundries of the tile. then all connections for the last topo are fetched and cached. Now there is a problem, I have to plot all connections into the plot, because it's not easy to say which lines are actually in the tile. I haven't looked deep into matplotlib to know how optimized it already ignores plots which are out of bound. Now I'm asking my self: is it possible to make a basemap instance with some lat/lng borders, plot all stuff in it, and then move the borders to get a new tile which is next to the last one ? Would such a algorithm be faster then the current one ? If not, there is also the posibility to create one large image at largest zoomlevel for the most used region and then cut and scale the image until all tiles are generated. You can find the sourcecode at: http://ff-firmware.quamquam.org/trac/browser/ffsomething/trunk/apps/uptime/topoimg.py mktopo() is acutally doing the work :) kindly regards Daniel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE24sHy/mkIQp7AD0RApIIAJ9rixzc9B84H/rvkZi5WZHeNmLb0QCgnrzx De40WjI3L2E4/rdOlorGO1M= =6Fq9 -----END PGP SIGNATURE----- |
|
From: Charlie M. <cw...@gm...> - 2006-08-08 01:17:37
|
from matplotlib.widgets import Lasso It might not of made the last release. http://svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/widgets.py?revision=2583&view=markup On 8/7/06, Daniel Kornhauser <kor...@re...> wrote: > Hey guys: > > Charlie I did not find your lasso example so I cooked up mine, I attach it. > Can you give me the file name that contains the new Lasso widget for > "doodling" ? > > This is just the start of the lasso or "region of interest" widget I > still have to : > - fill the region with a color > - make it work with layers > - add methods that return the pixel region or the contour coordinates > - make a nice class > > If anybody has made such a widget I would love to see the code, I hate > reinventing the wheel. > > If there is not such an example such as the lasso tool, can my example > be added to the examples ? > What is the process ? > > Anyway, I can't believe there is not such a widget, I thought there must > be some people that use matplotlib for Digital Image Processing ? > Isn't there ? > > Any critique on my code would be appreciated, I have never programed > with matplotlib ... > > > Daniel. > > > > > Charlie Moad wrote: > > On 8/4/06, Daniel Kornhauser <kor...@re...> wrote: > >> Hi: > >> > >> Just stared playing with matplotlib, I want to draw a polygon on top of > >> an image to select a region of interest in the image. > >> Does anybody have any example or advice on how to interactively draw a > >> polygon with the mouse by placing it's vertices's one click at a time ? > >> Another case that I have would be just to fill a region with a thick > >> line, searched for a "doodle example" or a "paint example" but could not > >> find them, any advice would be appreciated too. > > > > Look in at the widget examples. There is a new Lasso widget for > > "doodling" and a RectangleSelector. > > > > - Charlie > > > > #!/usr/bin/env python > """ > This example shows how to use matplotlib to create regions of interest. > I has two modes: > - the segment mode, each time you click the mouse you can create a line segment > - the free hand mode, by keeping pressed the right button you can create a iregular contour > The right button closes the loop. > Daniel Kornhauser > """ > from pylab import * > > class ROI: > > def __init__(self, ax, fig): > self.previous_point = [] > self.start_point = [] > self.end_point = [] > self.line = None > > self.fig = fig > self.fig.canvas.draw() > > def motion_notify_callback(self, event): > if event.inaxes: > ax = event.inaxes > x, y = event.xdata, event.ydata > if event.button == None and self.line != None: # Move line around > self.line.set_data([self.previous_point[0], x], > [self.previous_point[1], y]) > self.fig.canvas.draw() > elif event.button == 1: # Free Hand Drawing > line = Line2D([self.previous_point[0], x], > [self.previous_point[1], y]) > ax.add_line(line) > self.previous_point = [x, y] > self.fig.canvas.draw() > > > def button_press_callback(self, event): > if event.inaxes: > x, y = event.xdata, event.ydata > ax = event.inaxes > if event.button == 1: # If you press the right button > if self.line == None: # if there is no line, create a line > self.line = Line2D([x, x], > [y, y], > marker = 'o') > self.start_point = [x,y] > self.previous_point = self.start_point > ax.add_line(self.line) > self.fig.canvas.draw() > # add a segment > else: # if there is a line, create a segment > self.line = Line2D([self.previous_point[0], x], > [self.previous_point[1], y], > marker = 'o') > self.previous_point = [x,y] > event.inaxes.add_line(self.line) > self.fig.canvas.draw() > > elif event.button == 3 and self.line != None: # close the loop > self.line.set_data([self.previous_point[0], self.start_point[0]], > [self.previous_point[1], self.start_point[1]]) > ax.add_line(self.line) > self.fig.canvas.draw() > self.line = None > > def main(): > fig = figure() > ax = fig.add_subplot(111) > ax.set_title(" left click: line segment left pressed: doodle right click: close region") > cursor = ROI(ax, fig) > fig.canvas.mpl_connect('motion_notify_event', cursor.motion_notify_callback) > fig.canvas.mpl_connect('button_press_event', cursor.button_press_callback) > show() > > if __name__ == "__main__": > main() > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > |
|
From: Daniel K. <kor...@re...> - 2006-08-08 00:01:34
|
Hey guys:
Charlie I did not find your lasso example so I cooked up mine, I attach it.
Can you give me the file name that contains the new Lasso widget for
"doodling" ?
This is just the start of the lasso or "region of interest" widget I
still have to :
- fill the region with a color
- make it work with layers
- add methods that return the pixel region or the contour coordinates
- make a nice class
If anybody has made such a widget I would love to see the code, I hate
reinventing the wheel.
If there is not such an example such as the lasso tool, can my example
be added to the examples ?
What is the process ?
Anyway, I can't believe there is not such a widget, I thought there must
be some people that use matplotlib for Digital Image Processing ?
Isn't there ?
Any critique on my code would be appreciated, I have never programed
with matplotlib ...
Daniel.
Charlie Moad wrote:
> On 8/4/06, Daniel Kornhauser <kor...@re...> wrote:
>> Hi:
>>
>> Just stared playing with matplotlib, I want to draw a polygon on top of
>> an image to select a region of interest in the image.
>> Does anybody have any example or advice on how to interactively draw a
>> polygon with the mouse by placing it's vertices's one click at a time ?
>> Another case that I have would be just to fill a region with a thick
>> line, searched for a "doodle example" or a "paint example" but could not
>> find them, any advice would be appreciated too.
>
> Look in at the widget examples. There is a new Lasso widget for
> "doodling" and a RectangleSelector.
>
> - Charlie
|
|
From: Christian M. <mee...@un...> - 2006-08-07 17:43:43
|
Hi, Sorry for posting to the list, but I had no clue who to address. Recently I had some troubles sending emails to the list, for they were bounced back with this delivery status notification: The following message to <mat...@li...> was undeliverable. The reason for the problem: 5.1.0 - Unknown address error 550-'Postmaster verification failed while checking <prv...@un...>\n(result of earlier verification reused).\nSeveral RFCs state that you are required to have a postmaster\nmailbox for each mail domain. This host does not accept mail\nfrom domains whose servers reject the postmaster address.\nSender verify failed' What then follows is my entire mail I was going to send. Unsubscribing / Re-subscribing helped. matplotlib-users is the only list where I had such problems, but not the only one using Mailman I'm using. Could this be a problem with the mailserver I'm using? My apologies if this is not considered to be of general interest. Please reply directly to my address in this case. TIA Christian |
|
From: Christian M. <mee...@un...> - 2006-08-07 17:34:05
|
Hi, Thanks for all the ideas I got. I'll try them and see what's best / easiest for my problem. Thanks, Christian PS Sorry, I accidently send this to Richard only at first ... |
|
From: Christopher B. <Chr...@no...> - 2006-08-07 15:47:44
|
Darren Dale wrote: > On Monday 07 August 2006 08:55, Charlie Moad wrote: > Pushing a >> release now for 1.0 might be pointless, since the C-api could possibly >> change and break compatibility again. After all, it still is a beta. > I wonder how long we should continue to hold off on a new release. As I said > in a previous email, Travis does not foresee changes to the C API before > numpy-1.1 (although he doesn't rule them out). Besides, several bug fixes and > new features have been added since 0.87.4. Isn't the "current" version using numpy 0.9.8? No matter, they are ALL beta, (or alpha), so there is no reason to stick with any particular one. 1.0b seems to be the least buggy and most future-proof (which, of course, doesn't mean that much) at the moment, so I say we do it. Charlie, can you do OS-X? I still don't have my build environment set up quite right, and you beat me to it last time. We'll need to put a new numpy mpkg on pythonmac.org at the same time. I'd be glad to do that, if it helps, but I need to make sure we use the same version. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Till W. <sac...@ya...> - 2006-08-07 14:44:58
|
Hi,
i have nearly the same problem. I need to make plots
in which the text, axea and labels are either in
english, frensh, german, spanish or italian. I use
wxPython and in the main-program it woks with the
languages, but the plots have these little squares in
the text if there has to be a umlaut or special
chracter. The unicode demo works as long as the plot
is not embedded in wxPython. With wxPython only
"self.axes.set_ylabel( unicode('Andr\xc3\xa9 was
here!', 'utf-8') )" is working. The other texts have
some weird characters in it. Here is the code to check
yourself:
# -*- coding: utf_8 -*-
from wxPython.wx import *
import gettext
from pylab import *
matplotlib.use('WXAgg')
from matplotlib.backends.backend_wxagg import
FigureCanvasWxAgg as FigureCanvas
from matplotlib.figure import Figure
class GraphFrame(wxFrame):
def __init__(self, parent, ID, title):
wxFrame.__init__(self, parent, ID, title,
size=(650,450))
self.figure = Figure()
self.axes = self.figure.add_subplot(111)
self.axes.plot([1,2,4])
self.axes.set_title( unicode('Développés et
fabriqués', 'latin-1') )
self.axes.set_xlabel( unicode("réactivité nous
permettent d'être sélectionnés et adoptés", 'latin-1')
)
self.axes.set_ylabel( unicode('Andr\xc3\xa9
was here!', 'utf-8') )
self.axes.text( 0.5, 2.5, unicode('Institut
für Festkörperphysik', 'latin-1'), rotation=45)
self.axes.text( 1, 1.5, u'AVA (check
kerning)')
self.canvas = FigureCanvas(self, -1,
self.figure)
self.sizer = wxBoxSizer(wxVERTICAL)
self.sizer.Add(self.canvas, 1, wxLEFT | wxTOP
| wxGROW)
self.SetSizer(self.sizer)
self.Fit()
class MyApp(wxApp):
def OnInit(self):
# Install gettext. Once this is done, all
strings enclosed in "_()" will automatically be
translated.
gettext.install('MyApp', './locale',
unicode=True)
# detect the user's default language setting
loc = wxLocale
userLang = loc.GetSystemLanguage()
frame = GraphFrame(None, -1, _("Graph Frame"))
self.SetTopWindow(frame)
frame.CentreOnScreen()
frame.Show(True)
return True
def main():
app = MyApp(0)
app.MainLoop()
if __name__ == '__main__':
main()
The problem is that i do not know all texts to be
shown, as the name of the user should be written as
title.
I am using Windows XP, Python 2.3, wxPython 2.6.1.0
and Matplotlib 0.85
Thanks
Till Wagner
--- John Hunter <jdh...@ac...>
schrieb:
> >>>>> "marek" == marek <md...@gm...> writes:
>
> marek> I need to make plots in which the axes
> and text labels
> marek> display in either English, Spanish, or
> Portuguese.
>
> Does the unicode demo work for you?
>
>
http://matplotlib.sourceforge.net/examples/unicode_demo.py
>
> JDH
>
>
-------------------------------------------------------------------------
> 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
>
--
"Since man's natural instincts lead him to sin, all men are sinners;
and all sinners go to hell. If everyone goes to hell, then you will
meet all your friends there. Heaven must be populated with some
rather strange creatures if all they lived for was to go to a place
where they can stump harps for eternity."- Anton Szandor LaVey
------------------------------------------------------------------------
Till Wagner <sac...@ya...>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: Darren D. <dd...@co...> - 2006-08-07 13:22:36
|
On Monday 07 August 2006 08:55, Charlie Moad wrote: > Here is a link to a build that works with numpy-1.0b1. Pushing a > release now for 1.0 might be pointless, since the C-api could possibly > change and break compatibility again. After all, it still is a beta. I wonder how long we should continue to hold off on a new release. As I said in a previous email, Travis does not foresee changes to the C API before numpy-1.1 (although he doesn't rule them out). Besides, several bug fixes and new features have been added since 0.87.4. Darren |
|
From: Charlie M. <cw...@gm...> - 2006-08-07 12:55:58
|
Here is a link to a build that works with numpy-1.0b1. Pushing a release now for 1.0 might be pointless, since the C-api could possibly change and break compatibility again. After all, it still is a beta. http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.87.4_r2645-py2.4-win32.egg On 8/7/06, izak marais <iza...@ya...> wrote: > Does anyone know when the matplotlib install will be able to work with > numpy1.0? numpy0.9.8 has a memory leak that crashes my program :(. > > thanks! > > > ________________________________ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > > ------------------------------------------------------------------------- > 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: Jett L. <jet...@gm...> - 2006-08-07 12:04:55
|
Hi, using matplotlib-0.87.4 uname -a == "SunOS maples 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-280R" gcc --version == "2.95.3" (have no control over this) python -V == "Python 2.4.3" (in $HOME/local/bin) I get some errors during "python setup.py build" (with all GUIs disabled in setup.py, but BUILD_IMAGE=1 and BUILD_AGG=1): > gcc: src/mplutils.cpp > src/mplutils.cpp: In method `Printf::Printf(const char *, ...)': > src/mplutils.cpp:17: implicit declaration of function `int vsprintf(...)' > src/mplutils.cpp: In method `Printf::Printf(const char *, ...)': > src/mplutils.cpp:17: implicit declaration of function `int vsprintf(...)' > error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I. -I. -I/export/home/medscan/local/include/python2.4 -c src/mplutils.cpp -o build/temp.solaris-2.9-sun4u-2.4/src/mplutils.o -DNUMARRAY=1" failed with exit status 1 When I fix this (by #include <cstdio>) it gets more errors about redefining _FILE_OFFSET_BITS: > running build > running build_py > running build_ext > building 'matplotlib._na_transforms' extension > gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC' > compile options: '-Isrc -I. -I. -I/export/home/medscan/local/include/python2.4 -c' > extra options: '-DNUMARRAY=1' > gcc: src/mplutils.cpp > gcc: src/_na_transforms.cpp > src/_na_transforms.cpp:2: limits: No such file or directory > In file included from src/_na_transforms.cpp:5: > src/_transforms.h:10: limits: No such file or directory > In file included from /export/home/medscan/local/include/python2.4/Python.h:8, > from CXX/Objects.hxx:9, > from CXX/Extensions.hxx:19, > from src/_transforms.h:12, > from src/_na_transforms.cpp:5: > /export/home/medscan/local/include/python2.4/pyconfig.h:820: warning: `_FILE_OFFSET_BITS' redefined > /usr/include/sys/feature_tests.h:96: warning: this is the location of the previous definition > src/_na_transforms.cpp:2: limits: No such file or directory > In file included from src/_na_transforms.cpp:5: > src/_transforms.h:10: limits: No such file or directory > In file included from /export/home/medscan/local/include/python2.4/Python.h:8, > from CXX/Objects.hxx:9, > from CXX/Extensions.hxx:19, > from src/_transforms.h:12, > from src/_na_transforms.cpp:5: > /export/home/medscan/local/include/python2.4/pyconfig.h:820: warning: `_FILE_OFFSET_BITS' redefined > /usr/include/sys/feature_tests.h:96: warning: this is the location of the previous definition > error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I. -I. -I/export/home/medscan/local/include/python2.4 -c src/_na_transforms.cpp -o build/temp.solaris-2.9-sun4u-2.4/src/_na_transforms.o -DNUMARRAY=1" failed with exit status 1 Please help, I've already written code using matplotlib under windows and don't want to rewrite it for the move to Solaris. Thank you, Jett P.S. while Windows version works fine, compiling under cygwin yields problems like being unable to import the _agg DLL (and twiddling permissions doesn't help) - ideas? |
|
From: izak m. <iza...@ya...> - 2006-08-07 11:23:55
|
Does anyone know when the matplotlib install will be able to work with numpy1.0? numpy0.9.8 has a memory leak that crashes my program :(. thanks! --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. |
|
From: Mike F. <va...@ge...> - 2006-08-05 19:26:40
|
anyone try integrating matplotlib with eclipse ? i'm looking for a good=20 graphing package (like matplotlib) but is integrated with eclipse things i'd like to do: http://i.cmpnet.com/ddj/ddj/images/ddj0103a/0103af5.gif so while debugging some code in eclipse, i'd be like: - start address: 0xF00 - number of points: 50 - data type: double - plot type: line =2Dmike |
|
From: Charlie M. <cw...@gm...> - 2006-08-05 02:13:42
|
On 8/4/06, R. Padraic Springuel <R.S...@um...> wrote:
> More information:
>
> I realized that I was 4 versions behind, the error I was seeing was in
> version 0.87
>
> However:
> Version 0.87.1 has the same error
>
> Version 0.87.2 gives the following (though it works afterwards):
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pylab import *
> C:\Python24\lib\site-packages\matplotlib\font_manager.py:456:
> UserWarning: Canno
> t handle unicode filenames
> warnings.warn("Cannot handle unicode filenames")
> >>>
>
> Version 0.87.3 seems to work just fine (no noticeable errors).
>
> Version 0.87.4 causes a full interpreter crash with no errors (the crash
> raises one of Window's infamous "* has encountered a problem and needs
> to close. We are sorry for the inconvenience." dialogs).
You probably have numpy-0.9.6 installed. 0.87.4 requires numpy-0.9.8.
|
|
From: R. P. S. <R.S...@um...> - 2006-08-05 01:09:49
|
More information:
I realized that I was 4 versions behind, the error I was seeing was in
version 0.87
However:
Version 0.87.1 has the same error
Version 0.87.2 gives the following (though it works afterwards):
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
C:\Python24\lib\site-packages\matplotlib\font_manager.py:456:
UserWarning: Canno
t handle unicode filenames
warnings.warn("Cannot handle unicode filenames")
>>>
Version 0.87.3 seems to work just fine (no noticeable errors).
Version 0.87.4 causes a full interpreter crash with no errors (the crash
raises one of Window's infamous "* has encountered a problem and needs
to close. We are sorry for the inconvenience." dialogs).
So, I've got a temporary solution, in that I can just use version
0.87.3, but it's not a permanent solution as development of matplotlib
goes forward. If anyone can explain what's going on I'd appreciate it.
--
R. Padraic Springuel
Teaching Assistant
Department of Physics and Astronomy
University of Maine
Bennett 214
Office Hours: By Appointment only during the Summer
|
|
From: Charlie M. <cw...@gm...> - 2006-08-04 23:24:33
|
On 8/4/06, Daniel Kornhauser <kor...@re...> wrote: > Hi: > > Just stared playing with matplotlib, I want to draw a polygon on top of > an image to select a region of interest in the image. > Does anybody have any example or advice on how to interactively draw a > polygon with the mouse by placing it's vertices's one click at a time ? > Another case that I have would be just to fill a region with a thick > line, searched for a "doodle example" or a "paint example" but could not > find them, any advice would be appreciated too. Look in at the widget examples. There is a new Lasso widget for "doodling" and a RectangleSelector. - Charlie |
|
From: Charlie M. <cw...@gm...> - 2006-08-04 23:17:06
|
On 8/4/06, R. Padraic Springuel <R.S...@um...> wrote:
> After installing matplotlib from the Window's binaries (a process which
> goes off without a hitch), I get the following error when trying to use it:
>
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pylab import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "C:\Python24\lib\site-packages\pylab.py", line 1, in ?
> from matplotlib.pylab import *
> File "C:\Python24\lib\site-packages\matplotlib\pylab.py", line 200, in ?
> from axes import Axes, PolarAxes
> File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 15, in ?
> from axis import XAxis, YAxis
> File "C:\Python24\lib\site-packages\matplotlib\axis.py", line 25, in ?
> from font_manager import FontProperties
> File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 990, in
> ?
> fontManager = FontManager()
> File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 835, in
> __init__
> rebuild()
> File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 828, in
> rebuild
> self.ttfdict = createFontDict(self.ttffiles)
> File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 456, in
> createFontDict
> warnings.warn("Cannot handle unicode filenames %s"%fpath)
> File "C:\Python24\lib\warnings.py", line 61, in warn
> warn_explicit(message, category, filename, lineno, module, registry)
> File "C:\Python24\lib\warnings.py", line 120, in warn_explicit
> showwarning(message, category, filename, lineno)
> File "C:\Python24\lib\warnings.py", line 127, in showwarning
> file.write(formatwarning(message, category, filename, lineno))
> File "C:\Python24\lib\warnings.py", line 133, in formatwarning
> s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
> position 55:
> ordinal not in range(128)
>
> Now, while I consider myself reasonably competant at sorting out errors
> in python, I haven't a clue what this one means, let alone how to fix
> it. Does anyone know what this means or how to fix it?
A unicode character in your font path? Weird. Try deleting your font
cache in your ~/.matplotlib folder. On windows it is somewhere in
your home folder.
|
|
From: R. P. S. <R.S...@um...> - 2006-08-04 23:12:24
|
After installing matplotlib from the Window's binaries (a process which
goes off without a hitch), I get the following error when trying to use it:
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\lib\site-packages\pylab.py", line 1, in ?
from matplotlib.pylab import *
File "C:\Python24\lib\site-packages\matplotlib\pylab.py", line 200, in ?
from axes import Axes, PolarAxes
File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 15, in ?
from axis import XAxis, YAxis
File "C:\Python24\lib\site-packages\matplotlib\axis.py", line 25, in ?
from font_manager import FontProperties
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
990, in
?
fontManager = FontManager()
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
835, in
__init__
rebuild()
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
828, in
rebuild
self.ttfdict = createFontDict(self.ttffiles)
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
456, in
createFontDict
warnings.warn("Cannot handle unicode filenames %s"%fpath)
File "C:\Python24\lib\warnings.py", line 61, in warn
warn_explicit(message, category, filename, lineno, module, registry)
File "C:\Python24\lib\warnings.py", line 120, in warn_explicit
showwarning(message, category, filename, lineno)
File "C:\Python24\lib\warnings.py", line 127, in showwarning
file.write(formatwarning(message, category, filename, lineno))
File "C:\Python24\lib\warnings.py", line 133, in formatwarning
s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
position 55:
ordinal not in range(128)
Now, while I consider myself reasonably competant at sorting out errors
in python, I haven't a clue what this one means, let alone how to fix
it. Does anyone know what this means or how to fix it?
--
R. Padraic Springuel
Teaching Assistant
Department of Physics and Astronomy
University of Maine
Bennett 214
Office Hours: By Appointment only during the Summer
|
|
From: Daniel K. <kor...@re...> - 2006-08-04 21:02:40
|
Hi:
Just stared playing with matplotlib, I want to draw a polygon on top of
an image to select a region of interest in the image.
Does anybody have any example or advice on how to interactively draw a
polygon with the mouse by placing it's vertices's one click at a time ?
Another case that I have would be just to fill a region with a thick
line, searched for a "doodle example" or a "paint example" but could not
find them, any advice would be appreciated too.
Daniel.
|
|
From: <Moh...@cs...> - 2006-08-04 18:53:07
|
Hi all, i was wondering if any one has implemented a simplex drawring package for matplotlib, eg. for diagrams such as this http://www.santafe.edu/~dirk/ccant_wf2/img72.gif. Thanks in advance - mo |