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
(14) |
2
(31) |
3
(20) |
4
(4) |
5
(2) |
6
(10) |
7
(25) |
8
(13) |
9
(3) |
10
(5) |
11
(2) |
12
(1) |
13
(19) |
14
(16) |
15
(18) |
16
(7) |
17
(17) |
18
|
19
(2) |
20
(7) |
21
(12) |
22
(14) |
23
(8) |
24
(6) |
25
(3) |
26
|
27
(21) |
28
(8) |
29
(5) |
30
(6) |
|
|
On Thursday 02 June 2005 15:18, you wrote: > Many of the font sizes can be specified in the .matplotlibrc file. > Damn... I should have thought about it... but it doesn't work with the "too large" fonts I'm left with: I changed font.size : medium into font.size : x-small in my ~/.matplotlibrc, but it changed nothing to the font used in the contours ticks and in the colorbars ticks... Any other idea ? Nicolas
Hi again, I find that all the fonts on my figures are too large ; up to now I've been modifying some of them using: from matplotlib.font_manager import FontProperties small=FontProperties( size="small" ) ... title(...,fontproperties=small) but there are still some fonts, e.g. on the ticks of the colorbars, that I couldn't figure out how to change ; anyway a better option, which would lead to less verbose commands, would be to specify default font properties for all the text of the figure. Is there a way of doing it ? Thanks in advance, nicolas
On Thursday 02 June 2005 8:38 am, Nicolas Girard wrote: > Hi all, > > on my box, using the savefig() function produces a bunch of annoying lines > on the standard output, such as: > > 0 4.9375 8.0 > 200 18.96875 8.0 > 400 19.421875 8.0 > 600 18.9375 8.0 > 800 18.9375 8.0 > 1000 24.96875 8.0 > > Is there any way of getting rid of these ? > Are you using a slightly dated CVS version, and are you making a ps or eps= =20 file? I think there is a print statement we were using for debugging=20 somewhere in backend_ps that needs to be commented. I think the most recent= =20 CVS is fixed. Darren
Hi all, on my box, using the savefig() function produces a bunch of annoying lines on the standard output, such as: 0 4.9375 8.0 200 18.96875 8.0 400 19.421875 8.0 600 18.9375 8.0 800 18.9375 8.0 1000 24.96875 8.0 Is there any way of getting rid of these ? Thanks in advance, cheers, nicolas
On Wed, 2005年06月01日 at 20:44 -0500, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <ste...@ya...> writes: > > Steve> Try running embedding_in_gtk.py and moving another window > Steve> partly in front of it, then click the embedding_in_gtk > Steve> window to bring it back on top - does the window get > Steve> redrawn? > > Steve> I can verify that on PyGTK 2.4 on Linux it works fine. > Steve> Could you test it on PyGTK 2.6, and also report the > Steve> operating system you are using. > > I get the problem in Ubuntu Hoary Hedgehog ( 2.16.10 I think), with a > normal mpl pylab figure in GTKAgg. It is hard to see with normal > figure sizes, because the tooltips by default appear below the toolbar > and thus do not occlude the FigureCanvas, but if you resize the figure > so that it takes up the entire vertical extent of the desktop, and > then hover over the toolbar, the tooltips will occlude the canvas and > will expose the bug -- no pun intended :-) The basic problem is that > the area occluded by the tooltip is not redrawn when, for example, you > hover over a different toolbar button. > > JDH I've taken the pygtk list off of the reply-to addresses, I don't think its their problem anymore. I updated backend_gtk.py in cvs to remove the DBL_BUFFER code - it was just an experimental feature and I do not think anyone had a use for it, and it was confusing the rest of the code. I added the call to self.window.clear_area() which should solve the problem. Could someone using PyGTK 2.6 install from cvs and let me know if it works. Thanks, Steve Send instant messages to your online friends http://au.messenger.yahoo.com
>=20 >=20 > I then click on the 'graph' Tab and the 'make graph!' button and get: > Traceback (most recent call last): > File "testMPL-GTK.py", line 55, in createProjectGraph > p1 =3D self.axis.bar(ind, int(age), width, color=3D'r') > ValueError: invalid literal for int(): You should enter two values before creating the graph (use the two text=20 entries located above the button) It should work then (remember, this only a test app) Thnaks for trying, Dimitri
John Hunter schrieb: >>>>>>"Steve" == Steve Chaplin <ste...@ya...> writes: >>>>>> >>>>>> > > Steve> Try running embedding_in_gtk.py and moving another window > Steve> partly in front of it, then click the embedding_in_gtk > Steve> window to bring it back on top - does the window get > Steve> redrawn? > > Steve> I can verify that on PyGTK 2.4 on Linux it works fine. > Steve> Could you test it on PyGTK 2.6, and also report the > Steve> operating system you are using. > >I get the problem in Ubuntu Hoary Hedgehog ( 2.16.10 I think), with a >normal mpl pylab figure in GTKAgg. It is hard to see with normal >figure sizes, because the tooltips by default appear below the toolbar >and thus do not occlude the FigureCanvas, but if you resize the figure >so that it takes up the entire vertical extent of the desktop, and >then hover over the toolbar, the tooltips will occlude the canvas and >will expose the bug -- no pun intended :-) The basic problem is that >the area occluded by the tooltip is not redrawn when, for example, you >hover over a different toolbar button. > >JDH > > As I mentioned in my post in the original thread the reason for this lies in the fact that you turn off GTK double buffering and try to provide your own buffering mechanism. Why can't you use both? From my first impression there seems to be no speed problems when I turn gtk double buffering on, but all the mentioned problems will be gone. Niklas.
>>>>> "Steve" == Steve Chaplin <ste...@ya...> writes: Steve> Try running embedding_in_gtk.py and moving another window Steve> partly in front of it, then click the embedding_in_gtk Steve> window to bring it back on top - does the window get Steve> redrawn? Steve> I can verify that on PyGTK 2.4 on Linux it works fine. Steve> Could you test it on PyGTK 2.6, and also report the Steve> operating system you are using. I get the problem in Ubuntu Hoary Hedgehog ( 2.16.10 I think), with a normal mpl pylab figure in GTKAgg. It is hard to see with normal figure sizes, because the tooltips by default appear below the toolbar and thus do not occlude the FigureCanvas, but if you resize the figure so that it takes up the entire vertical extent of the desktop, and then hover over the toolbar, the tooltips will occlude the canvas and will expose the bug -- no pun intended :-) The basic problem is that the area occluded by the tooltip is not redrawn when, for example, you hover over a different toolbar button. JDH
On Wed, 2005年06月01日 at 05:12 -0700, matplotlib-users- re...@li... wrote: > > I made a small test app which clearly shows that Matplotlib 0.8 and > > PyGTK 2.6 don't work well together. No problem in PyGTK 2.4 > > > > bye, > > Dimtiri I have problems with it in PyGTK 2.4 $ python testMPL-GTK.py (testMPL-GTK.py:12685): libglade-WARNING **: unknown property `focus_on_map' for class `GtkWindow' (testMPL-GTK.py:12685): libglade-WARNING **: unknown property `ellipsize' for class `GtkLabel' ... I then click on the 'graph' Tab and the 'make graph!' button and get: Traceback (most recent call last): File "testMPL-GTK.py", line 55, in createProjectGraph p1 = self.axis.bar(ind, int(age), width, color='r') ValueError: invalid literal for int(): Do you think this is a gtk.Notebook problem or a matplotlib FigureCanvasGTK widget problem? If its a FigureCanvasGTK problem then you should be able to forget about the gtk.Notebook and run matplotlib/examples/embedding_in_gtk.py, or matplotlib/examples/embedding_in_gtk2.py and demonstrate the problem. Try running embedding_in_gtk.py and moving another window partly in front of it, then click the embedding_in_gtk window to bring it back on top - does the window get redrawn? I can verify that on PyGTK 2.4 on Linux it works fine. Could you test it on PyGTK 2.6, and also report the operating system you are using. Steve Send instant messages to your online friends http://au.messenger.yahoo.com
>>>>> "Chris" == Chris Barker <Chr...@no...> writes: Chris> Wonderful! this is great news. How have you done it? Have Chris> you written a DVI driver? or do you use TeX and associated Chris> tools to create a bitmap and put that on the image? Or Chris> something else? For *Agg, we use tex + dvipng and load the output as a transparent, anti-aliased raster, caching the dvipng output in ~/.tex.cache for efficiency. For PS, we use tex + dvips + psfrag + latex + a patched ps2epsi. The latter is cumbersome, but it works. In an ideal world, we would simply use tex + dvips but embedding the postscript fragments generated by dvips in arbitrary locations on the figure, but this has proved challenging. Having our own dvi parser would be a nice solution. As you noted, the format isn't too complicated, except for the font handling and the fact that you need your own bytecode processing engine to extract the information. We're waiting until Robert Kern has another boring experiment to site through for this one. JDH
John Hunter wrote: > In the next release of matplotlib, due out soon, we have support for > mathematical expressions using TeX in the *Agg and PS backends. Wonderful! this is great news. How have you done it? Have you written a DVI driver? or do you use TeX and associated tools to create a bitmap and put that on the image? Or something else? -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...
On Wednesday 01 June 2005 17:00, John Hunter wrote: > Currently, matplotlib mathtext handling does not allow "embedded" math > expressions. So the whole expression must be written in math mode. > This is a pain and something we will fix when we can. > Okay. > In the next release of matplotlib, due out soon, we have support for > mathematical expressions using TeX in the *Agg and PS backends. So if > you have tex (and a few other tools) installed on your systems, you > can use it to render all the text in your matplotlib figure. > > In the meantime, you can do something like this > > title(r'$x\ \rm{and}\ y$') > Yes, that works fine here ! Many thanks for the tip ! Cheers, Nicolas
>>>>> "Nicolas" == Nicolas Girard <nic...@ne...> writes: Nicolas> Hi all, I need to mix maths & text in labels such as Nicolas> title and xlabel. Nicolas> I first tried the most intuitive way: Nicolas> title(r"$x$ and $y$") Nicolas> but it appeared not to work (don't focus of my silly Nicolas> sample title, the real one does make sense ;-) Nicolas> Then I tried Nicolas> title(r"$x$ \text{and} $y$") Nicolas> but I got an error related to the fact that Nicolas> is_string_like() returned False when passing my title Nicolas> string to it. Currently, matplotlib mathtext handling does not allow "embedded" math expressions. So the whole expression must be written in math mode. This is a pain and something we will fix when we can. In the next release of matplotlib, due out soon, we have support for mathematical expressions using TeX in the *Agg and PS backends. So if you have tex (and a few other tools) installed on your systems, you can use it to render all the text in your matplotlib figure. In the meantime, you can do something like this title(r'$x\ \rm{and}\ y$') JDH
Hi all, I need to mix maths & text in labels such as title and xlabel. I first tried the most intuitive way: title(r"$x$ and $y$") but it appeared not to work (don't focus of my silly sample title, the real one does make sense ;-) Then I tried title(r"$x$ \text{and} $y$") but I got an error related to the fact that is_string_like() returned False when passing my title string to it. Could you please tell me how to achieve it ? Thanks in advance, cheers, Nicolas
Has anybody considered writing a epix backend using pyepix? (http://claymore.engineer.gvsu.edu/~steriana/Python/pyepix/index.html). A cursory inspection shows that it might solve many of the problems with mathematical typesetting that the psfrag backend was invented to solve. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
[...] >> On 5/31/05, *John Gill* <jn...@eu... >> <mailto:jn...@eu...>> wrote: >> >> I think this might be a matplotlib issue. >> >> I've been having some refresh issues with matplotlib since >> switching to 2.6. In particular I've noticed that if I put my >> mouse over the toolbar and let a tooltip pop up the canvas does >> not get repainted. >> >> Up to now I'd been assuming this problem was isolated to me (I use >> ratpoison as a window manager, which can confuse some apps). >> >> I've cc'ed the matplotlib list in case anyone can throw some light >> on this. >> >> John >> [...] > I can confirm this (mis)behaviour with matplotlib 0.80 and gtk+/pygtk > 2.6. I had wanted to look into this matter, but didn't yet have time > to do it. A simple guess would be that the expose-event is not > handled properly by the GTK backend. > > I noticed the problem when I put a menu-bar over a matplotlib GTK > Canvas. When you leave an opened menu, the menu will not disappear. > > Niklas. > I have started looking at the code and did not quite understand what I found: backends/backend_gtk.py has a class FigureCanvasGTK. Its method 'expose_event' is responsible for redrawing. In the situation I described, when I leave an opened menu that overlaps the graph, the expose_event is properly called, but the widget is not redrawn. If DBL_BUFFER is set (which it is), the widget is only redrawn, if self._draw_pixmap is set to True. Of course, this variable is not set to True when GTK closes a menu but only when matplotlib requests a redraw. So, in conclusion, no redraw happens. After consulting the PyGTK reference I tried to reactivate double buffering, which is turned of in the backend_gtk.py by the command self.set_double_buffered(False) I wonder why you set this? Do you want to provide your own double buffering? Why? If you set this value to True, everything will be fine. Best regards, Niklas Volbers.
Hello everyone, I am trying to implement object picking in my matplotlib-based plotting application. I found two examples. The 'picker_demo.py' demo is very nice and looks a lot simpler than the 'object_picker.py' which requires you to use your own Canvas object. But since object_picker needs to have the event.inaxes object, it seems impossible to catch any events outside the axes' bounding box, like 'click on axes title', or 'click on ticks' or 'click on xlabel'. Is there any possibility to do so ? BTW, is it possible to detect double-clicks? Best regards, Niklas.
dimitri pater schrieb: > Yes, this could could very well be a matplotlib issue. I will try to > do some tests, thanks for cc'ing it to the matplotlib list. > > Dimitri > > On 5/31/05, *John Gill* <jn...@eu... > <mailto:jn...@eu...>> wrote: > > I think this might be a matplotlib issue. > > I've been having some refresh issues with matplotlib since > switching to 2.6. In particular I've noticed that if I put my > mouse over the toolbar and let a tooltip pop up the canvas does > not get repainted. > > Up to now I'd been assuming this problem was isolated to me (I use > ratpoison as a window manager, which can confuse some apps). > > I've cc'ed the matplotlib list in case anyone can throw some light > on this. > > John > > dimitri pater wrote: > >> Hello, >> I upgraded to PyGTK 2.6 from 2.4 . Now, when I switch from page 2 >> on a Gtk.Notebook back to page 1, page 1 still shows some >> elements from page 2 (it is not refreshed, just some parts). Both >> pages contain graphs created with Matplotlib. I never had >> problems like this with 2.4... >> Any clues somebody? If necessary, I will attach the source files. >> >> Best regards, >> Dimitri >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>pygtk mailing list >>py...@da... <mailto:py...@da...> >>http://www.daa.com.au/mailman/listinfo/pygtk >>Read the PyGTK FAQ: >>http://www.async.com.br/faq/pygtk/ >> >> > > > > -- > Please visit dimitri's website: www.serpia.com <http://www.serpia.com> I can confirm this (mis)behaviour with matplotlib 0.80 and gtk+/pygtk 2.6. I had wanted to look into this matter, but didn't yet have time to do it. A simple guess would be that the expose-event is not handled properly by the GTK backend. I noticed the problem when I put a menu-bar over a matplotlib GTK Canvas. When you leave an opened menu, the menu will not disappear. Niklas.
On May 31, 2005, at 2:37 PM, Chris Barker wrote: > great! thanks for picking up the mantle on this. I'd been meaning to > get to it, but you know how it is. Thank you for providing such excellent information on the build process. Picking up where you left off was a snap. > Does this version work with TK? I can't remember what I put in the > notes with the one I sent out. No, I didn't have Tk installed at the time. I'll remedy that situation and put up a new installer package in the same place. Ken
I have a question about figure size in pylab, which presently includes the= =20 toolbar. I think figure(figsize=3D(3,3)) should create a 3x3in plot window,= and=20 append the toolbar below it. The effect is more noticeable on the QtAgg and= =20 WXAgg backends, where the coordinates are reported below the toolbar. Is th= is=20 a bug or a feature?=20 Darren
On May 31, 2005, at 6:55 PM, Stephen Walton wrote: > Ken McIvor wrote: >> http://agni.phys.iit.edu/~kmcivor/potpourri/wxmpl-demos.py > > An interesting looking script. But 'import wxmpl' fails on my system > (MPL V0.80). Am I missing something? It's missing the `wxmpl' module, a library for rapidly embedding matplotlib in wxPython. I have not yet had the gumption to proselytize it. I hadn't intended for people to try to run the whole script, just to look at the plot_XZY() functions. > As an aside, it would be nice if a demo/tutorial script like this > could be made backend-independent. I normally use TkAgg in preference > to WX or WXAgg. All of the aforementioned plot_XZY() functions accept a Figure as their only argument and draw their plots onto the figure, so they're already backend independent. I have attached a script which uses `pylab.figure()' to handle the creation of the Figure and associated FigureCanvas. Run it from the command line, and it will present you with a list of demos. If your matplotlibrc isn't setup for interactive plotting via wxPython, Tkinter, or GTK you'll need to specify an appropriate backend to use: $ python oo-demos.py -dWXAgg Ken
Stephen Walton wrote: > Ken McIvor wrote: > > >> http://agni.phys.iit.edu/~kmcivor/potpourri/wxmpl-demos.py > > > An interesting looking script. But 'import wxmpl' fails on my system > (MPL V0.80). Am I missing something? http://agni.phys.iit.edu/~kmcivor/wxmpl/ (a bit of poking around recursively up his directories :) Best, f