0

I am using Ipython and pandas to create a Series of numbers.

 temperature_series = filtered_df['Daily Change'].cumsum()

I am then doing:

 plot = temperature_series .plot(marker    ='o',\
                                 linestyle ='-', \
                                 color     = 'red', \
                                 title     = 'Cumulative Change',\
                                 figsize   = (15,6))

and in Ipython I am getting a nice plot. I am trying to create a simple GUI using tkinter which will just open a window displaying the plot. How is this usually done pythonically? It doesn't need to necessarily use tkinter, I am using a windows 7 machine and I think it can also be done using tempfile-->save figure--->open figure.

jbat100
  • 16,757
  • 4
  • 45
  • 70
user1367204
  • 4,549
  • 10
  • 49
  • 78
  • I think you should use wxPython, and then you can do it like this http://stackoverflow.com/questions/10737459/embedding-a-matplotlib-figure-inside-a-wxpython-panel – jbat100 Nov 07 '13 at 08:45

1 Answers1

0

I would recommend wxPython (example here), but if you want to use Tkinter there are some examples on the matplotlib website here and here.

Community
  • 1
  • 1
jbat100
  • 16,757
  • 4
  • 45
  • 70