change size of scatter plot matplotlib code example
Example 1: increase figure size in matplotlib
plt.figure(figsize=(20,10))
Example 2: legend size matplotlib
plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})
plt.figure(figsize=(20,10))
plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})