I am using word cloud with some txt files. How do I change this example if I wanted to 1) increase resolution and 2) remove empty border.
#!/usr/bin/env pyt
It is very simple, plt.tight_layout(pad=0) does the job, reduces the space in the background, removing the excess padding.
plt.tight_layout(pad=0)