Skip to content
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

tau_title() in rdocument/rmarkdown displays plots in viewer pane #79

Open
vinaychuri opened this issue Jan 18, 2020 · 0 comments
Open

Comments

@vinaychuri
Copy link

Hi Team,
I am using the example given in the help section of tau_title() within a rdocument as follows:
tauchart(mtcars) %>%
tau_point("mpg", "wt") %>%
tau_guide_y(auto_scale=FALSE) %>%
tau_title("Some Really Good Plot Title",
"font-weight:bold;margin:auto;text-align:center;font-size:24px;
color:#7f7f7f;font-family:sans-serif")

This does not show the plot inline within the rdocument but opens the Viewer pane of RStudio.

While the following code displays the plot inline.
tauchart(mtcars) %>%
tau_point("mpg", "wt") %>%
tau_guide_y(auto_scale=FALSE)

Am i doing something incorrect or is there some parameter i need to set to display my plots with title inline within the rdocument?

The help file does mention it as "This is most certainly a temporary hack."

Vinay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant