Guest User

Untitled

a guest
Mar 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def convertCountToKm2(x):
  2. return x * 25.0 * 1e-6
  3.  
  4. bins = numpy.array(list(range(0,7000,1000)))
  5. plt.hist(Anonzero,bins)
  6.  
  7. yFormat = tkr.FuncFormatter(convertCountToKm2)
  8. plt.yaxis.set_major_formatter(yFormat)
Add Comment
Please, Sign In to add comment