transientskp / banana

a web interface for the Transient Pipeline database
http://docs.transientskp.org/
Other
4 stars 6 forks source link

Use OO matlplotlib not pyplot #123

Open gijzelaerr opened 8 years ago

gijzelaerr commented 8 years ago

To fix the multi threading issues with banana I introduced locking in the commit: https://github.com/transientskp/banana/commit/51bdf6e7ad2f5e5ea7cd2bc2371f08b6f2c685ae

A better solution would be to just not use pyplot, but the lower level OO interface for matplotlib that doesn't use global state.

pyplot is a convenience layer for interactive usage, not multi threaded scripting environments.