sirrice / pygg

ggplot2 syntax in python. Actually wrapper around Wickham's ggplot2 in R
MIT License
73 stars 9 forks source link

Use tempfile to store temporary CSV files #4

Closed depristo closed 9 years ago

depristo commented 9 years ago

The current code uses a hardcoded tempfile /tmp/_pygg_data.csv, which may cause conflicts between multiple versions of ggpy running on the same machine as well as leaks data onto the filesystem that lives after the lifetime of a program using pygg. Replace with a true temporary file from tempfile.