In [2]:
import matplotlib.pyplot as plt
from p2arxivsearch import *
%matplotlib inline

#Using the functions
'''
maxresults=5
dates_novel=finddate(readarxiv_title('novel',maxresults))
dates_revisit=finddate(readarxiv_title('novel',maxresults))
print(dates_revisit)
'''
#Search for specific author
data=readarxiv_author('Kouwenhoven_L',100)
abswcount=abstract_word_count(data)
print (abswcount)
#plot the data as 
plt.hist(abswcount)
plt.xlabel("number of words in abstract")
plt.ylabel("number of papers")


[ 92  88  88 100 101 131  76  69  73  95  53 111 175 168  86  80  88 102
  94 161  67  73 210  84 127 147 223 183 149 276 185  89  93 168  87 159
  85  95  82  88 136 121 116  88  89  97  87 179 192  90  69  91 142  74
  97 116 138 150 134  75 130 106 109 103 143 150  77 151 157  97  94  77
 114 116 101  85 101  92 112 105  97  99  99  88 194  84 170 124 107  92
 112  83 106 145 150 178 117  92 123 106]
Out[2]:
<matplotlib.text.Text at 0x7faec6634c50>

In [ ]:


In [ ]: