1

The title says it all: Is there any way to remove the legend in ggplot in Python? I tried to google but could only find the solution for R

1 Answer 1

0

Use show_legend=False argument, e.g.:

ggplot(s_df, aes(x_var, y_var, group = var3, fill = var3)) + geom_point(size = 4, show_legend=False)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.