Remove matplotlib and seaborn dependencies #672
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
moderate problem
Requires an average amount of work
Context
Augur supports a "full" installation that installs optional dependencies including cvxopt, matplotlib, and seaborn. Although cvxopt is required for titer models to work (arguably a dependency that should be installed anyway), the plotting modules are only used in an old titer model function and two test functions in the frequency estimation module (one and two).
Description and possible solution
We should remove the two plotting modules as dependencies, move the corresponding plotting code to documentation for the titer model and frequencies (respectively), move cvxopt to the main dependency list (now that we use the latest version that has pre-built wheels), and remove the "full" installation section of the project's setup module.
The related plotting code is effectively inaccessible to anyone who would want to use it from the command line and requires advanced knowledge of Augur's inner workings to get this code working from a Python shell/notebook. Moving the code to documentation would allow us to better document these Augur components and provide inline examples of what the plot outputs should look like.
Most of the hard work in addressing this issue would be the writing of documentation and testing of the old plotting code. The easier solution would be to delete the plotting code and associated dependencies completely.
The text was updated successfully, but these errors were encountered: