Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up\n in the axis title causes problem #9
Comments
|
Hi @vzemlys , thanks for the report. However I could not reproduce this issue on my machine either. I suspect that this is due to the system libraries to build |
|
Here it is:
|
|
Now I can reproduce this problem in a Linux server. Will investigate later. Thanks. |
|
Hi @vzemlys, this problem has been fixed on github. I'll submit a new version to CRAN later. |
|
I just realized that I should close this issue, unless you have any other problems. |
I've encountered the following weird problem. If there is an "\n" in the begining of the axis title, axis titles disappear altogether from the ggplot.
The code to reproduce:
The result is that, the x axis title together with y axis title disappear completely. If
\nis removed at the begining, then everything displays perfectly. Also if we do not useshowtextthe bug does not appear. This bug is fully reproducible on my remote Linux server. However I can only reproduce it on this particular machine. Everything is fine on my local Macbook Pro. Here is thesessionInfo()of that particular Linux server:and the
devtools::session_info()I was not able to reproduce this on my Mac OS X 10.11.16 running R 3.3.0 with the same versions of ggplot2 and showtext. Here is the relevant
devtools::session_info():