wip
This commit is contained in:
@@ -50,8 +50,6 @@ def main(folder, intervl):
|
|||||||
|
|
||||||
# get questions for option_date_from <= creation date < option_date_to
|
# get questions for option_date_from <= creation date < option_date_to
|
||||||
newposts = dmt(posts).filter(lambda p: option_date_from <= p['CreationDate'] < option_date_to, "filter posts by dates").getresults()
|
newposts = dmt(posts).filter(lambda p: option_date_from <= p['CreationDate'] < option_date_to, "filter posts by dates").getresults()
|
||||||
if len(newposts) == 0:
|
|
||||||
continue
|
|
||||||
print("computing toxic levels: " + option_date_from.strftime("%d-%m-%Y") + " to " + option_date_to.strftime("%d-%m-%Y"))
|
print("computing toxic levels: " + option_date_from.strftime("%d-%m-%Y") + " to " + option_date_to.strftime("%d-%m-%Y"))
|
||||||
gfig, gaxs = plt.subplots(2, 2, figsize=(16, 12))
|
gfig, gaxs = plt.subplots(2, 2, figsize=(16, 12))
|
||||||
gaxs[0, 0].set_title('Neg')
|
gaxs[0, 0].set_title('Neg')
|
||||||
|
|||||||
Reference in New Issue
Block a user