python 2.7 - Text wrap with box in Basemap -
i'd write text on world map pointing several locations. text written each location short, few lines, 1 or 2 words/numbers (i.e earthquake magnitude, location, date). there pythonic way perform this?
since matplotlib-basemap
based on matplotlib
, can use
plt.text(x,y,'yourtext')
to write text onto map. if want have boxed, add like:
plt.text(x,y,'yourtext',bbox={'pad':10})
Comments
Post a Comment