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
(16) |
2
(31) |
3
(17) |
4
(18) |
5
(7) |
|
6
(5) |
7
(16) |
8
(9) |
9
(19) |
10
(18) |
11
(17) |
12
(7) |
|
13
(6) |
14
(15) |
15
(16) |
16
(15) |
17
(19) |
18
(27) |
19
(10) |
|
20
(5) |
21
(5) |
22
(19) |
23
(7) |
24
(11) |
25
(19) |
26
(1) |
|
27
(36) |
28
(37) |
29
(28) |
30
(36) |
|
|
|
|
From: Werner F. B. <wer...@fr...> - 2009-09-18 12:44:38
|
John,
John Hunter wrote:
> On Fri, Sep 18, 2009 at 4:39 AM, Werner F. Bruhin <wer...@fr...> wrote:
>
>> I have multiple canvas and sometimes one or more might have nothing to
>> draw (no data).
>>
>> Currently I just call.
>>
>> canvas.draw()
>> canvas.Refresh()
>>
>> for each of the canvas, but this gives me an error if there is no data.
>>
>> Is there a built-in flag I can check before calling draw? Or do I have
>> to keep create my own?
>>
>
> There is no such flag, but you should not get an error on drawing an
> empty figure or one that doesn't "need" to be drawn. Can you post
> example code that produces the error?
>
I narrowed it down to one line of code, if I comment the following line
then the error goes away.
axes.xaxis.set_major_formatter(yearFmt)
Is this enough for you? Or do you like some runnable code?
Werner
|
|
From: John H. <jd...@gm...> - 2009-09-18 12:09:12
|
On Thu, Sep 17, 2009 at 11:28 PM, Andrew Straw <str...@as...> wrote: > Flávio Coelho has implemented Violin plots for MPL. Nice! He has a > question regarding its suitability for inclusion due to a dependency on > scipy for the gaussian_kde function. > http://pyinsci.blogspot.com/2009/09/violin-plot-with-matplotlib.html > > Is there a place this could live in the MPL code base without requiring > scipy? Perhaps we should just include it as a demo. I note that > examples/pylab_examples/demo_agg_filter.py requires scipy, too. > > Thanks Flávio for sharing -- I have occasionally wondered how my data > would look in a violin plot. These do look nice, and the implementation is fairly light. I don't have strong feelings about what the best way to include this is: * as an example * as a proper mpl pyplot/axes function that imports scipy internally and raises if it can't find it * that requires a kde to be passed in Of these, the top two are probably preferable since in practice everyone would just pass in the kde from scipy so why not just save them the step and try to import it ourselves. While I don't want the core of mpl to require scipy, I can certainly abide by some functions requiring it as long as they raise helpful errors. So I'm leaning towards the 2nd option (we already do something like this -- we conditionally import Image in imread for example) If we go that way, we will have the worry about version dependencies and what we want to require on the buildbots. As for a patch, the implementation looks good though we need a better docstring and one that is Sphinx compliant. One thing you will want to consider is how to support the boxplot and fill between keywords. Eg, people will want to customize the fills, so you may want something like violin_plot(blah, fillprops=None, boxprops=None): if fillprops is None: fillprops = dict(facecolor='yellow', alpha=0.3) if boxprops is None: boxprops = dict(notch=1, vert=1) ax.fill_betweenx(blahblah, **fillprops) etc... that way people can sti In you docstring, you should also point to the fill_betweenx and boxprops docs using the Sphinx API conventions. Finally, we will need a pass-through interface in pyplot, most likely through a boilerplate.py entry, and a unit test :-) Some of this is discussed at http://matplotlib.sourceforge.net/devel/coding_guide.html, but some of these conventions are undocumented, so we're happy to help with any part that is confusing. JDH |
|
From: John H. <jd...@gm...> - 2009-09-18 11:47:55
|
On Fri, Sep 18, 2009 at 4:39 AM, Werner F. Bruhin <wer...@fr...> wrote: > I have multiple canvas and sometimes one or more might have nothing to > draw (no data). > > Currently I just call. > > canvas.draw() > canvas.Refresh() > > for each of the canvas, but this gives me an error if there is no data. > > Is there a built-in flag I can check before calling draw? Or do I have > to keep create my own? There is no such flag, but you should not get an error on drawing an empty figure or one that doesn't "need" to be drawn. Can you post example code that produces the error? JDH |
|
From: John H. <jd...@gm...> - 2009-09-18 11:45:48
|
On Thu, Sep 17, 2009 at 8:34 PM, Reckoner <rec...@gm...> wrote: > thanks. does this mean that > > http://www.scipy.org/Cookbook/Matplotlib/mplot3D > > is out of date? Yes, it needs to be updated -- best would just be to remove the contents there and point to the mplot3d on the mpl website. Can you do this for us? JDH |
|
From: Werner F. B. <wer...@fr...> - 2009-09-18 09:40:14
|
I have multiple canvas and sometimes one or more might have nothing to
draw (no data).
Currently I just call.
canvas.draw()
canvas.Refresh()
for each of the canvas, but this gives me an error if there is no data.
Is there a built-in flag I can check before calling draw? Or do I have
to keep create my own?
Werner
PS
If it is of any help, I get this (also I have mpl.verbose.level = u'silent':
C:\Python25\lib\site-packages\matplotlib\axes.py:3996: UserWarning: No
labeled objects found. Use label='...' kwarg on individual plots.
warnings.warn("No labeled objects found. "
And here is the traceback.
Traceback (most recent call last):
File "C:\Dev\twcbBranchv31\Program\panelstats.py", line 178, in DoRefresh
self.RefreshAllGraphs()
File "C:\Dev\twcbBranchv31\Program\panelstats.py", line 313, in
RefreshAllGraphs
self.priceChangeP.canvas.draw()
File
"C:\Python25\Lib\site-packages\matplotlib\backends\backend_wxagg.py",
line 59, in draw
FigureCanvasAgg.draw(self)
File
"C:\Python25\Lib\site-packages\matplotlib\backends\backend_agg.py", line
314, in draw
self.figure.draw(self.renderer)
File "C:\Python25\Lib\site-packages\matplotlib\artist.py", line 46, in
draw_wrapper
draw(artist, renderer, *kl)
File "C:\Python25\Lib\site-packages\matplotlib\figure.py", line 774,
in draw
for a in self.axes: a.draw(renderer)
File "C:\Python25\Lib\site-packages\matplotlib\artist.py", line 46, in
draw_wrapper
draw(artist, renderer, *kl)
File "C:\Python25\Lib\site-packages\matplotlib\axes.py", line 1721, in
draw
a.draw(renderer)
File "C:\Python25\Lib\site-packages\matplotlib\artist.py", line 46, in
draw_wrapper
draw(artist, renderer, *kl)
File "C:\Python25\Lib\site-packages\matplotlib\axis.py", line 736, in draw
for tick, loc, label in self.iter_ticks():
File "C:\Python25\Lib\site-packages\matplotlib\axis.py", line 677, in
iter_ticks
majorLocs = self.major.locator()
File "C:\Python25\Lib\site-packages\matplotlib\dates.py", line 754, in
__call__
dmin, dmax = self.viewlim_to_dt()
File "C:\Python25\Lib\site-packages\matplotlib\dates.py", line 454, in
viewlim_to_dt
return num2date(vmin, self.tz), num2date(vmax, self.tz)
File "C:\Python25\Lib\site-packages\matplotlib\dates.py", line 249, in
num2date
if not cbook.iterable(x): return _from_ordinalf(x, tz)
File "C:\Python25\Lib\site-packages\matplotlib\dates.py", line 170, in
_from_ordinalf
dt = datetime.datetime.fromordinal(ix)
ValueError: ordinal must be >= 1
|
|
From: Andrew S. <str...@as...> - 2009-09-18 04:29:08
|
Flávio Coelho has implemented Violin plots for MPL. Nice! He has a question regarding its suitability for inclusion due to a dependency on scipy for the gaussian_kde function. http://pyinsci.blogspot.com/2009/09/violin-plot-with-matplotlib.html Is there a place this could live in the MPL code base without requiring scipy? Perhaps we should just include it as a demo. I note that examples/pylab_examples/demo_agg_filter.py requires scipy, too. Thanks Flávio for sharing -- I have occasionally wondered how my data would look in a violin plot. -Andrew |
|
From: Eric F. <ef...@ha...> - 2009-09-18 02:58:40
|
Reckoner wrote: > thanks. does this mean that > > http://www.scipy.org/Cookbook/Matplotlib/mplot3D > > is out of date? Yes. Eric > > thanks > > > > On Thu, Sep 17, 2009 at 6:22 PM, John Hunter <jd...@gm...> wrote: >> On Thu, Sep 17, 2009 at 6:46 PM, Reckoner <rec...@gm...> wrote: >>> unless I'm misunderstanding something, the website says that >>> >>> matplotlib-0.99.0.win32-py2.5 >>> >>> should contain the axes3d material. It doesn't. Instead, it axes3d.py >>> contains the following: >>> >>> raise NotImplementedError('axes3d is not supported in matplotlib-0.98. >>> You may want to try the 0.91.x maintenance branch') >>> >>> note that I am on a Windows machine and I'm not sure I can build >>> everything from the trunk. >> It looks like you are having tow problems -- first, you apparently >> installed a new matplotlib over an old matplotlib and so there are >> some old files laying around. Blow away site-packages/matplotlib and >> reinstall. See >> >> http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything >> >> Secondly, you need to be importing mplot3d from mpl_toolkits, it's new >> location. You appear to be importing it from matplotlib.axes3d, it's >> old location which is now deprecated. Eg see >> >> http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html >> >> Hope this helps, >> JDH >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Reckoner <rec...@gm...> - 2009-09-18 02:46:37
|
thanks. does this mean that http://www.scipy.org/Cookbook/Matplotlib/mplot3D is out of date? thanks On Thu, Sep 17, 2009 at 6:22 PM, John Hunter <jd...@gm...> wrote: > On Thu, Sep 17, 2009 at 6:46 PM, Reckoner <rec...@gm...> wrote: >> unless I'm misunderstanding something, the website says that >> >> matplotlib-0.99.0.win32-py2.5 >> >> should contain the axes3d material. It doesn't. Instead, it axes3d.py >> contains the following: >> >> raise NotImplementedError('axes3d is not supported in matplotlib-0.98. >> You may want to try the 0.91.x maintenance branch') >> >> note that I am on a Windows machine and I'm not sure I can build >> everything from the trunk. > > It looks like you are having tow problems -- first, you apparently > installed a new matplotlib over an old matplotlib and so there are > some old files laying around. Blow away site-packages/matplotlib and > reinstall. See > > http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything > > Secondly, you need to be importing mplot3d from mpl_toolkits, it's new > location. You appear to be importing it from matplotlib.axes3d, it's > old location which is now deprecated. Eg see > > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html > > Hope this helps, > JDH > |
|
From: John H. <jd...@gm...> - 2009-09-18 01:22:43
|
On Thu, Sep 17, 2009 at 6:46 PM, Reckoner <rec...@gm...> wrote:
> unless I'm misunderstanding something, the website says that
>
> matplotlib-0.99.0.win32-py2.5
>
> should contain the axes3d material. It doesn't. Instead, it axes3d.py
> contains the following:
>
> raise NotImplementedError('axes3d is not supported in matplotlib-0.98.
> You may want to try the 0.91.x maintenance branch')
>
> note that I am on a Windows machine and I'm not sure I can build
> everything from the trunk.
It looks like you are having tow problems -- first, you apparently
installed a new matplotlib over an old matplotlib and so there are
some old files laying around. Blow away site-packages/matplotlib and
reinstall. See
http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything
Secondly, you need to be importing mplot3d from mpl_toolkits, it's new
location. You appear to be importing it from matplotlib.axes3d, it's
old location which is now deprecated. Eg see
http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html
Hope this helps,
JDH
|
|
From: Reckoner <rec...@gm...> - 2009-09-17 23:46:48
|
unless I'm misunderstanding something, the website says that
matplotlib-0.99.0.win32-py2.5
should contain the axes3d material. It doesn't. Instead, it axes3d.py
contains the following:
raise NotImplementedError('axes3d is not supported in matplotlib-0.98.
You may want to try the 0.91.x maintenance branch')
note that I am on a Windows machine and I'm not sure I can build
everything from the trunk.
thanks in advance.
|
|
From: Jae-Joon L. <lee...@gm...> - 2009-09-17 22:04:06
|
This turned out to be a bug in the legend code. This is now fixed in the maint. branch and the trunk. Adam, Do you want these vertical lines show up in the legend? If not, the easiest workaround is to use some garbage label which starts with "_", i.e., vlines(3e10/6000e-8,1e-7,1e-4,linestyle='--', label="_nolabel") If you want, you may use axvline or plot instead, which creates a Line2D instance (instead of LineCollection) which will work fine with the legend. Regards, -JJ On Thu, Sep 17, 2009 at 4:28 PM, Adam Ginsburg <ada...@co...> wrote: > Hi, I'm running into the following error: > > > findfont: Matching > :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium > to Bitstream Vera Sans (/usr/X11R6/lib/X11/fonts/TTF/Vera.ttf) with > score of 0.000000 > Found dvipng version 1.11 > findfont: Matching > :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=large > to Bitstream Vera Sans (/usr/X11R6/lib/X11/fonts/TTF/Vera.ttf) with > score of 0.000000 > Exception in Tkinter callback > Traceback (most recent call last): > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", > line 1410, in __call__ > return self.func(*args) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py", > line 212, in resize > self.show() > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py", > line 215, in draw > FigureCanvasAgg.draw(self) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py", > line 388, in draw > self.figure.draw(self.renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py", > line 772, in draw > for a in self.axes: a.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py", > line 1760, in draw > a.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/legend.py", > line 389, in draw > self._legend_box.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 504, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 530, in draw > drawFunc(renderer, gc, tpath, affine.frozen()) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 866, in _draw_lines > self._lineFunc(renderer, gc, path, trans) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 917, in _draw_dashed > renderer.draw_path(gc, path, trans) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py", > line 117, in draw_path > self._renderer.draw_path(gc, path, transform, rgbFace) > TypeError: float() argument must be a string or a number > Exception in Tkinter callback > Traceback (most recent call last): > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", > line 1410, in __call__ > return self.func(*args) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py", > line 212, in resize > self.show() > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py", > line 215, in draw > FigureCanvasAgg.draw(self) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py", > line 388, in draw > self.figure.draw(self.renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py", > line 772, in draw > for a in self.axes: a.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py", > line 1760, in draw > a.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/legend.py", > line 389, in draw > self._legend_box.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 240, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py", > line 504, in draw > c.draw(renderer) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *kl) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 530, in draw > drawFunc(renderer, gc, tpath, affine.frozen()) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 866, in _draw_lines > self._lineFunc(renderer, gc, path, trans) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py", > line 917, in _draw_dashed > renderer.draw_path(gc, path, trans) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py", > line 117, in draw_path > self._renderer.draw_path(gc, path, transform, rgbFace) > TypeError: float() argument must be a string or a number > > > Using the following code: > from pylab import * > import numpy,scipy,matplotlib; > h=6.626e-27 > c=3e10 > nu=3e18/5500. > k=1.38e-16 > T=6000 > mynu=linspace(1e13,10**15.2,100000) > dnu = mean(mynu[1:]-mynu[:-1]) > planck = 2*h*mynu**3/c**2 * (exp(h*mynu/(k*T))-1)**-1 > mylam=linspace(1500e-8,5e-4,100000) > dlam = mean(mylam[1:]-mylam[:-1]) > planckL=2*h*c**2/mylam**5*(exp(h*c/(mylam*k*T))-1)**-1; planckLn = > planckL* planck.max()/planckL.max() > figure(0); clf(); loglog(mynu,planck,label=r'$\nu$') > plot(3e10/mylam,planckLn,label=r'$\lambda$') > xlabel(r'$\nu$') > ylabel(r'$B_\nu$') > vlines(3e10/5500e-8,1e-7,1e-4) > vlines(3e10/6000e-8,1e-7,1e-4,linestyle='--') > vlines(3e10/5000e-8,1e-7,1e-4,linestyle='--') > legend(loc='best') > > figure(1); clf() > loglog(mynu,planck*mynu,label=r'$\nu$') > plot(3e10/mylam,planckL*mylam,label=r'$\lambda$') > vlines(3e10/5500e-8,1e6,2e10) > vlines(3e10/6000e-8,1e6,2e10,linestyle='--') > vlines(3e10/5000e-8,1e6,2e10,linestyle='--') > xlabel(r'$\nu = c / \lambda$') > ylabel(r'$\nu B_\nu = \lambda B_\lambda$') > legend(loc='best') > > > lamlow = 5000e-8 > lamhi = 6000e-8 > nulow = 3e10/lamhi > nuhi = 3e10/lamlow > whnu = (mynu<nuhi)*(mynu>nulow) > whlam = (mylam<lamhi)*(mylam>lamlow) > int_nu = (planck[whnu]*dnu).sum() > int_lam = (planckL[whlam]*dlam).sum() > > print "int_nu = %g" % (int_nu) > print "int_lam = %g" % (int_lam) > > show() > > > > The error only happens when I use a legend; i.e. there is no error > when the legend() lines are commented out. I've only explored a > little parameter space but it still happens without latex in the > labels and when I use a linear-linear plot. > > Adam > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Adam G. <ada...@co...> - 2009-09-17 20:28:53
|
Hi, I'm running into the following error:
findfont: Matching
:family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium
to Bitstream Vera Sans (/usr/X11R6/lib/X11/fonts/TTF/Vera.ttf) with
score of 0.000000
Found dvipng version 1.11
findfont: Matching
:family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=large
to Bitstream Vera Sans (/usr/X11R6/lib/X11/fonts/TTF/Vera.ttf) with
score of 0.000000
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line 1410, in __call__
return self.func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 212, in resize
self.show()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 215, in draw
FigureCanvasAgg.draw(self)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py",
line 388, in draw
self.figure.draw(self.renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py",
line 772, in draw
for a in self.axes: a.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py",
line 1760, in draw
a.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/legend.py",
line 389, in draw
self._legend_box.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 504, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 530, in draw
drawFunc(renderer, gc, tpath, affine.frozen())
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 866, in _draw_lines
self._lineFunc(renderer, gc, path, trans)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 917, in _draw_dashed
renderer.draw_path(gc, path, trans)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py",
line 117, in draw_path
self._renderer.draw_path(gc, path, transform, rgbFace)
TypeError: float() argument must be a string or a number
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line 1410, in __call__
return self.func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 212, in resize
self.show()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 215, in draw
FigureCanvasAgg.draw(self)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py",
line 388, in draw
self.figure.draw(self.renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py",
line 772, in draw
for a in self.axes: a.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axes.py",
line 1760, in draw
a.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/legend.py",
line 389, in draw
self._legend_box.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 240, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/offsetbox.py",
line 504, in draw
c.draw(renderer)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
draw(artist, renderer, *kl)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 530, in draw
drawFunc(renderer, gc, tpath, affine.frozen())
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 866, in _draw_lines
self._lineFunc(renderer, gc, path, trans)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/lines.py",
line 917, in _draw_dashed
renderer.draw_path(gc, path, trans)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py",
line 117, in draw_path
self._renderer.draw_path(gc, path, transform, rgbFace)
TypeError: float() argument must be a string or a number
Using the following code:
from pylab import *
import numpy,scipy,matplotlib;
h=6.626e-27
c=3e10
nu=3e18/5500.
k=1.38e-16
T=6000
mynu=linspace(1e13,10**15.2,100000)
dnu = mean(mynu[1:]-mynu[:-1])
planck = 2*h*mynu**3/c**2 * (exp(h*mynu/(k*T))-1)**-1
mylam=linspace(1500e-8,5e-4,100000)
dlam = mean(mylam[1:]-mylam[:-1])
planckL=2*h*c**2/mylam**5*(exp(h*c/(mylam*k*T))-1)**-1; planckLn =
planckL* planck.max()/planckL.max()
figure(0); clf(); loglog(mynu,planck,label=r'$\nu$')
plot(3e10/mylam,planckLn,label=r'$\lambda$')
xlabel(r'$\nu$')
ylabel(r'$B_\nu$')
vlines(3e10/5500e-8,1e-7,1e-4)
vlines(3e10/6000e-8,1e-7,1e-4,linestyle='--')
vlines(3e10/5000e-8,1e-7,1e-4,linestyle='--')
legend(loc='best')
figure(1); clf()
loglog(mynu,planck*mynu,label=r'$\nu$')
plot(3e10/mylam,planckL*mylam,label=r'$\lambda$')
vlines(3e10/5500e-8,1e6,2e10)
vlines(3e10/6000e-8,1e6,2e10,linestyle='--')
vlines(3e10/5000e-8,1e6,2e10,linestyle='--')
xlabel(r'$\nu = c / \lambda$')
ylabel(r'$\nu B_\nu = \lambda B_\lambda$')
legend(loc='best')
lamlow = 5000e-8
lamhi = 6000e-8
nulow = 3e10/lamhi
nuhi = 3e10/lamlow
whnu = (mynu<nuhi)*(mynu>nulow)
whlam = (mylam<lamhi)*(mylam>lamlow)
int_nu = (planck[whnu]*dnu).sum()
int_lam = (planckL[whlam]*dlam).sum()
print "int_nu = %g" % (int_nu)
print "int_lam = %g" % (int_lam)
show()
The error only happens when I use a legend; i.e. there is no error
when the legend() lines are commented out. I've only explored a
little parameter space but it still happens without latex in the
labels and when I use a linear-linear plot.
Adam
|
|
From: John H. <jd...@gm...> - 2009-09-17 19:24:33
|
On Thu, Sep 17, 2009 at 1:54 PM, Benjamin Welton <ben...@wm...> wrote: > Hello All, > > Iv run into a strange issue involving outputting a graph to a png > format. Anytime i try to output a png file the python interpreter > crashes. However when using other formats (such as pdf or svg) there > are no issues with the output. I am running python 2.5.4 x86 on Windows > 2008 Server x64 sp1. I have included the error information and some > short examples of code that i am attempting to use to output the data to > an image format below. Any help i could get with this would be great. > matplotlib version? what installer did you use? Did you do a clean install? See http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#obtaining-matplotlib-version http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything JDH |
|
From: John H. <jd...@gm...> - 2009-09-17 19:00:19
|
On Wed, Sep 16, 2009 at 5:07 PM, Thomas Robitaille <tho...@gm...> wrote: > Hello, > > The make.osx file is now required (or at least recommended) to build > matplotlib on MacOS X, but the file is absent from the 0.9.1 RC1 > tarfile. Is this an oversight, or is it deliberate? > This is fixed in the release branch and will make it into 0.99.1. Thanks for the report JDH |
|
From: Benjamin W. <ben...@wm...> - 2009-09-17 18:55:13
|
Hello All,
Iv run into a strange issue involving outputting a graph to a png
format. Anytime i try to output a png file the python interpreter
crashes. However when using other formats (such as pdf or svg) there
are no issues with the output. I am running python 2.5.4 x86 on Windows
2008 Server x64 sp1. I have included the error information and some
short examples of code that i am attempting to use to output the data to
an image format below. Any help i could get with this would be great.
Thanks,
Ben
Works Fine
=====================================
>>> import matplotlib
>>> matplotlib.use("Agg")
>>> import pylab
>>> pylab.plot([0,1,2,3],[0,1,2,3])
[<matplotlib.lines.Line2D object at 0x03228C10>]
>>> pylab.savefig("test.svg")
Fails with crash error below
=====================================
>>> import matplotlib
>>> matplotlib.use("Agg")
>>> import pylab
>>> pylab.plot([0,1,2,3],[0,1,2,3])
[<matplotlib.lines.Line2D object at 0x03228C10>]
>>> pylab.savefig("test.png")
Problem signature:
Problem Event Name: APPCRASH
Application Name: python.exe
Application Version: 0.0.0.0
Application Timestamp: 4625bfee
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a783
Exception Code: c0000005
Exception Offset: 0003dbba
OS Version: 6.0.6001.2.1.0.272.7
Locale ID: 1033
Additional Information 1: c11a
Additional Information 2: 18d232e4d8435ebf655f59efa077f117
Additional Information 3: 3cc0
Additional Information 4: 2bc86780a51643567bc39fde6d5f1f8a
|
|
From: <jas...@cr...> - 2009-09-17 18:00:08
|
I'm trying to draw the axes from one figure directly over the axes for
another figure, in a sense, combining the two axes as two layers on one
figure.
So, first I get an axes instance, "ax".
import matplotlib.pyplot as plt
fig=plt.figure()
fig.add_subplot(111)
plt.plot(range(10), [i^2 for i in range(10)])
ax=fig.axes[0]
plt.savefig('test.png')
Okay, now I have the axes "ax". I want to draw ax directly on top of
the following figure, and get a result that would be the same as if I
had called the plot command above directly in the following code. All
I'm passed in my real code is the newax variable below, which is why I
use newax.get_figure()).
fig=plt.figure()
newax=fig.add_subplot(111)
ax.set_figure(newax.get_figure())
newax.get_figure().add_axes(ax,label="newax")
plt.savefig('test2.png')
However, the result of test2.png is not very pretty and definitely not
what I want. The tick labels for the y-axis are all scrunched up, for
example.
Can anyone help?
For those curious, what I'm doing is working on getting the Sage
graphics code to be able to wrap and intelligently display matplotlib
axes objects, so that a person could easily create a matplotlib axes,
wrap it in the Sage graphics class, and then be able to manipulate it in
Sage. In order for this to work, it seems like I need to save the axes
object I care about, and then when Sage composes it's final figure
(using matplotlib), it passes me an AxesSubplot object. I need to
somehow take that subplot object and draw my saved axes on it in the
most intelligent way possible. In the code above, I try taking the
given AxesSubplot object, getting the figure from that, and then just
adding my saved axes to that figure. Is there a better way to do this?
Thanks,
Jason
--
Jason Grout
|
|
From: Gökhan S. <gok...@gm...> - 2009-09-17 15:17:35
|
On Wed, Sep 16, 2009 at 10:46 PM, Tony S Yu <to...@mi...> wrote: > > On Sep 16, 2009, at 8:22 PM, Gökhan Sever wrote: > > Hello all, > > I want to be able to count predefined simple rectangle shapes on an image > as shown like in this one: > http://img7.imageshack.us/img7/2327/particles.png > > Which is in my case to count all the blue pixels (they are ice-snow flake > shadows in reality) in one of the column. > > What is the way to automate this task, which library or technique should I > study to tackle it. > > > You should check out the ndimage subpackage in scipy. > > This tutorial should help you get started: > http://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html > The section on "segmentation and labeling" will be particularly useful for > you. > > Best, > -Tony > > <http://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html> > Right into the eye. "Segmentation is the process of separating objects of interest from the background." Once I finish this task, I should be able to count the occurrences of the shadowed instances so that I would have an idea regarding to their sizes. -- Gökhan |
|
From: Michael D. <md...@st...> - 2009-09-17 14:33:34
|
Thanks. I think you're right, Jae-Joon. I've committed a slightly
simplified version of your patch on the 0.99 branch and trunk.
Mike
Jae-Joon Lee wrote:
> Thanks for reporting the problem.
> I can reproduce this error in the svn trunk.
>
> My diagnosis is that this is because the clip mask is not correctly
> set, i.e., the mask path is not properly flipped in the svg backend.
> I was able to solve this particular problem using the attached patch.
> But, i'm not sure if this patch is a general solution. So, I hope
> other developers step in.
>
> Bartosz, below is a workaround you may use meanwhile. Note that the
> workaround will give correct result only for svg backend.
>
>
> import matplotlib.pyplot as plt
> import numpy as np
>
> fig = plt.figure()
> ax = fig.add_axes([0.4, 0.4, 0.25, 0.25], polar=True)
>
> # modify the ax.patch transform to work around with svg backend bug
> import matplotlib.transforms as mtransforms
> flipped_transAxes = mtransforms.BboxTransformTo(ax.bbox) \
> + mtransforms.Affine2D().scale(1.0,
> -1.0).translate(0., 72*fig.get_figheight())
>
> ax.patch.set_transform(flipped_transAxes)
> ax.xaxis.set_clip_path(ax.patch)
> ax.yaxis.set_clip_path(ax.patch)
>
>
> theta1 = np.pi/4
> ax.plot([theta1, theta1], [0, 1], '-')
>
> plt.savefig('test_polar.svg')
> plt.savefig('test_polar.png')
>
> Regards,
>
> -JJ
>
>
> On Wed, Sep 16, 2009 at 2:56 PM, Bartosz Telenczuk
> <b.t...@bi...> wrote:
>
>> Dear all,
>>
>> I have a problem with exporting polar plots to SVG. When attached to
>> axes which are not centered in the figure, the content (grids, data,
>> etc.) seems not to be shifted correctly with the axes. However, when I
>> plot it directly to the screen or export to PNG everything is fine.
>>
>> Here is an example reproducing this error:
>>
>> import matplotlib.pyplot as plt
>> import numpy as np
>>
>> fig = plt.figure()
>> ax = fig.add_axes([0.4, 0.4, 0.25, 0.25], polar=True)
>>
>> theta1 = np.pi/4
>> ax.plot([theta1, theta1], [0, 1], '-')
>>
>> plt.savefig('test_polar.svg')
>> plt.savefig('test_polar.png')
>> plt.show()
>>
>> I was able to reproduce the problem it in matplotlib 0.99.0 (Backend:
>> GTKAgg).
>>
>>
>> Cheers,
>>
>> Bartosz
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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: Michael D. <md...@st...> - 2009-09-17 14:24:45
|
The bug was fixed on the 0.99.x branch, not in 0.99.0 (which predates the fix). The fix should, however, make it into the forthcoming 0.99.1 release. Cheers, Mike Nicolas Bigaouette wrote: > I have reported that issue on the tracker at the end of July. You can > fin dit here: > http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2830483&group_id=80706 > <http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2830483&group_id=80706> > > > It's supposed to be fixed in 0.99... are you sure you are using it? > > I remember trying it just after the bug was closed with an svn version > and it was working. But then again I just tried it (0.99.0) and I get > the bad behaviour... You seem not to be the only one! Maybe the issue > should be re-opened. > > > 2009/9/16 Sammy Yu <te...@gm... <mailto:te...@gm...>> > > Hi, > I've been playing around with mplotlib's 3d charting functionality. > I wanted to generate something similar to this example: > http://matplotlib.sourceforge.net/plot_directive/mpl_examples/mplot3d/bars3d_demo.py > > However, the number on scales are off (see attached). It should > look like this: > http://matplotlib.sourceforge.net/_images/bars3d_demo.png > > I'm running matplotlib-0.99.0. Is this a known issue? > > Thanks, > Sammy > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. > Jumpstart your > developing skills, take BlackBerry mobile applications to market > and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > 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: Jouni K. S. <jk...@ik...> - 2009-09-17 13:06:54
|
"Nils Wagner" <nw...@ia...> writes: > Is it possible to suppress the output of > DeprecationWarning messages on the screen ? Run python with the -Wignore::DeprecationWarning option; see the manual page for details. -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: Nils W. <nw...@ia...> - 2009-09-17 13:01:01
|
Hi all, Is it possible to suppress the output of DeprecationWarning messages on the screen ? Nils |
|
From: Diaboflo <fh...@hw...> - 2009-09-17 08:35:03
|
Hi all, I got my administrator to update the python modules (matplotlib, scipy, numpy) and now it works fine. Seems to be an already fixed bug. Thanks to all for your help! Flo -- View this message in context: http://www.nabble.com/Latex-characters-don%27t-show-when-I-save-to-eps-tp25433829p25487259.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Werner F. B. <wer...@fr...> - 2009-09-17 07:43:33
|
Eric, Eric Firing wrote: > Werner, > >>> Instead, it looks to me like the best solution is the one you >>> provided at the very bottom of >>> http://www.py2exe.org/index.cgi/MatPlotLib. >> I am happy with what ever change is done as long as it also works for >> py2exe'd application. >> > > I have applied this fix to the branch and the trunk, so wxversion will > not be imported by py2exe'ed programs. Great. I will check it out on the next rc or release. Werner |
|
From: Nicolas B. <nbi...@gm...> - 2009-09-17 03:47:34
|
I have reported that issue on the tracker at the end of July. You can fin dit here: http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2830483&group_id=80706 It's supposed to be fixed in 0.99... are you sure you are using it? I remember trying it just after the bug was closed with an svn version and it was working. But then again I just tried it (0.99.0) and I get the bad behaviour... You seem not to be the only one! Maybe the issue should be re-opened. 2009/9/16 Sammy Yu <te...@gm...> > Hi, > I've been playing around with mplotlib's 3d charting functionality. > I wanted to generate something similar to this example: > > http://matplotlib.sourceforge.net/plot_directive/mpl_examples/mplot3d/bars3d_demo.py > > However, the number on scales are off (see attached). It should look like > this: > http://matplotlib.sourceforge.net/_images/bars3d_demo.png > > I'm running matplotlib-0.99.0. Is this a known issue? > > Thanks, > Sammy > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Tony S Yu <to...@MI...> - 2009-09-17 03:46:53
|
On Sep 16, 2009, at 8:22 PM, Gökhan Sever wrote: > Hello all, > > I want to be able to count predefined simple rectangle shapes on an > image as shown like in this one: http://img7.imageshack.us/img7/2327/particles.png > > Which is in my case to count all the blue pixels (they are ice-snow > flake shadows in reality) in one of the column. > > What is the way to automate this task, which library or technique > should I study to tackle it. You should check out the ndimage subpackage in scipy. This tutorial should help you get started: http://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html The section on "segmentation and labeling" will be particularly useful for you. Best, -Tony |