Skip to content

Scale argument of Guides cannot be FALSE #16

@kayla-hale

Description

@kayla-hale
library(ggplot2)
library(webr)
library(dplyr)

data <- as.data.frame(Titanic)
head(data)

# Building a table with the data for the plot
PD = data %>% group_by(Class, Survived) %>% summarise(n = sum(Freq))
print(PD)

# Pie-Donut chart
PieDonut(PD, aes(Survived, Class, count=n), 
         title = "Titanic: Survival by Class")

Generated warning message:
The <scale> argument of guides() cannot be FALSE. Use "none"
instead as of ggplot2 3.3.4.
ℹ The deprecated feature was likely used in the webr package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions