[Bug 342549] Re: No figure appear matplotlib

liza norhasliza_yusof at yahoo.com
Thu Mar 26 09:39:59 UTC 2009


Hi,

Attached is the scripts that I used for plotting. It able to plot but it
takes very long time for the figure to appear. I also recently discover
this error:


liza at neutrino:~/calc/plot$ ./dhr5mpl_P.py 20 0 0 0 0 m 3
../P20zm3S000/P.wg
3
read fileliza at neutrino:~/calc/plot$ ./dhr5mpl_P.py 20 0 0 0 0 m 3
../P20zm3S000/P.wg
3
read file
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1331, in _update_line_limits
    p = line.get_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 557, in get_path
    self.recache()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 409, in recache
    self._xy = np.concatenate((x, y), 1)
MemoryError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
MemoryError

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1331, in _update_line_limits
    p = line.get_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 557, in get_path
    self.recache()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 409, in recache
    self._xy = np.concatenate((x, y), 1)
MemoryError

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1331, in _update_line_limits
    p = line.get_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 557, in get_path
    self.recache()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 409, in recache
    self._xy = np.concatenate((x, y), 1)
MemoryError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
MemoryError

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1331, in _update_line_limits
    p = line.get_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 557, in get_path
    self.recache()
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 409, in recache
    self._xy = np.concatenate((x, y), 1)
MemoryError



________________________________
From: Benjamin Drung <benjamin.drung at gmail.com>
To: norhasliza_yusof at yahoo.com
Sent: Wednesday, March 25, 2009 4:35:16 PM
Subject: [Bug 342549] Re: No figure appear matplotlib

Do you installed the upstream version? Can you provide a sample script?

** Changed in: matplotlib (Ubuntu)
       Status: New => Incomplete

-- 
No figure appear matplotlib
https://bugs.launchpad.net/bugs/342549
You received this bug notification because you are a direct subscriber
of the bug.

Status in “matplotlib” source package in Ubuntu: Incomplete

Bug description:
Hi,

I using matplotlib 0.98.5.2 on Ubuntu 8.04. I try the example to plot
histogram but the graph/histogram does not appear but only array of
numbers representing the histogram appear. However, the figure appear if
I write the python script with show() but the waiting time for the
figure to appear take more than 15 minutes. What is wrong? I installed
python  2.5.2 ,  numpy: 1.2.1, freetype2: 9.16.3,  libpng: 1.2.15beta5,
Tkinter: 50704, Tk: 8.4, Tcl: 8.4,  Gtk+: gtk+: 2.12.9, glib: 2.16.6,
pygtk: 2.12.1,pygobject: 2.14.2. Is there any missing packages?



** Attachment added: "dhr5mpl_P.py"
   http://launchpadlibrarian.net/24359522/dhr5mpl_P.py

** Attachment added: "read_ascii2.py"
   http://launchpadlibrarian.net/24359523/read_ascii2.py

-- 
No figure appear matplotlib
https://bugs.launchpad.net/bugs/342549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list