Matplotlib interactive application

Good afternoon Experts:

Do you know if there is an py application where I can build a
matplotlib plot interactively for data series, and then when it
finished, the source code could be exported to be used in a python
application?

Many thanks for your help,

German