Open slowkow opened 6 years ago
Hi Yixuan,
I wonder if you might have an idea why showtext is not working as expected in the Jupyter notebook. Is there any way I can try to debug this?
Here's a notebook showing that showtext is actually working, but not when it is displayed automatically by Jupyter...
In other words, I have to save the figure to a file and then show the file with:
library(imager) im <- load.image("showtext-ex2.png") plot(im, axes = FALSE)
https://gist.github.com/slowkow/771238703396bd006f3aeb0943147c85
Is it possible to modify showtext to display by default in a Jupyter notebook?
Do you know any workarounds?
I am not 100% sure, but have you tried to use the showtext_auto() function to automatically enable showtext?
showtext_auto()
I have, and it doesn't work. Thanks for the suggestion!
Hi Yixuan,
I wonder if you might have an idea why showtext is not working as expected in the Jupyter notebook. Is there any way I can try to debug this?
Here's a notebook showing that showtext is actually working, but not when it is displayed automatically by Jupyter...
In other words, I have to save the figure to a file and then show the file with:
https://gist.github.com/slowkow/771238703396bd006f3aeb0943147c85
Is it possible to modify showtext to display by default in a Jupyter notebook?
Do you know any workarounds?