notebook nbviewer examples python pandas ipython

python - nbviewer - jupyter server



El cuaderno Jupyter(IPython) no traza (1)

Instalé anaconda para usar pandas y scipy. Estoy leyendo y viendo tutoriales de pandas y todos dicen abrir el cuaderno ipython usando

ipython notebook --pylab==inline

pero cuando lo hago, recibo un mensaje que dice

"Support for specifying --pylab on the command line has been removed. Please use ''%pylab = inline'' or ''%matplotlib =inline'' in the notebook itself"

Pero eso no funciona. Luego, cuando intento "plot (arange (10))" recibo un mensaje que dice que "nombre ''plot'' no está definido." Estoy tratando de trazar los datos de un archivo .csv y obtuve

"matplotlib.axes._subplots.AxesSubplot at 0xebf8b70".

¿Que debería hacer?


Creo que la magia de los pylab se eliminó cuando hicieron la transición de IPython a un portátil Jupyter más general.

Tratar:

%matplotlib inline

También cuando recibes un mensaje como:

"matplotlib.axes._subplots.AxesSubplot at 0xebf8b70".

Eso es solo IPython mostrando el objeto. Debe especificar que IPython lo muestre. De ahí la magia en línea matplotlib.