dhmit / gender_analysis

A toolkit for analyzing gendered language across sets of documents
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Move any code that runs at module import #61

Closed ryaanahmed closed 5 years ago

ryaanahmed commented 5 years ago

There are some settings for seaborn that are set at module import time in a few modules. (e.g. analysis.analysis. Let's move into the functions that actually graph stuff, where they belong.

If the code was outside of a function because it was meant to apply to everything in the module, refactor accordingly (put it all in a helper function, and call that helper function explicitly in each of the analysis functions).