You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example shows the difference between ggplot and ggplotly objects regarding the use of "labs".
Source: R for Data Science
p<-ggplot(mpg, aes(displ, hwy)) +
geom_point(aes(color = class)) +
geom_smooth(se = FALSE) +
title = "Fuel efficiency generally decreases with engine size",
subtitle = "Two seaters (sports cars) are an exception because of their light weight",
caption = "Data from fueleconomy.gov"
p # This is ok, a ggplot2 object
g <- ggplotly(p)
g # "labs()" Just showing title (centered) and subtilte & caption are not even showing up
labs() not ok
The text was updated successfully, but these errors were encountered:
Thank you all, implementing this enhancement would be very much appreciated. Having important info about a chart (subtitles and captions) flow through to ggplotly is likely very important to most users.
On Nov 5, 2018, at 10:26 AM, Everet Rummel ***@***.***> wrote:
I'm following this more closely than my local ballot measure tbh
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.