Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3e02ba

Browse files
committed
made a hack fix to support ipython
svn path=/trunk/matplotlib/; revision=1535
1 parent 38e2714 commit f3e02ba

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ New entries should be added at the top
44
2005-07-05 Fixed default backend import problem when using API (SF bug
55
# 1209354 - see API_CHANGES for more info - JDH
66

7-
87
2005-07-04 backend_gtk.py: require PyGTK version 2.0.0 or higher - SC
98

109
2005-06-30 setupext.py: added numarray_inc_dirs for building against

lib/matplotlib/backends/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ def show(): pass
4949
return new_figure_manager, draw_if_interactive, show
5050

5151

52+
# a hack to keep old versions of ipython working with mpl after bug
53+
# fix #1209354
54+
if 'IPython.Shell' in sys.modules:
55+
new_figure_manager, draw_if_interactive, show = pylab_setup()

0 commit comments

Comments
 (0)