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
(2) |
2
(1) |
|
3
(17) |
4
(9) |
5
(2) |
6
(5) |
7
(8) |
8
(11) |
9
(6) |
|
10
(6) |
11
(21) |
12
(21) |
13
(17) |
14
(25) |
15
(15) |
16
(2) |
|
17
|
18
(9) |
19
(22) |
20
(25) |
21
(31) |
22
(19) |
23
(2) |
|
24
(5) |
25
(19) |
26
(10) |
27
(13) |
28
(14) |
29
(20) |
30
(5) |
|
31
(9) |
|
|
|
|
|
|
|
From: Nico S. <nic...@gm...> - 2010-01-12 21:24:10
|
> So what is it you're trying to accomplish? Maybe there is a better way. Well, I'm recursively iterating through the children of all objects, starting at gcf() (and then picking up gca(), lines, axes, everything that belongs to the plot), which is then parsed and a TikZ file is spit out. I need the type-checking exactly when I loop through the children of an object to be able to say "Now we have an axes object, plot axes.". I'm a total Python noob, so my first attempts at an implementation is likely quite shabby: http://win.ua.ac.be/~nschloe/other/websvn/filedetails.php?repname=matplotlib2tikz&path=%2Ftrunk%2Fmatplotlib2tikz.py You'll find handle_children() towards the bottom of the file. Would the type-checking as applied in there be something sensitive to do? Also, of course, hints of *all kinds very much appreciated! Cheers, Nico |
|
From: Gökhan S. <gok...@gm...> - 2010-01-12 20:52:34
|
On Tue, Jan 12, 2010 at 2:46 PM, Jae-Joon Lee <lee...@gm...> wrote: > On Mon, Jan 11, 2010 at 3:20 PM, Gökhan Sever <gok...@gm...> > wrote: > > Another thing I noted in these images, Qt4Agg produced one looks much > > prettier to my eyes than the PS. What could be causing the jiggly > rendering > > in the PS? > > > > The rendering quality of the fonts depends on a lot of things. > And I think your ps file itself is okay, but the rendering application > you use is doing a poor job. For example, convert the ps file to pdf > and open in the acroread (or whatever you use). > Yes, it did the job. Thanks for the tip. The fonts look also nicer in PDF. The last interesting thing in the files, the line is rendered as blue on PNG, however in the PS it is red. > > -JJ > -- Gökhan |
|
From: Jae-Joon L. <lee...@gm...> - 2010-01-12 20:46:36
|
On Mon, Jan 11, 2010 at 3:20 PM, Gökhan Sever <gok...@gm...> wrote: > Another thing I noted in these images, Qt4Agg produced one looks much > prettier to my eyes than the PS. What could be causing the jiggly rendering > in the PS? > The rendering quality of the fonts depends on a lot of things. And I think your ps file itself is okay, but the rendering application you use is doing a poor job. For example, convert the ps file to pdf and open in the acroread (or whatever you use). -JJ |
|
From: Jae-Joon L. <lee...@gm...> - 2010-01-12 20:37:19
|
I'm afraid that there is not much I can help anymore. Just in case, does the same error occur when my patch is not applied? Is it an error or just a warning? If it is an error, can you post a full traceback? I just want to know what step causes that. Also, are you using the usetex mode? See if turning that on and off make any difference. Regards, -JJ On Tue, Jan 12, 2010 at 5:29 AM, John Reid <j....@ma...> wrote: > > > Jae-Joon Lee wrote: >> When you check out the svn, please try to apply the patch attached. >> >> patch -p1 < ps_distiller.patch >> >> I hope this solves your problem. >> > > Thanks again for quick response. I've got the svn version and applied > the patch. Now I get this error (with ps.usedistiller : xpdf): > > ** (python2.5:5948): WARNING **: IPP request failed with status 1280 > Error: Missing or bad Type3 CharProc entry > > An eps file is generated but I can't open it with okular or evince. > > Regards, > John. > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Jae-Joon L. <lee...@gm...> - 2010-01-12 20:24:46
|
On Tue, Jan 12, 2010 at 12:21 PM, dugolo <ma...@gm...> wrote: > Basically, I would like to put ax1 on both fig1 and fig2 without having to > repeat all of the code for plots on ax1. > The Axes instances in matplotlib can only have one parent figure, i.e., the axes cannot be shared among different figures. But this does not necessarily imply that you have to repeat the drawing code. Just define a function that takes an axes, or use some control structure as suggested above. Regards, -JJ |
|
From: <PH...@Ge...> - 2010-01-12 19:24:46
|
> -----Original Message----- > From: dugolo [mailto:ma...@gm...] > Sent: Tuesday, January 12, 2010 9:21 AM > To: mat...@li... > Subject: [Matplotlib-users] Re using a subplot on two different figures > > > I apologize if this has been covered, but I couldn't find it by > searching. > > I'm wondering how one might reuse a single subplot on two different > figures. > > Here's what I'm trying to do: > > import matplotlib.pyplot as plt > > fig1 = plt.figure() > fig2 = plt.figure() > ax1 = fig1.add_subplot(311) > > #plot lots of stuff on ax1 > > # I thought maybe I could do something like this, but, of course, that > doesn't work. > ax2 = fig2.add_subplot(311) > ax2 = ax1 > > Basically, I would like to put ax1 on both fig1 and fig2 without having > to > repeat all of the code for plots on ax1. Doug, I'm sure there's a slick, one-line way to do this. I don't know it either. As a quick work around, you could do this: fig1 = plt.figure() fig2 = plt.figure() ax1 = fig1.add_subplot(311) ax2 = fig2.add_subplot(311) for ax in [ax1, ax2]: # do lots of stuff to ax At least, that's how I would do it with my very basic MPL knowledge. Hope this wasn't obvious to you and something you were trying to avoid. HTH, -Paul H. |
|
From: Renato A. <rj...@ig...> - 2010-01-12 18:42:57
|
Quoting Matthias Michler on 01/08/2010 08:00 AM: > Hi Renato, > > I think you have to flip the x-axis of the left plot by for instance > ax1 = subplot(121, xlim=(1, 0)) > and I think than hist(data, orientation='horizontal') or manually using > barh-plots works fine. > > Kind regards, > Matthias Hi Matthias, Thanks for your tip, this solved the first problem. But it seems the approach I was trying is not as flexible as I thought it would be. Right now I'm trying mpl_toolkits.axes_grid.axes_divider but I still have a problem on locating the yaxis labels in a centered format. Anyway this is a bit out of the scope of the initial thread. Thanks again. Renato |
|
From: dugolo <ma...@gm...> - 2010-01-12 17:21:29
|
I apologize if this has been covered, but I couldn't find it by searching. I'm wondering how one might reuse a single subplot on two different figures. Here's what I'm trying to do: import matplotlib.pyplot as plt fig1 = plt.figure() fig2 = plt.figure() ax1 = fig1.add_subplot(311) #plot lots of stuff on ax1 # I thought maybe I could do something like this, but, of course, that doesn't work. ax2 = fig2.add_subplot(311) ax2 = ax1 Basically, I would like to put ax1 on both fig1 and fig2 without having to repeat all of the code for plots on ax1. Thanks for the help!!! -Doug -- View this message in context: http://old.nabble.com/Reusing-a-subplot-on-two-different-figures-tp27131100p27131100.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Christopher B. <Chr...@no...> - 2010-01-12 17:16:15
|
> As for not being able to do "isinstance(gca(), > matplotlib.axes.SubplotAxes)" -- I'm not sure that's a problem. It > would help to understand the use case, but I suspect you either want > "isinstance(gca(), matplotlib.axes.Axes)" or "isinstance(gca(), > matplotlib.axes.SubplotBase)". You may also want to use: issubclass(an_appropriate_superclass) instead. However, given the python's duck-typing semantics, you usually don't need to know exactly what class something is -- that's kind of the point of dynamic typing. So what is it you're trying to accomplish? Maybe there is a better way. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Michael D. <md...@st...> - 2010-01-12 15:31:48
|
Matthias Michler wrote: > I would expect that the case of the Subplot-objects is somehow singular and > all other mpl-objects can be classified using type and isinstance, but I'm > not an mpl-expert and maybe there are more special cases. > Yes. This weirdness came about because Subplot used to contain functionality for both the projections (how data is projected, ticked etc.) and positioning within the figure. Around 0.91, these two things were separated out so that writing a new projection (eg. polar axes) didn't require reimplementing the subplot infrastructure. The Subplot class was kept around as an alias for AxesSubplot (a dynamically generated class) backward compatibility. As for not being able to do "isinstance(gca(), matplotlib.axes.SubplotAxes)" -- I'm not sure that's a problem. It would help to understand the use case, but I suspect you either want "isinstance(gca(), matplotlib.axes.Axes)" or "isinstance(gca(), matplotlib.axes.SubplotBase)". Mike > Kind regards, > Matthias > > >> On Tue, Jan 12, 2010 at 12:01 PM, Matthias Michler >> >> <Mat...@gm...> wrote: >> >>> Hi Nico, >>> >>> I'm sorry I cannot help you, but at least I'd like to share my findings >>> with you: I find the following statements to be true: >>> isinstance(gca(), matplotlib.axes.SubplotBase) >>> isinstance(gca(), matplotlib.axes.Subplot) >>> isinstance(gca(), matplotlib.axes.Axes) >>> but there is no class 'AxesSubplot' in matplotlib.axes. I think this >>> class is somehow dynamically generated from Axes and Subplot, but I have >>> no idea how this works. >>> >>> Kind regards, >>> Matthias >>> >>> On Tuesday 12 January 2010 11:40:21 Nico Schlömer wrote: >>> >>>> Hm. >>>> >>>> print type( gca() ) >>>> print gca().__class__ >>>> print isinstance( gca(), matplotlib.axes.AxesSubplots) >>>> >>>> yields >>>> >>>> <class 'matplotlib.axes.AxesSubplot'> >>>> <class 'matplotlib.axes.AxesSubplot'> >>>> Traceback (most recent call last): >>>> File "./testfunctions.py", line 13, in <module> >>>> print isinstance( a, matplotlib.axes.AxesSubplots) >>>> AttributeError: 'module' object has no attribute 'AxesSubplots >>>> >>>> ?Nico >>>> >>>> On Tue, Jan 12, 2010 at 6:45 AM, Joshua J. Kugler >>>> <jo...@ee...> >>>> >>> wrote: >>> >>>>> On Monday 11 January 2010, Nico Schlömer elucidated thus: >>>>> >>>>>> quick question from a Python noob: >>>>>> Suppose I have an instance of an object of matplotlib, Is there any >>>>>> way to check on its type, e.g., whether it is an instance of >>>>>> matplotlib.axes.AxesSubplots? >>>>>> >>>>> Python's built-in 'isintance.' >>>>> >>>>> isinstance(var, matplotlib.axes.AxesSubplots) >>>>> >>>>> j >>>>> >>>>> -- >>>>> Joshua Kugler >>>>> Part-Time System Admin/Programmer >>>>> http://www.eeinternet.com >>>>> PGP Key: http://pgp.mit.edu/ ID 0x14EA086E >>>>> >>> ------------------------------------------------------------------------- >>> ----- This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support A >>> streamlined, 14 day to market process makes app distribution fast and >>> easy Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Nico S. <nic...@gm...> - 2010-01-12 11:26:08
|
Well, I guess that's good enough for me. :) It's a bit unfortunate that the type() function wouldn't spit out this information, though. When for example iterating through the output of get_children() (iterating through a list of objects of unknown classes that is), would there be any other way (function, method?) to get more info on the matplotlib object? Cheers, Nico On Tue, Jan 12, 2010 at 12:01 PM, Matthias Michler <Mat...@gm...> wrote: > Hi Nico, > > I'm sorry I cannot help you, but at least I'd like to share my findings with > you: I find the following statements to be true: > isinstance(gca(), matplotlib.axes.SubplotBase) > isinstance(gca(), matplotlib.axes.Subplot) > isinstance(gca(), matplotlib.axes.Axes) > but there is no class 'AxesSubplot' in matplotlib.axes. I think this class is > somehow dynamically generated from Axes and Subplot, but I have no idea how > this works. > > Kind regards, > Matthias > > On Tuesday 12 January 2010 11:40:21 Nico Schlömer wrote: >> Hm. >> >> print type( gca() ) >> print gca().__class__ >> print isinstance( gca(), matplotlib.axes.AxesSubplots) >> >> yields >> >> <class 'matplotlib.axes.AxesSubplot'> >> <class 'matplotlib.axes.AxesSubplot'> >> Traceback (most recent call last): >> File "./testfunctions.py", line 13, in <module> >> print isinstance( a, matplotlib.axes.AxesSubplots) >> AttributeError: 'module' object has no attribute 'AxesSubplots >> >> ?Nico >> >> On Tue, Jan 12, 2010 at 6:45 AM, Joshua J. Kugler <jo...@ee...> > wrote: >> > On Monday 11 January 2010, Nico Schlömer elucidated thus: >> >> quick question from a Python noob: >> >> Suppose I have an instance of an object of matplotlib, Is there any >> >> way to check on its type, e.g., whether it is an instance of >> >> matplotlib.axes.AxesSubplots? >> > >> > Python's built-in 'isintance.' >> > >> > isinstance(var, matplotlib.axes.AxesSubplots) >> > >> > j >> > >> > -- >> > Joshua Kugler >> > Part-Time System Admin/Programmer >> > http://www.eeinternet.com >> > PGP Key: http://pgp.mit.edu/ ID 0x14EA086E > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Damon M. <D.M...@wa...> - 2010-01-12 11:19:24
|
Hi Nico, If you're using IPython then you can do a cool trick. Say your your instantiation is called var. You can type: var? and it'll spit out some info about the object, including what it's an instance of. If you type var?? it'll try to print out more detailed information. Hope that helps. Regards, -- Damon -------------------------- Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.m...@wa... On 12 Jan 2010, at 10:40, Nico Schlömer wrote: > Hm. > > print type( gca() ) > print gca().__class__ > print isinstance( gca(), matplotlib.axes.AxesSubplots) > > yields > > <class 'matplotlib.axes.AxesSubplot'> > <class 'matplotlib.axes.AxesSubplot'> > Traceback (most recent call last): > File "./testfunctions.py", line 13, in <module> > print isinstance( a, matplotlib.axes.AxesSubplots) > AttributeError: 'module' object has no attribute 'AxesSubplots > > ?Nico > > > On Tue, Jan 12, 2010 at 6:45 AM, Joshua J. Kugler <jo...@ee...> wrote: >> On Monday 11 January 2010, Nico Schlömer elucidated thus: >>> quick question from a Python noob: >>> Suppose I have an instance of an object of matplotlib, Is there any >>> way to check on its type, e.g., whether it is an instance of >>> matplotlib.axes.AxesSubplots? >> >> Python's built-in 'isintance.' >> >> isinstance(var, matplotlib.axes.AxesSubplots) >> >> j >> >> -- >> Joshua Kugler >> Part-Time System Admin/Programmer >> http://www.eeinternet.com >> PGP Key: http://pgp.mit.edu/ ID 0x14EA086E >> > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Nico S. <nic...@gm...> - 2010-01-12 10:40:30
|
Hm.
print type( gca() )
print gca().__class__
print isinstance( gca(), matplotlib.axes.AxesSubplots)
yields
<class 'matplotlib.axes.AxesSubplot'>
<class 'matplotlib.axes.AxesSubplot'>
Traceback (most recent call last):
File "./testfunctions.py", line 13, in <module>
print isinstance( a, matplotlib.axes.AxesSubplots)
AttributeError: 'module' object has no attribute 'AxesSubplots
?Nico
On Tue, Jan 12, 2010 at 6:45 AM, Joshua J. Kugler <jo...@ee...> wrote:
> On Monday 11 January 2010, Nico Schlömer elucidated thus:
>> quick question from a Python noob:
>> Suppose I have an instance of an object of matplotlib, Is there any
>> way to check on its type, e.g., whether it is an instance of
>> matplotlib.axes.AxesSubplots?
>
> Python's built-in 'isintance.'
>
> isinstance(var, matplotlib.axes.AxesSubplots)
>
> j
>
> --
> Joshua Kugler
> Part-Time System Admin/Programmer
> http://www.eeinternet.com
> PGP Key: http://pgp.mit.edu/ ID 0x14EA086E
>
|
|
From: John R. <j....@ma...> - 2010-01-12 10:29:46
|
Jae-Joon Lee wrote: > When you check out the svn, please try to apply the patch attached. > > patch -p1 < ps_distiller.patch > > I hope this solves your problem. > Thanks again for quick response. I've got the svn version and applied the patch. Now I get this error (with ps.usedistiller : xpdf): ** (python2.5:5948): WARNING **: IPP request failed with status 1280 Error: Missing or bad Type3 CharProc entry An eps file is generated but I can't open it with okular or evince. Regards, John. |
|
From: Alexander B. <ale...@gm...> - 2010-01-12 08:25:34
|
Hi list
I develop an application which used matplotlib and there is a problem on some
computers. When home directory is simple e.g.
C:/Documents and Settings/alex/.qgis/
all works, but when home directory path contains a dot, for example
C:/Documents and Settings/compase.UWW/.qgis/
I've get an error:
Couldn't load plugin statist due an error when calling its classFactory() method
Traceback (most recent call last):
File "C:/Program Files/Quantum GIS Enceladus/./python\qgis\utils.py",
line 141, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\__init__.py", line
48, in classFactory
from statist import statistPlugin
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\statist.py", line
37, in
import doStatist, doAbout, utils
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\doStatist.py", line
45, in
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 709, in
rcParams = rc_params()
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 627,
in rc_params
fname = matplotlib_fname()
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 565,
in matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 240,
in wrapper
ret = func(*args, **kwargs)
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 439,
in _get_configdir
raise RuntimeError("Failed to create %s/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration
data"%h)
RuntimeError: Failed to create U:\/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration data
Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Python path: ['C:/Program Files/Quantum GIS Enceladus/./python',
'C:/Documents and Settings/compase.UWW/.qgis//python', 'C:/Documents
and Settings/compase.UWW/.qgis//python/plugins', 'C:/Program
Files/Quantum GIS Enceladus/./python/plugins', 'C:\\Program
Files\\ArcGIS\\bin', 'C:\\Program Files\\Quantum GIS
Enceladus\\bin\\python25.zip', 'C:\\Python25\\Lib',
'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk', 'C:\\Program
Files\\Quantum GIS Enceladus', 'C:\\Program Files\\Quantum GIS
Enceladus\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
'C:\\Python25\\lib\\site-packages\\win32',
'C:\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Program
Files\\Quantum GIS Enceladus\\python\\plugins\\fTools\\tools']
Is this a bug?
Thanks
--
Alexander Bruy
mailto: ale...@gm...
|
|
From: Joshua J. K. <jo...@ee...> - 2010-01-12 08:17:53
|
On Monday 11 January 2010, Nico Schlömer elucidated thus: > quick question from a Python noob: > Suppose I have an instance of an object of matplotlib, Is there any > way to check on its type, e.g., whether it is an instance of > matplotlib.axes.AxesSubplots? Python's built-in 'isintance.' isinstance(var, matplotlib.axes.AxesSubplots) j -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ID 0x14EA086E |
|
From: Nico S. <nic...@gm...> - 2010-01-12 02:33:30
|
Hi, quick question from a Python noob: Suppose I have an instance of an object of matplotlib, Is there any way to check on its type, e.g., whether it is an instance of matplotlib.axes.AxesSubplots? Cheers! Nico |
|
From: Jae-Joon L. <lee...@gm...> - 2010-01-12 01:28:35
|
When you check out the svn, please try to apply the patch attached. patch -p1 < ps_distiller.patch I hope this solves your problem. Regards, -JJ On Mon, Jan 11, 2010 at 7:25 PM, Jae-Joon Lee <lee...@gm...> wrote: > On Mon, Jan 11, 2010 at 6:49 PM, John Reid <j....@ma...> wrote: >> Thanks for help so far. Any more ideas? I'll try the svn if it is just a >> case of checking it out and compiling. >> > > Please try. > I don't think the current svn version will make any difference. But, > at least I can send you a patch that I think fix the problem so that > you can test it. > I'll post the patch here soon. > > Regards. > > -JJ > |
|
From: Jae-Joon L. <lee...@gm...> - 2010-01-12 01:24:47
|
On Mon, Jan 11, 2010 at 6:49 PM, John Reid <j....@ma...> wrote: > Thanks for help so far. Any more ideas? I'll try the svn if it is just a > case of checking it out and compiling. > Please try. I don't think the current svn version will make any difference. But, at least I can send you a patch that I think fix the problem so that you can test it. I'll post the patch here soon. Regards. -JJ |