Why does line 14 appear in a bold style in my Spyder software?
How can I make it so its not bold?
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).
The vertical line indicating the maximum line length in the Editor reverts to the default length value after Spyder is restarted.
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.
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.
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".
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