Re: [O] Plotting in Python block won't over-write existing file

2015-03-08 Thread Richard Stanton
> Date: Fri, 06 Mar 2015 14:21:54 -0500 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] Plotting in Python block won't over-write existing > file > Message-ID: <87sidi9bjh@alphaville.usersys.redhat.com> > Content-Type: text/plain; ch

Re: [O] Plotting in Python block won't over-write existing file

2015-03-06 Thread Nick Dokos
Richard Stanton writes: > Here’s a sample Python code block: > > #+begin_src python :results file :exports both > import matplotlib > matplotlib.use('Agg') > import matplotlib.pyplot as plt > import pandas as pd > > df = pd.DataFrame({'date': [1900, 1901, 1902], 'x1' : [3, 4, 5], 'x2' : [6, > 7,

[O] Plotting in Python block won't over-write existing file

2015-03-06 Thread Richard Stanton
Here’s a sample Python code block: #+begin_src python :results file :exports both import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pandas as pd df = pd.DataFrame({'date': [1900, 1901, 1902], 'x1' : [3, 4, 5], 'x2' : [6, 7, 9]}) df.set_index('date', inplace=True, dro