saving . . . saved IP Magic has been deleted. IP Magic has been hidden .
IP Magic
Title
Question
I am not able see that last line that you say ipython specific. (I am running Python 3.4 (x64) on Windows 7 x64 and have installed ipython and other packages through pip install command. I haven't been able to install scipy though.)
This is what I get when I type "%hist". The last ipmagic line is missing.
In [7]: %hist
x=linspace(-2*pi,2*pi,100)
plot(x,xsin(x))
plot(x,x*sin(x))
xlabel("x")
ylabel("$f(x)$")
title('$x and sin(x)$')
%hist
Is it because of Python 3 Version? Please help.

Python Additional-features-of-IPython 03-04 min 10-20 sec 31-05-15, 9:22 a.m. mitsu.w

Answers:

Hi,

The output that you are getting is absolutely correct.
%hist itself is an ipython magic command which shows the history of commands executed in a session including the most recent command (which is %hist in our case).
It's just that the way it is displayed on terminal is different. This is probably because of the different ipython versions & not python version.

Thanks !
01-06-15, 11:38 a.m. hardythe1


Log-in to answer to this question.