Jason Snyder wrote:
> I have the following program where I am trying to generate a pdf:
>
> 1 import matplotlib
> 2 matplotlib.use('AGG')
> 3 import matplotlib.pyplot as plt
> 4 import matplotlib.image as image
> 5 import matplotlib.gridspec as gridspec
> 6
On 04/03/17 00:28, Jason Snyder wrote:
> I have the following program where I am trying to generate a pdf:
> 6 from matplotlib.backends.backend_pdf import PdfPages
> 7 import numpy as np
> 13 with PdfPages('wx_plot.pdf') as pdf:
> When I run it I get the following error:
>
>
I have the following program where I am trying to generate a pdf:
1 import matplotlib
2 matplotlib.use('AGG')
3 import matplotlib.pyplot as plt
4 import matplotlib.image as image
5 import matplotlib.gridspec as gridspec
6 from matplotlib.backends.backend_pdf