Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Black line in Spyder

Tags:

spyder

enter image description here Why does line 14 appear in a bold style in my Spyder software?

How can I make it so its not bold?

like image 230
Faan Nang-gai Avatar asked Apr 17 '16 17:04

Faan Nang-gai


People also ask

What is the line in Spyder?

A “code cell” in Spyder is a block of lines, typically in a script, that can be easily executed all at once in the current doc: ipythonconsole . This is much like a “cell” in MATLAB (except without any need to enable a “cell mode”, since in Spyder, cells are detected automatically).

Why there is a vertical line in Spyder?

The vertical line indicating the maximum line length in the Editor reverts to the default length value after Spyder is restarted.

How do you wrap a line on a Spyder?

To turn on the Word Wrap feature, go to View > Toggle Word Wrap or click the Edit Display icon in the Code Editor toolbar (it's the second-to-last one on the right) and select Toggle Word Wrap. You can also set the program preferences to keep this feature on by default.

How do you use the black Spyder?

Since Spyder 4.2, there's support for black built in, though it was set to autopep8 by default for me. Then, you can use the default shortcut Ctrl + Alt + i or click the format dropdown under source tab to format a selection or the entire file.


1 Answers

It is to help in styling, to help you keep within 80 characters per line of code. You can cancel it by going to preference>editor>uncheck "show vertical line after xx characters".

like image 101
user2118915 Avatar answered Sep 28 '22 05:09

user2118915



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!