I tried using this code to turn off the lines:
IPython.Cell.options_default.cm_config.lineNumbers = false;
And I also tried
IPython.Cell.options_default.cm_config.lineNumbers = False;
But I get the following error: name 'IPython' is not defined
If I understand your question correctly, the solution is to click on the 'Toggle Line Numbers' inside the View Tab of your Jupyter Notebook.
For Jupyter 5.5.0 this also works perfectly.
Esc and then L. It lets you to toggle the line number on and off. L can be small l
or caps L
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With