SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
(8)
2
(3)
3
(3)
4
(11)
5
(1)
6
(10)
7
(1)
8
(24)
9
(4)
10
(2)
11
(3)
12
(1)
13
(4)
14
(2)
15
(6)
16
17
(9)
18
(12)
19
(4)
20
(4)
21
(6)
22
(10)
23
(17)
24
(2)
25
26
27
(1)
28
(17)
29
(4)
30
(5)



Showing 9 results of 9

From: Jae-Joon L. <lee...@gm...> - 2009年09月17日 22:11:50
Hi,
add_line method sets label to something like "_line1" if not set.
def add_line(self, line):
 if not line.get_label():
 line.set_label('_line%d'%len(self.lines))
add_collection sets label to "collection1" if not set.
def add_collection(self, collection, autolim=True):
 label = collection.get_label()
 if not label:
 collection.set_label('collection%d'%len(self.collections))
add_patch does nothing.
Can someone enlighten me why add_line and add_collection method sets the label?
Actually, my issue here is that collections without empty label show
up in the legend as "collection1" etc., instead of being ignored.
Regards,
-JJ
From: Michael D. <md...@st...> - 2009年09月17日 20:01:23
Good point. A test based on Sandro's example has been committed to SVN.
Mike
Andrew Straw wrote:
> Michael Droettboom wrote:
> 
>> Yes -- a bug was introduced where non-finite values were no longer being 
>> ignored by the data extents finder. This has now been fixed on the 
>> 0.99.x branch (r7774) and the trunk.
>> 
>> 
> Hi Mike,
>
> This would seem like something useful to write a test for to make sure
> these regressions don't slip in in the future. Would it be easy to write
> a test (image based or non image based)? If so, would you mind doing it
> and checking it into the trunk? You can look at
> lib/matplotlib/tests/test_axes.py and lib/matplotlib/tests/test_basic.py
> for examples.
>
> Also, apologies about the buildbot master being down last night and this
> morning. It's back online now.
>
> -Andrew
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Andrew S. <str...@as...> - 2009年09月17日 18:47:47
Michael Droettboom wrote:
> Yes -- a bug was introduced where non-finite values were no longer being 
> ignored by the data extents finder. This has now been fixed on the 
> 0.99.x branch (r7774) and the trunk.
> 
Hi Mike,
This would seem like something useful to write a test for to make sure
these regressions don't slip in in the future. Would it be easy to write
a test (image based or non image based)? If so, would you mind doing it
and checking it into the trunk? You can look at
lib/matplotlib/tests/test_axes.py and lib/matplotlib/tests/test_basic.py
for examples.
Also, apologies about the buildbot master being down last night and this
morning. It's back online now.
-Andrew
From: Fernando P. <fpe...@gm...> - 2009年09月17日 18:02:14
2009年9月17日 John Hunter <jd...@gm...>:
> On Thu, Sep 17, 2009 at 9:30 AM, Michael Droettboom <md...@st...> wrote:
>> Looks fine to me. We were offering to commit this to matplotlib, or
>> should I?
>
> You should let Fernando, so he can survive the annual purge of
> developers no longer committing :-)
Thanks :) I'll take care of it later then, I'll try to fix a warning
we're seeing as well because it lacks a setup.py.
Cheers,
f
From: Michael D. <md...@st...> - 2009年09月17日 14:57:05
Yes -- a bug was introduced where non-finite values were no longer being 
ignored by the data extents finder. This has now been fixed on the 
0.99.x branch (r7774) and the trunk.
Mike
Sandro Tosi wrote:
> Hello,
> with 0.99.{0, 1rc1} I have problem with this code:
>
> In [1]: import matplotlib.pyplot as plt
>
> In [2]: import numpy as np
>
> In [3]: x = np.arange(0., np.e, 0.01)
>
> In [4]: y = np.log(x)
>
> In [5]: print y[:2], y[-2:]
> [ -Inf -4.60517019] [ 0.99325177 0.99694863]
>
> In [6]: plt.plot(x, y);
>
> In [7]: plt.show()
>
> that generates the image attached, that's clearly wrong :)
>
> I works fine with 0.98.5.3, so there's something in the 0.99.* that broke.
>
> Regards,
> 
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2009年09月17日 14:36:17
On Thu, Sep 17, 2009 at 9:30 AM, Michael Droettboom <md...@st...> wrote:
> Looks fine to me. We were offering to commit this to matplotlib, or
> should I?
You should let Fernando, so he can survive the annual purge of
developers no longer committing :-)
From: Michael D. <md...@st...> - 2009年09月17日 14:30:54
Looks fine to me. We were offering to commit this to matplotlib, or 
should I?
Mike
Fernando Perez wrote:
> Howdy,
>
> this fixes the ipython console sphinx extension to mark up output
> prompts as well. Mind if I put it in?
>
> Thanks,
>
> f
>
> maqroll[sphinxext]> diff -u ipython_console_highlighting.py
> ~/research/papers/nitime/sphinxext/ipython_console_highlighting.py
> --- ipython_console_highlighting.py	2009年08月26日 00:03:06.000000000 -0700
> +++ /home/fperez/research/papers/nitime/sphinxext/ipython_console_highlighting.py	2009年09月11日
> 18:03:19.000000000 -0700
> @@ -77,8 +77,11 @@
> [(0, Generic.Prompt,
> continue_prompt.group())]))
> curcode += line[continue_prompt.end():]
> elif output_prompt is not None:
> + # Use the 'error' token for output. We should probably make
> + # our own token, but error is typicaly in a bright color like
> + # red, so it works fine for our Output prompts.
> insertions.append((len(curcode),
> - [(0, Generic.Output,
> output_prompt.group())]))
> + [(0, Generic.Error,
> output_prompt.group())]))
> curcode += line[output_prompt.end():]
> else:
> if curcode:
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Sandro T. <mo...@de...> - 2009年09月17日 14:14:34
Attachments: log_graph.png
Hello,
with 0.99.{0, 1rc1} I have problem with this code:
In [1]: import matplotlib.pyplot as plt
In [2]: import numpy as np
In [3]: x = np.arange(0., np.e, 0.01)
In [4]: y = np.log(x)
In [5]: print y[:2], y[-2:]
[ -Inf -4.60517019] [ 0.99325177 0.99694863]
In [6]: plt.plot(x, y);
In [7]: plt.show()
that generates the image attached, that's clearly wrong :)
I works fine with 0.98.5.3, so there's something in the 0.99.* that broke.
Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Fernando P. <fpe...@gm...> - 2009年09月17日 03:49:00
Howdy,
this fixes the ipython console sphinx extension to mark up output
prompts as well. Mind if I put it in?
Thanks,
f
maqroll[sphinxext]> diff -u ipython_console_highlighting.py
~/research/papers/nitime/sphinxext/ipython_console_highlighting.py
--- ipython_console_highlighting.py	2009年08月26日 00:03:06.000000000 -0700
+++ /home/fperez/research/papers/nitime/sphinxext/ipython_console_highlighting.py	2009年09月11日
18:03:19.000000000 -0700
@@ -77,8 +77,11 @@
 [(0, Generic.Prompt,
continue_prompt.group())]))
 curcode += line[continue_prompt.end():]
 elif output_prompt is not None:
+ # Use the 'error' token for output. We should probably make
+ # our own token, but error is typicaly in a bright color like
+ # red, so it works fine for our Output prompts.
 insertions.append((len(curcode),
- [(0, Generic.Output,
output_prompt.group())]))
+ [(0, Generic.Error,
output_prompt.group())]))
 curcode += line[output_prompt.end():]
 else:
 if curcode:

Showing 9 results of 9

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /