danfeldman90 / EDGE

Espaillat Disk Group Extraordinaires: Tools & Manuals
MIT License
0 stars 3 forks source link

figurepath in look #14

Closed cespaillat closed 9 years ago

cespaillat commented 9 years ago

edit look so that it can accept figurepath as an input; currently, it uses the figurepath hardcoded in edge.py, which can lead to confusion when working on many objects and you forget to change figurepath in edge.py and it prevents you from making figures for multiple objects at the same time. This means xlim and ylim would need to be set as inputs too.

danfeldman90 commented 9 years ago

look() now has a keyword called savepath, which uses the hardcoded figurepath as the default option. Supplying your own overwrites the default and allows you to no longer have to hard code this path into EDGE.py