SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)

Showing 5 results of 5

From: Ken M. <mc...@ii...> - 2006年03月11日 17:25:09
On Mar 10, 2006, at 2:01 PM, Onsi Fakhouri wrote:
> Ken, if you want me to try something let me know -- my guess is I'm 
> using a different version of either the AGG library or wx.
I'm afraid that I'm at a loss right now. Knowing exactly what 
version of MacOS, Python, wxPython, and matplotlib you're using might 
help.
If you have MacOS 10.4, Python 2.3, and wxPython 2.6.2.1, then you 
could see if you have the same problem with my build of matplotlib:
	http://agni.phys.iit.edu/~kmcivor/downloads/matplotlib-0.87.1-py2.3- 
macosx-10.4-ppc.egg
> As an aside, does the cpp implementation run much faster than the 
> python implementation?
You probably won't notice a difference unless you're doing 
animations. If you are, then it provides a big speedup under Linux 
but much less of a speedup on a Mac. I think the difference is due 
to the way wxWidgets is implemented on the two platforms.
Ken
From: Ken M. <mc...@ii...> - 2006年03月11日 16:49:08
On Mar 10, 2006, at 2:56 PM, Christopher Barker wrote:
> This might have something to do with the fact that OS-X double 
> buffers it's windows, so you need to force and update event 
> somehow. A call to wx.Window.Refresh() and/or wx.Window.Update() 
> might do it.
For `examples/anim.py', calling line.axes.figure.canvas.Update() 
after each call to pylab.draw() appears to do the trick.
> Maybe OS-X waits for a Idle event to update the screen.
The wxWidgets documentation for wxWindow::Refresh() and 
wxWindow::Update() indicates that the event loop is the default 
method for driving screen repaints.
> What kind of app would you have running without an event loop anyway?
Apparently, pylab scripts that try to animate plots by redrawing them 
run without an event loop. I could be mistaken, but I don't think 
the loop is started until you call pylab.show(). See `examples/ 
anim.py' for an example of what I'm talking about.
> Id didn't think you could do much at all without one in wx.
I didn't think so either but I hadn't considered pylab. Since a 
matplotlib example was the initial source of the problem, I think we 
should probably change things so that Update() gets called when 
necessary. My proposal is to tack the following (untested) lines to 
the end of backend_wx.FigureCanvasWx.gui_repaint():
	# force a repaint if we think we're a pylab figure
	if isinstance(self.GetParent(), FigureFrameWx):
		self.Update()
Ken
From: Neil P. <mat...@ke...> - 2006年03月11日 15:49:01
Chris Seberino wrote:
> I made my plot PNGs transparent. For some reason this works
> in Firefox but not in Internet Explorer.
> 
> Anyone know why?
There is a known problem with transparent PNGs in IE, one of the reasons 
that they haven't become as popular as you might have expected/hoped.
This article gives some background, although this was just one search 
result I found :)
 http://www.pcmag.com/article2/0,1759,1645331,00.asp
According to the article the problem appears where the palette size is 
not 256. Perhaps there is a workaround which could be used in the png 
output code? Or perhaps 256 colours is often not suitable - eg. 
antialiasing is used in output (requiring more colours)?
-- 
Neil
From: Christopher B. <Chr...@no...> - 2006年03月11日 01:15:10
Robert Hetland wrote:
> Indeed, I did not know about it.
> 
> When I checked a while back, I did not notice any universal builds.
It's very new, but has gotten a lot of discussion on the python-mac 
list. That's a very good list to subscribe to if your using Python on a 
Macintosh.
> am pretty happy with my home rolled build. Are there any special 
> reasons to put python in the /Library/Frameworks directory? I imagine
> there are, and I'm just not clued in enough to know why..
Honestly, I'm not that clued in to what exactly the advantage is a 
framework -- but I do know it's more than just where it happens to live.
One advantage to the framework build is that you can use py2App to make 
a .app bundle of your program -- I don't know if it works with a 
standard unix-style build.
By the way, you can build it yourself as a Framework with a flag like 
--enable-framework or something like that.
The current goal of the macpython crowd is to establish a more or less 
"standard" build -- the universal framework build, and then we can 
populate pythonmac.org with pre-build extension packages for it.
This will be a big help to folks (unlike yourself) that wouldn't dream 
of building python from source.
-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: Robert H. <he...@ta...> - 2006年03月11日 00:22:40
On Mar 10, 2006, at 3:00 PM, Christopher Barker wrote:
> Or did you not know about it?
Indeed, I did not know about it.
When I checked a while back, I did not notice any universal builds. 
I am pretty happy with my home rolled build. Are there any special 
reasons to put python in the /Library/Frameworks directory? I 
imagine there are, and I'm just not clued in enough to know why..
Thanks for the tip,
-Rob.
-----
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

Showing 5 results of 5

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /