Closed andrewheusser closed 8 years ago
to add seaborn as a dependency, you can add it to setup.py-- you add the line
install_requires=['numpy', 'scipy', 'seaborn']
under the "py_modules" line
the brain-dynamics-model repo (python folder) has an example if you want to check it out...i'll also upload to slack
Added color api
-supports seaborn and matplotlib color palettes e.g.
palette="Reds"
-supports seaborn styles e.g.style="whitegrid"
-Unlabeled argument can be format string specified as a str, list or tuple. If str, sets all lines to specified style. If list/tuple, must be same length as x, and sets each line to specified value. -Also accepts any unlabeled argument supported by matplotlib -Keyword arguments can be str, list or tuple. color kwarg can be specified as a list of mixed types e.g.color=['r',(.2,.4,.6),'#101010']
. If list or tuple, must be same length as X. Can also list linestyles e.g.linestyle=[':','--','-']
and markers e.g.marker=['o','*','^']