Hannes Breytenbach
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: 
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') ``` 
Custom initializers for processes is a must have feature!