I'm trying to build a single function (in a controller) that generate
different matplotlib graph..
So the function that generate the stream works fine:
*def grafico*(title='title',xlab='x',ylab='y' data= ):
fig=Figure()
return stream.getvalue()
the function that call the
I 'd like to view in a view this part of code :
import datetime
import matplotlib.pyplot as plt
x = [datetime.date(2014, 1, 29), datetime.date(2014, 4, 15),
datetime.date(2014, 3, 29)]
y = [2, 4, 1]
fig, ax = plt.subplots()
ax.plot_date(x, y, markerfacecolor='CornflowerBlue',
markeredgecolor='
I posted this question online and it seems that it would be useful to post
it here.
tl;dr: I found a work around by creating a symbolic link to matplotlib in
the modules folder.
http://stackoverflow.com/questions/32428845/why-does-matplotlib-not-work-on-a-digitalocean-vps-with-web2py
I've got
Look more like a interactive Ipython and built-in webserver then something
that could be integrated with web2py, but there is few detail about how it
works so can say for sure...
Richard
On Tue, Jan 7, 2014 at 10:51 AM, ArtDijk wrote:
> Hi,
> I want to do data analysis in pandas and show resul
Hi,
I want to do data analysis in pandas and show results via web2py to
managers.
Is it possible to use the new webagg from matplot lib in web2py ?
http://matplotlib.org/users/whats_new.html?highlight=webagg#backends
If the answer is yes can you show an example ?
Thanks very much
Art
--
Resour
Hello all, im new to python and web2py. i have been trying to get
matplotlib working in web2py and followed the example at
http://www.web2pyslices.com/slice/show/1357/matplotlib-howto this is
working but i dont know how to plug my data into it.
return plot(data={'my plot':[(0,0),(1,1),(2,4),(3,9
Hello,
I'm on the newer end of programming, and web2py has been my first (and very
happy) foray into web application development. I am developing an
application to remotely control two spectrum analyzers (HP 3562A) in our
lab to do swept sine and power spectra plots. The connection is made usin
using matplotlib plugin there
http://web2py.com/plugins/static/web2py.plugin.matplotlib.w2p
i get error
RuntimeError: Failed to create /var/www/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration data
(it is on ubuntu+apache)
(how) should i change the
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
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,
Hello,
I would like to make a clickable image map of a scatter plot in my
web2py application. The scatter plot will be dynamically generated. I
can use the technique that Massimo has shown many times to generate
matplotlib plots in web2py. The trouble is that the technique relies
on a controller th
Hi *,
old question still without answer... installing plugin_matplotlib inside
the welcome app under a web2py installation that runs under apache using
mod_wsgi I still got this:
AttributeError: 'module' object has no attribute 'cbook'
but the solution to load matplotlib and matplotlib.cbook
> Massimo, I've reviewed your slide presentation and have the following
> comments (page numbers refer to pdf page numbers):
> p. 4: bullets are dark gray on darker gray and are illegible (this
> occurs in other slides as well)
> p. 13: Field('seuqence') should be spelled Field('sequence')
> p. 25
;
> > > You can find my slides and the code here:
>
> > > http://web2py.com/examples/static/supercomputing2009.zip
>
> > > Massimo
>
> > > On Oct 14, 10:42 pm, Vincent wrote:
>
> > > > I have been reading a bit about matplotlib plots into a w
been reading a bit about matplotlib plots into a web page.
> > > Mostly lots of googling and reading treads. My question is, Is there a
> > > nice how-to posted somewhere for using web2py + matplotlib.
> > > Same question for "PlotKitWrapper" Is there docum
the code here:
>
> http://web2py.com/examples/static/supercomputing2009.zip
>
> Massimo
>
> On Oct 14, 10:42 pm, Vincent wrote:
>
>
>
> > I have been reading a bit about matplotlib plots into a web page.
> > Mostly lots of googling and reading treads
y lots of googling and reading treads. My question is, Is there a
> nice how-to posted somewhere for using web2py + matplotlib.
> Same question for "PlotKitWrapper" Is there documentation?
>
> Thanks for your help
> Vincent
--~--~-~--~~~---~--~
I have been reading a bit about matplotlib plots into a web page.
Mostly lots of googling and reading treads. My question is, Is there a
nice how-to posted somewhere for using web2py + matplotlib.
Same question for "PlotKitWrapper" Is there documentation?
Thanks for your he
18 matches
Mail list logo