10000 Use correct traceback function · matplotlib/matplotlib@ee58680 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee58680

Browse files
committed
1 parent 24a043c commit ee58680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def DEBUG_MSG(string, lvl=3, o=None):
6969

7070
def debug_on_error(type, value, tb):
7171
"""Code due to Thomas Heller - published in Python Cookbook (O'Reilley)"""
72-
traceback.print_exc(type, value, tb)
72+
traceback.print_exception(type, value, tb)
7373
print()
7474
pdb.pm() # jdh uncomment
7575

0 commit comments

Comments
 (0)
0