Problems with Piddle plotting package, Help.
Louis M. Pecora
pecora at anvil.nrl.navy.mil
Wed Sep 20 15:42:49 EDT 2000
More information about the Python-list mailing list
Wed Sep 20 15:42:49 EDT 2000
- Previous message (by thread): Problems with Piddle plotting package, Help.
- Next message (by thread): VJ SW DEV
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <200920000658138096%pecora at anvil.nrl.navy.mil>, Louis M. Pecora <pecora at anvil.nrl.navy.mil> wrote: To all: Thanks to help on the piddle e-group I found that changing line 252 in piddleQD.py as below enables the drawstring and all other tests to work fine in Python 1.5.2c1 on the Mac. Change line 252 from: font._QDfontID = fontID to: font.__dict__['_QDfontID'] = fontID This has something to do with dictionaries being immutable, but I haven't fully grokked it, yet. Anyone know. It fixes the problems and piddle plotting works like a charm so far. P.S. If you run piddletest.py , you must run it in the IDE to use the Quickdraw backend (easy to do, though). After opening the file in the IDE, go up to the arrow on the upper right of the window and choose "Run as Main". Then run it. Works fine.
- Previous message (by thread): Problems with Piddle plotting package, Help.
- Next message (by thread): VJ SW DEV
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list