Skip to content

Commit

Permalink
Refactor - Using pysankey from the pypi package
Browse files Browse the repository at this point in the history
Since we added it on pypi, we do not need to copy paste the code and
it will be easier to get the last version automatically. We use the
latest version, but code will have to change when the new 1.0.0 version
is added. (easier way to import it, figure_name to figureName, and removing
dependency in the requirements file.)
  • Loading branch information
Pierre-Sassoulas committed Dec 12, 2018
1 parent 8bfbf33 commit 6a97ee8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 226 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ django-registration==2.2 # account logic, views and workflows
pytz==2017.2
ordereddict==1.1
PyYAML==3.12
pysankey==0.0.1
matplotlib==2.1.0rc1
seaborn==0.8.1
numpy==1.13.3
2 changes: 1 addition & 1 deletion survey/exporter/tex/question2tex_sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pandas.core.frame import DataFrame

from survey.exporter.tex.question2tex import Question2Tex
from survey.exporter.tex.sankey import sankey
from pySankey.sankey import sankey
from survey.models.question import Question

LOGGER = logging.getLogger(__name__)
Expand Down
225 changes: 0 additions & 225 deletions survey/exporter/tex/sankey.py

This file was deleted.

0 comments on commit 6a97ee8

Please sign in to comment.