Create buttons to draw graph

python
Hi everyone, I am a beginner of Python. Do anyone mind if i could use your help in creating button to draw graph. I send a photo to you. Hope you can help me. Thank u very much.