|
From: John H. <jdh...@ac...> - 2003-08-30 12:59:50
|
>>>>> "Charles" == Charles Twardy <ct...@ma...> writes:
Charles> Hi John, The latest CVS changes seem to help! The new
Charles> deprecations are gone, and my own title works on center
Charles> justify.
Charles> But if I try an absurdly long title: gcf().text(0.5,
Charles> 0.95,'Distance Histograms by Category is a really long
Charles> title that should flow off', font, fontsize=12)
Charles> Then I get an X Window Error and my script crashes. Most
Charles> ungraceful.
Yes, most. Are you sure you are using the right version? Does line
1702 of figure.py read
def clip_gc(gc):
gc.set_clip_rectangle( (0, 0, self.width, self.height) )
for t in self._text:
t.clip_gc = clip_gc
I also tested with a ridiculously long figure title and did not get
the X windows crash after making these changes . CVS should have
this, but as you've noted, sometimes the mirrors are a little behind.
If you have this and are still getting the crashes, let me know and
I'll sort it out.
Charles> For fun, I've attached the .pngs I've been working
Charles> on. Lost-person behavior: distance travelled and outcome
Charles> of the search, broken down by major
Charles> categories. (Australian data)
That's great. Unfortunately I can't look at them right now because
I'm logged in remotely from a win32 machine but will check them out
Monday. If you'd like to send a script, I can add one of them to the
screenshots section of the home page.
JDH
|