SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S




1
2
3
4
(2)
5
6
7
(5)
8
(5)
9
(7)
10
(3)
11
12
(1)
13
(1)
14
(8)
15
(8)
16
17
(2)
18
(2)
19
(3)
20
21
(2)
22
(3)
23
(1)
24
(1)
25
(1)
26
(1)
27
28
29
30

Showing 7 results of 7

From: Abraham S. <ab...@cn...> - 2005年09月15日 20:20:49
Attachments: anim.py
Hi. I have the need to both display animations real time and to save 
them as files. Unfortunately, currently there doesn't seem a good 
unified method (although code currently exists on the web page to do 
both). I decided to try to unify animations with a couple of simple 
Python classes:
AnimationController - attached to an already drawn plot, and determines 
how specific plot will change over time (this is base class, so the 
functions: reset(), next(), prev(), and data() have to be overridden)
Animation - A collection of plots and AnimationControllers (1-to-1). 
Each cycle will have AnimationController update their corresponding 
plots (this is base class, so the function run() has to be overridden)
Then I have two backends for the Animation:
GTKAnimation - creates a 'live' animation
FileAnimation - creates an MPEG file
so all you need to do, is create your own AnimationController, and you 
can automatically create an MPEG file, or display the data live.
I thought I would throw this out there, and see if maybe other people 
were interested (and if maybe a toolkit should be created). Theres still 
some work to make it more flexible, and have more backends. Also, the 
FileAnimation is really a bad hack (using techniques suggested from 
previous posts). On my current system I couldn't get mencoder to work 
correctly (or mplayer, for that matter), so I had to use 'convert', but 
it's fairly easy to change it. Of course, ideally using the FFMPEG 
library would be best, but I don't have time to write the necessary SWIG 
files just now.
Also included is a quick example of phase-shifting sine-waves.
Abe
From: Fernando P. <Fer...@co...> - 2005年09月15日 17:34:17
Nadia Dencheva wrote:
> I dont' understand this. It looks like it failed to find any of the 
> fonts, but then
> why does the same setup work with python?
> And the same setup works with mpl 0.83.2 and ipython, it crashes only 
> with
> mpl from cvs
Just to say that I'm keeping an eye on this, but I have no ipython-specific 
ideas I can contribute. I looked at the log you sent, but no bulb went off in 
my head, sorry.
f
From: Nadia D. <den...@st...> - 2005年09月15日 14:30:15
Attachments: log.verb.debug
>
> * from ipython do you get the crash if you set your backend to be Agg
> and issue
>
> In [1]: plot([1,2,3])
> Out[1]: [<matplotlib.lines.Line2D instance at 0xb6cad26c>]
>
> In [2]: savefig('test')
>
> do you see the crash? Of course no figure will be plotted to the
> screen, but the png should be created
This works and the figure looks good.
> * If you set VERBOSE=True in setup.py and verbose : 'debug' in rc,
> and issue the plot commands in tkagg from ipython that generates
> the crash, what does the verbose output generate, particularly the
> last 100 lines or so?
>
Attached is the log file from
ipython -pylab myscript.py >& log.verb.debug
with VERBOSE = True and verbose=debug.
I dont' understand this. It looks like it failed to find any of the 
fonts, but then
why does the same setup work with python?
And the same setup works with mpl 0.83.2 and ipython, it crashes only 
with
mpl from cvs
Nadia
From: John H. <jdh...@ac...> - 2005年09月15日 13:46:43
>>>>> "Nadia" == Nadia Dencheva <den...@st...> writes:
 Nadia> So, ipython does not recognize --verbose-debug, I didn't
 Nadia> know that.
 Nadia> python myscript.py --verbose-debug >& log
Oh you're right, I forgot. And this is an ipython only bug. You can
set the verbose setting to debug in your rc file and then run your
example from ipython to get the verbose output from ipython.
So to clarify after this recent confusion, here are the two things
that it would help to know:
 * from ipython do you get the crash if you set your backend to be Agg
 and issue
 In [1]: plot([1,2,3])
 Out[1]: [<matplotlib.lines.Line2D instance at 0xb6cad26c>]
 In [2]: savefig('test')
 do you see the crash? Of course no figure will be plotted to the
 screen, but the png should be created.
 * If you set VERBOSE=True in setup.py and verbose : 'debug' in rc,
 and issue the plot commands in tkagg from ipython that generates
 the crash, what does the verbose output generate, particularly the
 last 100 lines or so?
JDH
From: Nadia D. <den...@st...> - 2005年09月15日 13:17:13
Attachments: log
> From your verbose output it looks like a ft2font error. Could you use
> --verbose-debug which may indicate which font is being loaded before
> the crash. We have seen some strangeness with OS X fonts.
>
So, ipython does not recognize --verbose-debug, I didn't know that.
python myscript.py --verbose-debug >& log
log is attached.
Thanks,
Nadia
From: John H. <jdh...@ac...> - 2005年09月15日 12:57:11
>>>>> "Nadia" == Nadia Dencheva <den...@st...> writes:
 Nadia> I am using the TkAgg backend and was hesitant to post this
 Nadia> since everyone agrees that it works, but I rebuilt mpl from
 Nadia> cvs this morning with VERBOSE =True, and confirmed that
 Nadia> ipython still crashes. Python works fine.
 Nadia> I am using python 2.4.1, freetype 2.9 on MacOSX with the
 Nadia> X11 version of Tk. Here's some of the output of plot().
 Nadia> FT2Font::getattr FT2Font::clear FT2Font::getattr Value::get
 Nadia> FT2Font::set_size FT2Font::getattr FT2Font::set_text Bus
 Nadia> error
So you get this with tkagg. I assume you get this with plain-ol agg
too?
From your verbose output it looks like a ft2font error. Could you use
--verbose-debug which may indicate which font is being loaded before
the crash. We have seen some strangeness with OS X fonts.
JDH
From: Nadia D. <den...@st...> - 2005年09月15日 12:52:05
I am using the TkAgg backend and was hesitant to post this since 
everyone agrees that it works,
but I rebuilt mpl from cvs this morning with VERBOSE =True, and 
confirmed that ipython
still crashes. Python works fine.
I am using python 2.4.1, freetype 2.9 on MacOSX with the X11 version 
of Tk.
Here's some of the output of plot().
Nadia
SeparableTransformation::eval_scalars
Affine::eval_scalars
Affine::eval_scalars DONE
Affine::operator
SeparableTransformation::operator
/Users/dencheva/cvs-matplotlib/test-crash/install/matplotlib/ 
font_manager.py:984: UserWarning: Could not match sans-serif, normal, 
normal. Returning 
/Users/dencheva/cvs-matplotlib/test-crash/install/matplotlib/share/ 
matplotlib/Vera.ttf
 warnings.warn('Could not match %s, %s, %s. Returning %s' % (name, 
style, variant, self.defaultFont))
ft2font_module::new_ft2font
FT2Font::FT2Font
FT2Font::clear
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::setattr
FT2Font::getattr
FT2Font::clear
FT2Font::getattr
Value::get
FT2Font::set_size
FT2Font::getattr
FT2Font::set_text
Bus error
On Sep 14, 2005, at 3:47 PM, John Hunter wrote:
>>>>>> "John" == John Hunter <jdh...@ac...> writes:
>
> John> OK, I just checked the archives. This definitely has
> John> cropped up before on ipython w/ matplotlib under 0.83.2.
> John> Steve Schmerler reported it on the user's list and we had
> John> some extensive discussions on and off list and never found
> John> the cause. He eventually just started using the debian
> John> package at which point the bug hunt was terminated.
>
> John> Fernando, if you can replicate it on your box with your
> John> current install, maybe you can set me up with an account and
> John> I'll log in and see if I can trace it. It looks like it's
> John> going to be a gtk/ipython/matplotlib/threading multi-headed
> John> monster.
>
> OK, this is getting thornier by the minute. Fernando gave me an
> account on his system running mpl 0.83.2 and ipython CVS and I logged
> in over X11 and was unable to reproduce the bug. He then logged in as
> me locally so we had the same environment and got the crash.
>
> The only two differences I can see are that I have a different X11
> server on my local machine and that the delays may be different since
> he is local and I am remote over ssh. So it could be some kind of
> nasty GUI timing threading thingie.
>
> If anyone has any ideas that these facts inspirec, fire away.
>
> JDH
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. 
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
1 message has been excluded from this view by a project administrator.

Showing 7 results of 7

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 によって変換されたページ (->オリジナル) /