Showing line numbers in IPython/Jupyter Notebooks

后端 未结 10 1209
遥遥无期
遥遥无期 2020-12-04 05:56

Error reports from most language kernels running in IPython/Jupyter Notebooks indicate the line on which the error occurred; but (at least by default) no line numbers are in

10条回答
  •  遥遥无期
    2020-12-04 06:35

    You can also find Toggle Line Numbers under View on the top toolbar of the Jupyter notebook in your browser. This adds/removes the lines numbers in all notebook cells.

    For me, Esc+l only added/removed the line numbers of the active cell.

提交回复
热议问题