python - Margins in 2D image plot after adding scatterplot point in Matplotlib -
i trying label points on image, whenever marker on plots coordinate values , margins becomes unnecessarily large. issue here, , there way prepare this?
the image fine. plotted below , seems okay when don't add together plotted point.
imp = plt.imshow(processed[::-1],cmap='gray_r',vmin=1000,vmax=2000) plt.colorbar() plt.figure() imp = plt.imshow(processed[::-1],cmap='gray_r',vmin=1000,vmax=2000) plt.plot(600,400,'*',color='r') plt.colorbar()
large margin around image generated
python image python-2.7 matplotlib astronomy
No comments:
Post a Comment