You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(13) |
2
(11) |
3
|
4
(9) |
|
5
(3) |
6
(17) |
7
(24) |
8
(11) |
9
(26) |
10
(19) |
11
(4) |
|
12
(4) |
13
(14) |
14
(9) |
15
(5) |
16
(18) |
17
(23) |
18
(3) |
|
19
(1) |
20
(7) |
21
(27) |
22
(26) |
23
(6) |
24
(17) |
25
(1) |
|
26
|
27
(7) |
28
(1) |
29
(4) |
30
(5) |
|
|
|
From: Josh L. <li...@me...> - 2006-11-20 04:16:55
|
The subplot comma notation problem I was having seems to have gone away in the latest Ubuntu distribution, which includes MPL 0.87-5. Thanks, Josh |
|
From: Emmanuel Favre-N. <man...@gm...> - 2006-11-19 00:01:08
|
Le Vendredi 17 Novembre 2006 21:37, vous avez =E9crit=A0: > 1) you seem to have posted this three times -- we really only need it onc= e. Sorry, I've problem with my email, I didn't receive the mail so I thought i= t=20 wasn't send! (sourceforge seems not to like gmail emails) > 2) I'd recommend wx MPL, it's a nice way to embed MPL in wx -- it > handles much of this for you.: > > http://agni.phys.iit.edu/~kmcivor/wxmpl/ I've already heard a little bit of this package. Only problem is that ther= e=20 is no installer yet if I didn't miss it, I would have to prepare an ebuild= =20 and also to install on windows too, something I never did. I don't know wha= t=20 would be the faster for me, maybe going further with matplotlib directly,=20 maybe I'm wrong. > 3) try to enclose a complete app, so we can test and adjust it without > writing a bunch of code ourselves. =2E..cutted here > Make it simpler, put it in a small app, then post again if you can't get > it to work. I eventually solved my problem and I can embedded in wx... which was trivia= l=20 for examples, maybe because I'm quite new to OO programming etc. wxglade6.py continously plots curves I hope it may help beginner like me to= =20 embed matplotlib in a wxpython application which generally need the=20 possibility to update the curve plotted. I just have one question : why is the wxTIMER passing 2 parameters to metho= d=20 app.frame1.panel_graf?=20 I putted an dummy second parameter to solve this problem (without=20 understanding the reason for that!) when printing the dummy_parameter it returns : <wx._misc.TimerEvent; proxy of C++ wxTimerEvent instance at=20 _a4149bbf_p_wxTimerEvent> So what? Long live matplotlib! |
|
From: Darren D. <dd...@co...> - 2006-11-18 13:39:34
|
On Saturday 18 November 2006 7:58 am, Steve Schmerler wrote: > Frank Zwaard wrote: > > Hi > > > > sorry for the stupid question but I have installed an RPM version of > > matplotlib and now I would like to upgrade it. Unfortunately I would > > like to install a version that doesn't have an RPM. > > I downloaded the source and built it, but I don't know if I can just > > install it over the old version or if I have to remove the old version > > and then install the old one ... > > What should I do with Scipy and Numpy? > > > > Is there some docs about this? > > Infos on compatible numpy/scipy versions: http://scipy.org/Download > > I'm not sure which numpy version is required by the latest mpl The latest mpl is compatible with numpy-1.0, not the release candidates. |
|
From: Steve S. <el...@gm...> - 2006-11-18 12:58:31
|
Frank Zwaard wrote: > Hi > > sorry for the stupid question but I have installed an RPM version of > matplotlib and now I would like to upgrade it. Unfortunately I would > like to install a version that doesn't have an RPM. > I downloaded the source and built it, but I don't know if I can just > install it over the old version or if I have to remove the old version > and then install the old one ... > What should I do with Scipy and Numpy? > > Is there some docs about this? > Infos on compatible numpy/scipy versions: http://scipy.org/Download I'm not sure which numpy version is required by the latest mpl, but the latest tarballs should work. If you have numpy/scipy installed via a package manager, check the versions. If they are not too old, try to just upgrade mpl and see if it works, otherwise install (1) numpy, (2) scipy, (3) mpl. Always remove/uninstall/backup the old installations first (to be on the safe side also everything in ~/.matplotlib, maybe back up your matplotlibrc file). Install to /usr/local/lib/python2.x/site-packages (instead of /usr/lib) with python setup.py install --prefix=/usr/local to avoid clashes with your package manager (I experienced such things). -- cheers, steve Random number generation is the art of producing pure gibberish as quickly as possible. |
|
From: Frank Z. <fz...@gm...> - 2006-11-18 11:53:06
|
Hi sorry for the stupid question but I have installed an RPM version of matplotlib and now I would like to upgrade it. Unfortunately I would like to install a version that doesn't have an RPM. I downloaded the source and built it, but I don't know if I can just install it over the old version or if I have to remove the old version and then install the old one ... What should I do with Scipy and Numpy? Is there some docs about this? Thanks for the help Frank |
|
From: Robert K. <rob...@gm...> - 2006-11-17 22:56:26
|
zh...@um... wrote: > Hi,all: > How do I include the stop value in the array by using arrayrange? > Say: > arrayrange(0,10,1.0,Float) > [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.,] > but I want 10 to be included 1. arrayrange() is a deprecated name. arange() is the preferred name. 2. However, arange() with floating point numbers is unreliable. Because of floating point precision issues, it is often difficult to tell whether or not the endpoint will be included. Use linspace() instead. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
|
From: <zh...@um...> - 2006-11-17 22:45:41
|
Hi,all: How do I include the stop value in the array by using arrayrange? Say: arrayrange(0,10,1.0,Float) [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.,] but I want 10 to be included Thanks |
|
From: Emmanuel Favre-N. <emm...@fa...> - 2006-11-17 20:53:50
|
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to solve this ?
In the __init__ of the frame I put this :
class MyFrame(wx.Frame):
def __init__(self, *args, **kwds):
...
self.panel_4 = wx.Panel(self.panel_1, -1)
#matplotlib part initialisation
self.fig = Figure((6,6), 75)
self.canvas = FigureCanvasWx(self.panel_4, -1, self.fig)
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
# Create a figure manager to manage things
self.figmgr = FigureManager(self.canvas, 1, self)
#...
sizer_8 = wx.BoxSizer(wx.VERTICAL)
#...
sizer_4.Add(sizer_5, 1, wx.EXPAND, 0)
self.panel_4.SetAutoLayout (True)
self.panel_4.SetSizer(sizer_8)
sizer_8.Fit(self.panel_4)
sizer_8.SetSizeHints(self.panel_4)
sizer_8.Add(self.canvas, 1, wxLEFT|wxTOP|wxGROW)
sizer_8.Add(self.toolbar , 0, wxGROW)
|
|
From: Alan I. <ai...@am...> - 2006-11-17 20:20:25
|
The first time I "import pylab" after installing matplotlib
I get many warnings (below). This is 0.87.7 under Python 2.5.
Is ignoring these the right thing to do? (I seem to be up and running.)
Alan Isaac
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /Library/Fonts/NISC18030.ttf
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/Helvetica LT MM
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/HelveLTMM
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/Times LT MM
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/LastResort.dfont
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/Keyboard.dfont
Warning (from warnings module):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 455
warnings.warn("Could not open font file %s"%fpath)
UserWarning: Could not open font file /System/Library/Fonts/TimesLTMM
|
|
From: Emmanuel Favre-N. <man...@gm...> - 2006-11-17 19:45:42
|
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to solve this ?
In the __init__ of the frame I put this :
class MyFrame(wx.Frame):
def __init__(self, *args, **kwds):
...
self.panel_4 = wx.Panel(self.panel_1, -1)
#matplotlib part initialisation
self.fig = Figure((6,6), 75)
self.canvas = FigureCanvasWx(self.panel_4, -1, self.fig)
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
# Create a figure manager to manage things
self.figmgr = FigureManager(self.canvas, 1, self)
#...
sizer_8 = wx.BoxSizer(wx.VERTICAL)
#...
sizer_4.Add(sizer_5, 1, wx.EXPAND, 0)
self.panel_4.SetAutoLayout (True)
self.panel_4.SetSizer(sizer_8)
sizer_8.Fit(self.panel_4)
sizer_8.SetSizeHints(self.panel_4)
sizer_8.Add(self.canvas, 1, wxLEFT|wxTOP|wxGROW)
sizer_8.Add(self.toolbar , 0, wxGROW)
|
|
From: Emmanuel <emm...@fa...> - 2006-11-17 19:13:28
|
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to solve this ?
In the __init__ of the frame I put this :
class MyFrame(wx.Frame):
def __init__(self, *args, **kwds):
...
self.panel_4 = wx.Panel(self.panel_1, -1)
#matplotlib part initialisation
self.fig = Figure((6,6), 75)
self.canvas = FigureCanvasWx(self.panel_4, -1, self.fig)
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
# Create a figure manager to manage things
self.figmgr = FigureManager(self.canvas, 1, self)
#...
sizer_8 = wx.BoxSizer(wx.VERTICAL)
#...
sizer_4.Add(sizer_5, 1, wx.EXPAND, 0)
self.panel_4.SetAutoLayout(True)
self.panel_4.SetSizer(sizer_8)
sizer_8.Fit(self.panel_4)
sizer_8.SetSizeHints(self.panel_4)
sizer_8.Add(self.canvas, 1, wxLEFT|wxTOP|wxGROW)
sizer_8.Add(self.toolbar, 0, wxGROW)
|
|
From: Eric F. <ef...@ha...> - 2006-11-17 17:34:12
|
Marius 't Hart wrote: > Using the advice from Seweryn Kokot I was able to install matplotlib > 0.87.7-0, but this resulted in all sorts of errors instead of a graph. > I'll just make do with matplotlib 0.82-5 for now. > Thanks for your advice! > Marius. That is probably because you installed a matplotlib compiled against newer libraries (e.g. numpy and/or Numeric and/or numarray) than you have installed on your machine (although I think package dependencies *should have* prevented this). If you build matplotlib from the tarball this will not occur--it will be compiled against the libraries that are on your machine. As I said before, you will only need to install some devel packages from your present distribution so that you will have the corresponding headers. Eric |
|
From: Eric F. <ef...@ha...> - 2006-11-17 17:28:53
|
I would encourage anyone running linux to simply build matplotlib from the latest release tarball. It's easy. You may need to install some devel packages first, but once you have stumbled over the missing bits and installed them, then forever after you can very easily update to the latest version whenever there is a release. Matplotlib changes fast enough that this can be quite a help. Eric Josh Lifton wrote: > Unfortunately, 0.87-5 is only available in the 6.10 (Edgy) repositories, > so we'll have to upgrade to 6.10, request that matplotlib be backported to > 6.06, or find a non-Ubuntu repository from which to install the latest > matplotlib package. I plan on upgrading sometime soon, so I'll wait for > that. > > Cheers, > Josh > > On Fri, 17 Nov 2006, Marius 't Hart wrote: > >> I have the same symptoms on my Ubuntu 6.06 using python 2.4 and >> matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not >> in the repositories as far as I can tell. I use synaptic for upgrading. >> >> Josh Lifton schreef: >>> Thanks for confirming that it works on another system. As I'm currently >>> using 0.82.5, I suspect upgrading to 0.87.5 (apparently the latest >>> available through official Ubuntu repositories in the newest distribution) >>> will solve the problem. I'll report back once I do this. Any Ubuntu >>> users out there have a similar experience? >>> >>> Cheers, >>> Josh >>> >>> On Fri, 17 Nov 2006, Pierre GM wrote: >>> >>> >>>> On Thursday 16 November 2006 23:45, Josh Lifton wrote: >>>> >>>>> I've been having problems using the subplot command's comma notation >>>>> >>>> Seems to work here. On a Gentoo (OK, seriously: on matplotlib 0.87.7) >>>> Josh, what version of matplotlib are you using ? >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Eric F. <ef...@ha...> - 2006-11-17 17:25:04
|
Peter Bienstman wrote: > Hi, > > When I don't use a matplotlibrc file, the default numerix choice is numpy, > which is OK. I think that what is actually happening here is a system-wide matplotlibrc file is being found and is providing the numpy value. > > When I have a matplotlibrc, and I specify "numerix : numpy", everything also > behaves as expected. > > However, when I have a matplotlibrc, but one which does not contain > a 'numerix' statement, then my old version numeric gets picked up. > > I assume this is a bug? There are two issues here: 1) Only a single matplotlibrc file is read, and the search goes from nearest (current directory) to farthest (system-wide). So if a parameter is missing from the matplotlibrc file that is found, it is filled in from the hard-coded defaults, not from a more distant matplotlibrc file. This is simply the design, not a bug. 2) The hard-coded default (Numeric) is not the same as the matplotlibrc template default (numpy). I consider this a bug. It has become important now that matplotlibrc is being provided with almost everything commented out. I think we need to sweep through mpl and update the hard-coded defaults to match the values that were being provided via the matplotlibrc file, on the grounds that the latter were probably the result of experience, the former the result of initial guesses. Eric |
|
From: Marius 't H. <ma...@ai...> - 2006-11-17 15:07:38
|
Using the advice from Seweryn Kokot I was able to install matplotlib 0.87.7-0, but this resulted in all sorts of errors instead of a graph. I'll just make do with matplotlib 0.82-5 for now. Thanks for your advice! Marius. Josh Lifton schreef: > Unfortunately, 0.87-5 is only available in the 6.10 (Edgy) repositories, > so we'll have to upgrade to 6.10, request that matplotlib be backported to > 6.06, or find a non-Ubuntu repository from which to install the latest > matplotlib package. I plan on upgrading sometime soon, so I'll wait for > that. > > Cheers, > Josh > > On Fri, 17 Nov 2006, Marius 't Hart wrote: > > >> I have the same symptoms on my Ubuntu 6.06 using python 2.4 and >> matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not >> in the repositories as far as I can tell. I use synaptic for upgrading. >> >> Josh Lifton schreef: >> >>> Thanks for confirming that it works on another system. As I'm currently >>> using 0.82.5, I suspect upgrading to 0.87.5 (apparently the latest >>> available through official Ubuntu repositories in the newest distribution) >>> will solve the problem. I'll report back once I do this. Any Ubuntu >>> users out there have a similar experience? >>> >>> Cheers, >>> Josh >>> >>> On Fri, 17 Nov 2006, Pierre GM wrote: >>> >>> >>> >>>> On Thursday 16 November 2006 23:45, Josh Lifton wrote: >>>> >>>> >>>>> I've been having problems using the subplot command's comma notation >>>>> >>>>> >>>> Seems to work here. On a Gentoo (OK, seriously: on matplotlib 0.87.7) >>>> Josh, what version of matplotlib are you using ? >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >>> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > |
|
From: Charlie M. <cw...@gm...> - 2006-11-17 13:38:57
|
On 11/17/06, Asheesh Laroia <as...@as...> wrote:
> On Fri, 17 Nov 2006, Timothy Wu wrote:
>
> > Must matplot be run with a backend installed suppose I only want to
> > create a command line program and create plot and output as gif/jpg/png?
>
> Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg.
import matplotlib
matplotlib.use('Agg')
from pylab import *
.....
|
|
From: Josh L. <li...@me...> - 2006-11-17 13:26:29
|
Unfortunately, 0.87-5 is only available in the 6.10 (Edgy) repositories, so we'll have to upgrade to 6.10, request that matplotlib be backported to 6.06, or find a non-Ubuntu repository from which to install the latest matplotlib package. I plan on upgrading sometime soon, so I'll wait for that. Cheers, Josh On Fri, 17 Nov 2006, Marius 't Hart wrote: > I have the same symptoms on my Ubuntu 6.06 using python 2.4 and > matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not > in the repositories as far as I can tell. I use synaptic for upgrading. > > Josh Lifton schreef: > > Thanks for confirming that it works on another system. As I'm currently > > using 0.82.5, I suspect upgrading to 0.87.5 (apparently the latest > > available through official Ubuntu repositories in the newest distribution) > > will solve the problem. I'll report back once I do this. Any Ubuntu > > users out there have a similar experience? > > > > Cheers, > > Josh > > > > On Fri, 17 Nov 2006, Pierre GM wrote: > > > > > >> On Thursday 16 November 2006 23:45, Josh Lifton wrote: > >> > >>> I've been having problems using the subplot command's comma notation > >>> > >> Seems to work here. On a Gentoo (OK, seriously: on matplotlib 0.87.7) > >> Josh, what version of matplotlib are you using ? > >> > >> > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: <be...@kp...> - 2006-11-17 13:15:36
|
Hello,
i try to write a module which evaluates various Data, and occasionally
creates a plot, which is returned to the user. At the discretion of the
user, he should be able to show selected plots. This is an example
module with two approaches for this problem:
-----------------
import pylab
import matplotlib
def makeplot1():
pylab.ioff()
fig = pylab.figure()
spl1 = fig.add_subplot(211)
spl2 = fig.add_subplot(212)
spl1.plot([1,4,9,16])
spl2.plot([1,3,5,7])
pylab.ion()
return fig
def makeplot2():
fig = matplotlib.figure.Figure()
spl1 = fig.add_subplot(211)
spl2 = fig.add_subplot(212)
spl1.plot([1,4,9,16])
spl2.plot([1,3,5,7])
return fig
----------------------
The user fires up ipython and imports my module:
ipython -pylab
>>> import plotgen
After analysizing various data, he wants to look at a particular plot:
>>> fig = plotgen.makeplot1()
Now can one make pop up this plot? I tried to make this figure current:
>>> figure(fig.number)
but nothing to see. Then:
>>> draw()
>>> ion()
Only show() works, but this pops up all figures defined, and this can be
a large number of figures if makeplot1() has been called often, or I
have many figures. I only want to see this particular figure.
So next try with the object oriented interface:
>>> fig = plotgen.makeplot2()
>>> figure(fig.number)
AttributeError: Figure instance has no attribute 'number'
Ok, this does not work. In a cookbook i saw that one needs something
like "canvas = FigureCanvasAgg(fig)". But i cannot use it: As writer of
module "plotgen" i dont know what backend (Agg) is used by the user. And
the user simply uses "ipython -pylab" and should not care about the
backend.
Whats the correct solution for my problem?
Best Regards,
Roman
|
|
From: Roman B. <be...@sm...> - 2006-11-17 13:07:17
|
Hello,
i try to write a module which evaluates various Data, and occasionally
creates a plot, which is returned to the user. At the discretion of the
user, he should be able to show selected plots. This is an example
module with two approaches for this problem:
-----------------
import pylab
import matplotlib
def makeplot1():
pylab.ioff()
fig = pylab.figure()
spl1 = fig.add_subplot(211)
spl2 = fig.add_subplot(212)
spl1.plot([1,4,9,16])
spl2.plot([1,3,5,7])
pylab.ion()
return fig
def makeplot2():
fig = matplotlib.figure.Figure()
spl1 = fig.add_subplot(211)
spl2 = fig.add_subplot(212)
spl1.plot([1,4,9,16])
spl2.plot([1,3,5,7])
return fig
----------------------
The user fires up ipython and imports my module:
ipython -pylab
>>> import plotgen
After analysizing various data, he wants to look at a particular plot:
>>> fig = plotgen.makeplot1()
Now can one make pop up this plot? I tried to make this figure current:
>>> figure(fig.number)
but nothing to see. Then:
>>> draw()
>>> ion()
Only show() works, but this pops up all figures defined, and this can be
a large number of figures if makeplot1() has been called often, or I
have many figures. I only want to see this particular figure.
So next try with the object oriented interface:
>>> fig = plotgen.makeplot2()
>>> figure(fig.number)
AttributeError: Figure instance has no attribute 'number'
Ok, this does not work. In a cookbook i saw that one needs something
like "canvas = FigureCanvasAgg(fig)". But i cannot use it: As writer of
module "plotgen" i dont know what backend (Agg) is used by the user. And
the user simply uses "ipython -pylab" and should not care about the
backend.
Whats the correct solution for my problem?
Best Regards,
Roman
|
|
From: Seweryn K. <sk...@po...> - 2006-11-17 13:02:52
|
Marius 't Hart <ma...@ai...> writes: > I have the same symptoms on my Ubuntu 6.06 using python 2.4 and > matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not > in the repositories as far as I can tell. I use synaptic for upgrading. Add the following line to your /etc/apt/sources.list: deb http://debs.astraw.com/ dapper/ regards, SK |
|
From: Marius 't H. <ma...@ai...> - 2006-11-17 12:56:49
|
I have the same symptoms on my Ubuntu 6.06 using python 2.4 and matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not in the repositories as far as I can tell. I use synaptic for upgrading. Josh Lifton schreef: > Thanks for confirming that it works on another system. As I'm currently > using 0.82.5, I suspect upgrading to 0.87.5 (apparently the latest > available through official Ubuntu repositories in the newest distribution) > will solve the problem. I'll report back once I do this. Any Ubuntu > users out there have a similar experience? > > Cheers, > Josh > > On Fri, 17 Nov 2006, Pierre GM wrote: > > >> On Thursday 16 November 2006 23:45, Josh Lifton wrote: >> >>> I've been having problems using the subplot command's comma notation >>> >> Seems to work here. On a Gentoo (OK, seriously: on matplotlib 0.87.7) >> Josh, what version of matplotlib are you using ? >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Peter B. <Pet...@ug...> - 2006-11-17 12:49:32
|
Hi, When I don't use a matplotlibrc file, the default numerix choice is numpy,= =20 which is OK. When I have a matplotlibrc, and I specify "numerix : numpy", everything als= o=20 behaves as expected. However, when I have a matplotlibrc, but one which does not contain=20 a 'numerix' statement, then my old version numeric gets picked up. I assume this is a bug? Peter |
|
From: Asheesh L. <as...@as...> - 2006-11-17 12:01:29
|
On Fri, 17 Nov 2006, Timothy Wu wrote: > Must matplot be run with a backend installed suppose I only want to > create a command line program and create plot and output as gif/jpg/png? Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg. -- Asheesh. -- Ask not for whom the Bell tolls, and you will pay only the station-to-station rate. -- Howard Kandel |
|
From: Timothy W. <2h...@gm...> - 2006-11-17 11:53:31
|
Must matplot be run with a backend installed suppose I only want to create a
command line program and create plot and output as gif/jpg/png?
Because import is giving me errors seemingly in reference to x server:
>>> from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 219, in
?
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/usr/lib/python2.4/site-packages/matplotlib/backends/__init__.py",
line 23, in pylab_setup
globals(),locals(),[backend_name])
File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in ?
from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line
7, in ?
import gtk; gdk = gtk.gdk
File "/var/lib/python-support/python2.4/gtk-2.0/gtk/__init__.py", line 45,
in ?
from _gtk import *
RuntimeError: could not open display
Timothy
|
|
From: Josh L. <li...@me...> - 2006-11-17 06:03:49
|
Thanks for confirming that it works on another system. As I'm currently using 0.82.5, I suspect upgrading to 0.87.5 (apparently the latest available through official Ubuntu repositories in the newest distribution) will solve the problem. I'll report back once I do this. Any Ubuntu users out there have a similar experience? Cheers, Josh On Fri, 17 Nov 2006, Pierre GM wrote: > On Thursday 16 November 2006 23:45, Josh Lifton wrote: > > I've been having problems using the subplot command's comma notation > > Seems to work here. On a Gentoo (OK, seriously: on matplotlib 0.87.7) > Josh, what version of matplotlib are you using ? > |