mikedewar / d3py

a plottling library for python, based on D3
1.42k stars 202 forks source link

handle interrupt more smoothly when using 'with' idiom #59

Open mikedewar opened 11 years ago

mikedewar commented 11 years ago

When I ctrl-c out of a show when using 'with' python pukes a big long error, even though we direct the user to ctrl-c out of the blocking loop. Let's at least make the error not happen (and let's think about re-writing this at some point eh?).