mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
Merge pull request #177 from mellorjc/master
matplotlib interactive mode only in IPython
This commit is contained in:
commit
c8b70dd77a
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,11 @@ try:
|
||||||
from matplotlib.patches import Polygon
|
from matplotlib.patches import Polygon
|
||||||
from matplotlib.collections import PatchCollection
|
from matplotlib.collections import PatchCollection
|
||||||
#from matplotlib import cm
|
#from matplotlib import cm
|
||||||
pb.ion()
|
try:
|
||||||
|
__IPYTHON__
|
||||||
|
pb.ion()
|
||||||
|
except NameError:
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
import re
|
import re
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue