Skip to content

Commit

Permalink
Stupid print
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Dec 5, 2018
1 parent 15f0470 commit 0505623
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 10 additions & 9 deletions python/Magics/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,15 +590,6 @@ def inspect(self):

_MAGICS_LOCK = threading.Lock()


try:
# This function only seems to be defined in a Jupyter notebook context.
get_ipython()
plot = _jplot
except Exception:
plot = _plot


def _jplot(*args):
from IPython.display import Image

Expand All @@ -624,6 +615,16 @@ def _jplot(*args):
return image


try:
# This function only seems to be defined in a Jupyter notebook context.
get_ipython()
plot = _jplot
except Exception:
plot = _plot




def wmsstyles(data):
context.set()
try :
Expand Down
4 changes: 1 addition & 3 deletions src/visualisers/Akima760.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1266,9 +1266,7 @@ double Akima760::rgbi3p(double XI, double YI) const
int INXI,INYI; // input point
double ZI; // interpolated value

cout << XI << ", " << YI << endl;
if ( XI == 0 && YI > 97)
cout << "STOP" << endl;

// Locates the output point
// It is not called anymore, but it is kept here
// for test purpose
Expand Down

0 comments on commit 0505623

Please sign in to comment.