New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No text while plotting in R notebook #7455
Comments
Instead of putting links to external sites, you should copy the contents here, like this:
|
AFAICT you need to install some fonts on your Linux distro here. Boxes is what you get when fonts are missing. Run |
This is the output:
|
You need to install some of those fonts. This is not an Anaconda problem. |
Can you show the correct/expected output of the above? Thanks for the help. |
That is the correct output. I wanted you to see the name of the fonts you need to install. I don't know anything about the |
This is because the fonts are missing in anaconda, what we need is to install it:
|
Those fonts are for qt-based apps on Linux only at present (and I added them explicitly in support of RStudio). To the best of my knowledge you need system fonts here. |
DivM, were you able to fix this issue? |
For those of you still looking for the fix, as suggested by @shenweiyan |
I am on Ubuntu 18.04 This solved to me: This also fixes the prob: So it is for sure a problem of fonts missing... I used Anaconda to create the R environment. It seems that they left some critical packages behind when the env was created. |
Oh, thank you so much, |
I also faced same problem. Thanks @MadBugs for your comment. |
While plotting any plot in R on Jupyter notebook, all text in the plot (title, axes label etc.) is not being printed. This problem is there with both ggplot and normal plot function. Here's an example of the same:
This issue is limited to R notebooks as Python notebooks are plotting properly. The locale for R is as follows:
Refer to this for Stackoverflow question.
The text was updated successfully, but these errors were encountered: