jkrogager / VoigtFit

Python code to fit absorption lines semi-interactively
http://voigtfit.readthedocs.io/
MIT License
28 stars 12 forks source link

Re-draw masks when redoing mask #9

Closed jselsing closed 7 years ago

jselsing commented 7 years ago

When redoing mask for individual line, the plotting is not reset and thus previous masks are still visible. New masks are over plotted on old ones. Maybe plt.axvline should return axis object that can be deleted so that plt.draw() removes the axis.

jkrogager commented 7 years ago

This has been fixed.