Two questions/comments about Jupyter #1375
-
In the documentation, you mention that one should do
to install additional dependencies when using Rich with Jupyter. I had never bothered to do so (since everything worked just by installing Rich). I just tried to run that command and it didn't install anything additional. Is there something I am missing? (Perhaps this is no longer needed and the documentation should be updated.) When using Rich with Jupyter, you specify a series of font-families in https://github.com/willmcgugan/rich/blob/master/rich/jupyter.py#L8, starting with (In my project I decided to monkeypatch |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Jupyter extras installs The fonts were chosen to work well across the various combinations of OS and browser. Some fonts don't produce good output with the box characters, they may not align or you see gaps in the rows. The existing choices were a compromise. You may find that you can improve it on one platform only by breaking another. |
Beta Was this translation helpful? Give feedback.
The Jupyter extras installs
ipywidgets
which I'm guessing you already had. Perhaps Jupyter has that as a dependency now. Let me know if it doesn't need it and I'll update the docs.The fonts were chosen to work well across the various combinations of OS and browser. Some fonts don't produce good output with the box characters, they may not align or you see gaps in the rows. The existing choices were a compromise. You may find that you can improve it on one platform only by breaking another.