Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib, and it seemed like exactly what I was
looking for. I tried importing it in my script, but it gave me some
error about a home directory not being writable. I'm not sure I like the
idea of it require to be able to write somewhere. Am I using it wrong?
Is there something else I can use which can produce graphs easily?
--
Kind regards,
Jan Danielsson 4 1695
Jan Danielsson kirjoitti:
Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib, and it seemed like exactly what I was
looking for. I tried importing it in my script, but it gave me some
error about a home directory not being writable. I'm not sure I like the
idea of it require to be able to write somewhere. Am I using it wrong?
Is there something else I can use which can produce graphs easily?
I've used PyChart: http://home.gna.org/pychart/
in my Blood Pressure Monitor application: http://personal.inet.fi/cool/operator/BPMDownload.html
I found PyChart to be very easy to use and to function as advertised.
HTH,
Jussi
Jan Danielsson wrote:
Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib, and it seemed like exactly what I was
looking for. I tried importing it in my script, but it gave me some
error about a home directory not being writable. I'm not sure I like the
idea of it require to be able to write somewhere. Am I using it wrong?
Is there something else I can use which can produce graphs easily?
We've had good success with matplotlib.
j
--
Joshua Kugler
Lead System Admin -- Senior Programmer http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ Â*ID 0xDB26D7CE
--
Posted via a free Usenet account from http://www.teranews.com
On Feb 7, 4:46 am, "Joshua J. Kugler" <jos...@eeinternet.comwrote:
Jan Danielsson wrote:
Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib, and it seemed like exactly what I was
looking for. I tried importing it in my script, but it gave me some
error about a home directory not being writable. I'm not sure I like the
idea of it require to be able to write somewhere. Am I using it wrong?
Hi!
Matplotlib saves some stuff into a configuration dir. Take a look at
the __init__.py file in site-packages/matplotlib (or where your
installation lives). There are several environment variabels checked
where a .matplotlib folder will be created. Try unsetting HOME, than
probably TMP will be used and this should be writable in any case. I
don't know whether the creation of the configuration folder can be
turned off.
Hope that helps! Bernhard
On Feb 6, 7:57 am, Jan Danielsson <jan.m.daniels...@gmail.comwrote:
Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib, and it seemed like exactly what I was
looking for. I tried importing it in my script, but it gave me some
error about a home directory not being writable. I'm not sure I like the
idea of it require to be able to write somewhere. Am I using it wrong?
Is there something else I can use which can produce graphs easily?
--
Kind regards,
Jan Danielsson
You might want to look at RPy ( http://rpy.sourceforge.net), an
interface to R (statistical programming environment).
Sean This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: MT |
last post by:
Hello Everyone:
I would like to make some charts based
on data I am retrieving from my DB.
The charts should be things like bar-charts,
pie-charts, line-graphs etc.
Th charts can be in any...
|
by: The Bear |
last post by:
Does anyone know of a Chart or Graphs library for C#
T.B.
|
by: Bruce Schechter |
last post by:
I need to generate a series of line charts dynamically from ADO.NET data in
an ASP.NET application. I've read several articles about using GDI+ to
render graphs into a bitmap image and then to...
|
by: Keith |
last post by:
Good Morning,
I am looking to add some graphs to a aspx page that consists on data within tables. Can someone point me to which method/language works best to accomplish this within aspx/sql db? ...
|
by: Rach |
last post by:
Hi,
Does anyone know how to export charts/graphs from EXCEl
into Powerpoint-Microsoft Charts though VBA code. I would
like to import the underlying data with the chart as well.
I know we can...
|
by: Nico |
last post by:
Hi, I'm looking for a package useful to draw graphs (like those listed at
the page http://www.graphviz.org/, not general charts). Can you provide me
with some indication please? Many thanks!
Best,...
|
by: ECRIA spam buffer |
last post by:
Does anyone know of a tool that can facilitate the on-the-fly generation of
pie charts and graphs? I know that the GD library/JpGraph can do these
things, but I haven't seen any good examples; all...
|
by: Eric Lindsay |
last post by:
I need to include some simple (sparkline style) graphs in a web page
that will have a liquid layout. Some viewers will be changing the font
size to suit their display (sizes range from 320 to 2560...
|
by: programmerboy |
last post by:
Hi,
My manager wants me to create some charts and graphs for some of data we collect. I have never done it before neither on a desktop application nor web application. Do I need some special kind of...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| | |