How to make ggplot bigger in google colab

Hello, I am trying to make a plot bigger in google colab, but I can't seem to get it. I am currently doing

ggplot(data = my data) + geom_point(mapping =
aes(x = x, y = y, size = 5, color = "blue")) + ggtitle("My Title") +
theme(plot.title = element_text(hjust = 0.5, size = 20, face="bold"), axis.title=element_text(size=16,face="bold")) + theme(aspect.ratio = 1).

Aspect ratio changes the x and y axis correct? How do I make the entire plot bigger?

Unless you are exporting the plot as a file this is not related to the ggplot2 package but to the Google Colab platform, can you please elaborate on your question?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.