Hannes Breytenbach

Results 25 comments of Hannes Breytenbach

This one caught me with the following pattern: ```python import atexit from loguru import logger logger.info('Hi!') atexit.register(logger.info, 'Bye!') logger.info('Doing stuff...') ``` ```shell 2022-07-06 11:50:55.989 | INFO | __main__::6 - Hi!...

I used the following: ```python from loguru import logger # Pretty stack traces try: import rich def catch(func): def runner(*args, **kws): try: return func(*args, **kws) except Exception as err: logger.error('{}...

A very irritating problem. Temp fix via: `globals().update(locals())` Though you have to do this every time you want to use a new local variable in list comp...

Here's another example of where space gets munged: Notice the space after `\toprule` ```python TexSoup(r''' \begin{document} \begin{tabular}{ll} \toprule {\(a\)} & \\ \bottomrule \end{tabular}% \end{document} ''') ``` ``` \begin{document} \begin{tabular}{ll} \toprule{\(a\)}...

This no longer seems to be an issue for me on current master: ![Screenshot from 2020-05-20 09-18-46](https://user-images.githubusercontent.com/5623552/82416788-ecef1300-9a7a-11ea-9d19-d41b7c71a6dd.png)

The ability to connect to an existing kernel is critical to my workflow. Hope this gets a fix soon.

Would be great if automatic line wrapping could be disabled by the user. Probably need to add to [this function](https://github.com/jupyter/qtconsole/blob/47f15009c197c1b6436728a7d08844c3ea3febae/qtconsole/console_widget.py#L1121), something along the lines of ``` control.setLineWrapColumnOrWidth(10000) control.setLineWrapMode(QtGui.QTextEdit.FixedPixelWidth) ``` Anyone...

@michaelaye The [LaTeX Workshop](https://github.com/James-Yu/LaTeX-Workshop) extension for vscode provides autocompletion on bibtex keys.

Just a note that you can control the margin sizes to some extent using `gridspec_kws`. ```python fig, ax = plt.subplots(subplot_kw={'projection': '3d'}, gridspec_kw=dict(top=1.07, bottom=0.02, left=0, right=1)) fig.savefig('axes3d.png', dpi=600, bbox_inches='tight') ``` ![axes3d](https://user-images.githubusercontent.com/5623552/229286721-0d6465d8-0c3e-40ae-b3e8-7cb96e353675.png)

Custom initializers for processes is a must have feature!