Increasing figure size #241
Answered
by
mrdbourke
david-ben-gurion
asked this question in
Q&A
-
When running the following code, I get a default sized plot and the figsize doesnt increase at all but it just outputs <Figure size 720x720 with 0 Axes> Can anyone help me how to increase the plot window size here? |
Beta Was this translation helpful? Give feedback.
Answered by
mrdbourke
Oct 26, 2021
Replies: 1 comment
-
Hey @DavidBenGurion-Git, This should help you: https://stackoverflow.com/questions/51174691/how-to-increase-image-size-of-pandas-dataframe-plot Try the df = pd.DataFrame({"a":[1,2],"b":[1,2]})
df.plot(figsize=(3,3)); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
david-ben-gurion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @DavidBenGurion-Git,
This should help you: https://stackoverflow.com/questions/51174691/how-to-increase-image-size-of-pandas-dataframe-plot
Try the
figsize
param in.plot()
: