I’ve finally got round to implementing this in pypickit.
The Microchip Pickit2 device has a built in logic analyser mode available in its Windows application. I’ve implemented support for it in my pypickit project, here. The program is called “analyser.py”.
I didn’t want to have to deal with drawing bitmaps or anything in a library designed to be as simple as possible, so I’ve decided to output the traces vertically in a simple text file. This actually is quite handy as you can just annotate them in a text editor, and use standard tools such as “less” to page through it. A sample screenshot of the output is (click for larger):