Issue
The size of the of this plot is coming out to be <Figure size 864x432 with 0 Axes>
plt.figure(figsize =(12,6))
pd.plotting.scatter_matrix(Effect_Wf_f)
plt.show()
- Why is it not changing? -- despite writing before the plotting code.
- Is
sns.set_style('whitegrid`)
could be problem?
Solution
It could be that the plot size is changed by the plotting function. Add at the end:
plt.gcf().set_size_inches(12,6)
There is also a figsize
parameter in pandas.plotting.scatter_matrix
Answered By - mozway
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.