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 1728
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...@eeinter net.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.comwro te:
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 browser-friendly
format (PNG, GIF, JPG).
|
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 place those images within an
..aspx page. If necessary, I'll do all the hand-coding in that way. But I'd
rather not. :)
On the contrary, I'm posting here to see if anyone can recommend either (1)
a readily available custom control to handle...
|
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?
Thanks,
Keith
|
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 paste as an Excel object in power point
which links the Excel file to the power point, but this
increases the file size.
Microsoft Power point has a feature called Microsoft
charts that allows to create charts and graphs in
| |
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,
Nic
|
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 the charts I've found have
jagged borders and are quite visually unappealing.
Thanks in advance for any pointers,
|
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 pixels). I want
the graphs to change size proportional to the font enlargement viewers
use.
I did this sort of thing once before at
http://cyclonestudios.com.au/aboutus/projects.html
where the little colour patches under each project show...
|
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 software to create graphs on go? Any guidance will be helpful.
Thanks
P.S: I am developing a website in VB.NET ASP 2.0
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| | |