Re: [web2py] matplotlib output

2011-09-07 Thread Richard Vézina
Look at the os.path.join() There is particularity regarding the OS you should taking in account when you want your command works everywhere... Look in the python doc about that. Richard On Wed, Sep 7, 2011 at 3:35 PM, Richard wrote: > Dear all, > > On the Mac it ran but on windows I can't get

[web2py] matplotlib output

2011-09-07 Thread Richard
Dear all, On the Mac it ran but on windows I can't get started and do not get an plot in an applications using: In Controllers/default def index(): import os import numpy as np import matplotlib import matplotlib.pyplot as plt matplotlib.use('Agg') x = np.arange(0, 5,