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


Showing 9 results of 9

From: John H. <jd...@gm...> - 2010年09月08日 19:45:49
On Wed, Sep 8, 2010 at 12:57 PM, Jouni K. Seppänen <jk...@ik...> wrote:
>> This project does NOT incorporate, access, call upon, or otherwise use
>> encryption of any kind, including, but not limited to, open source
>> algorithms and/or calls to encryption in the operating system or
>> underlying platform.
I think mpl complies with this spirit of this clause: no nation on the
restricted list could reasonably use mpl in an encryption/decryption
effort. As for Jouni's explicit question: potentially copying some
encrypted font data but not encrypting or decrypting it, I think that
does not qualify as "otherwise use encryption of any kind" though I
suppose this is open to interpretation. If we ever receive a
reasonable request from the justice department asking us to
cease-and-desist, we would certainly comply with that.
So I suggest leaving the export controls turned off, as Eric has done.
 Thanks for the head's up Matthew (I thought we had already taken care
of this ...)
JDH
From: Eric F. <ef...@ha...> - 2010年09月08日 19:13:15
On 09/07/2010 10:27 PM, Jae-Joon Lee wrote:
> Eric,
>
> The drawing order of multiple axes in a same figure depends on the
> order of "axes". And this has been the order that axes is added to the
> figure (given that they have same zorder value). However, the current
> implementation does not preserve this order.
>
> For example,
>
>
> ax1 = axes([0.1, 0.1, 0.5, 0.5])
> ax2 = axes([0.4, 0.4, 0.5, 0.5])
>
> draw() # ax2 on top of ax1
>
>
> sca(ax1)
> draw() # ax2 underneath ax1
>
> For some artist that spans multiple axes (e.g., an arrow connecting
> two points in different axes), the drawing order of the axes is
> important. We may manually adjust the zorder. Still. I think it is
> better if Figure.axes preserves the order that axes are added.
Thanks for pointing this out. I will look into a modification to 
preserve that order. Probably it will involve storing a third element 
in each tuple, and sorting on that when generating the axes list.
>
> I believe this bug also affects the maintenance branch. Are you
> planning to propagate this changes to the maint. branch also?
No, my thinking is that the change I made is a bit too extensive for 
inclusion in the maintenance branch, and the priority for fixing the 
somewhat obscure 3D bug in that branch is low--especially given that the 
3D code has many bugs (most of the current bugs on the tracker) and will 
most likely be reworked in the trunk over time.
>
> Besides, I think none of the matplotlib artist add itself to its
> parent during the initialization. And, I think this is more of the
> design choice, i.e., the artist instance is added to its parent
> "after" the initialization. Anyhow, such distinction may not very
> practical in the current implementation and I'm completely okay with
> your changes (except the issues above).
I don't think I understand the point you are making here--is it that the 
Axes3D is a lone anomaly?
The main purpose of the changes I made was to clarify the tracking of 
axes by having them internally listed in only one data structure instead 
of always having to add or remove them from three separate structures. 
Fixing the 3D bug was a side-effect. Whether the changes I made were a 
net improvement, or a good design, remains debatable. Criticisms and 
suggestions for improvement or replacement are welcome.
Eric
>
> Regards,
>
> -JJ
From: Jouni K. S. <jk...@ik...> - 2010年09月08日 17:57:33
Eric Firing <efiring@...> writes:
> This project does NOT incorporate, access, call upon, or otherwise use 
> encryption of any kind, including, but not limited to, open source 
> algorithms and/or calls to encryption in the operating system or 
> underlying platform.
I don't know whether lib/matplotlib/type1font.py meets this test. It
is needed by the usetex support for at least the pdf backend.
Owing to a former business model of Adobe, Type-1 fonts are
encrypted. The algorithm and encryption key are now widely known (and
Adobe distributes a technical note disclosing them), but it is still
an encryption algorithm.
The current version of type1font.py does not decrypt fonts, but it
accesses the encrypted part of a font and can be used to copy it in
the output postscript or pdf file. That could fall under "otherwise
use" as far as I understand (English is not my first language, and
legalese far less).
I have had some plans of adding Type-1 font subsetting support, which
I believe requires including the encryption algorithm.
Jouni
From: Michael D. <md...@st...> - 2010年09月08日 16:48:29
On 09/06/2010 02:34 PM, Eric Firing wrote:
> On 09/06/2010 06:25 AM, Matthew Brett wrote:
> 
>> Hi,
>>
>> Sorry to ask, but would y'all mind unblocking matlplotlib downloads from Cuba?
>>
>> I just tried the download from here in Havana, and got:
>>
>> 403 Error – Forbidden
>>
>> Your request is being denied as it appears to be coming from a
>> location banned by our Terms of Use.
>>
>> That's because Sourceforge runs an opt-out blocking policy. If y'all
>> agree that there's no reason to block matplotlib downloads from Cuba,
>> China etc, would someone mind setting the 'this is not a cryptographic
>> program' setting in the sourceforge interface?
>> 
> Done.
>
> The relevant option in "export controls" is
>
> This project does NOT incorporate, access, call upon, or otherwise use
> encryption of any kind, including, but not limited to, open source
> algorithms and/or calls to encryption in the operating system or
> underlying platform.
>
> As far as I can see, mpl passes this test.
> 
What about the path simplification or contouring source code? I would 
think that kind of intense code obfuscation would count as encryption... ;)
<for the lawyers, the above is a joke>
Mike
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
From: Michael D. <md...@st...> - 2010年09月08日 16:44:25
I believe I have a fix in r8691 (both branch and trunk).
Cheers,
Mike
On 09/03/2010 03:31 PM, Eric Firing wrote:
> On 09/03/2010 09:14 AM, Tony S Yu wrote:
> 
>> On Sep 3, 2010, at 10:23 AM, Sébastien Barthélemy wrote:
>>
>> 
>>> CC to matplotlib-devel& matplotlib-users
>>>
>>> 2010年9月3日 Tony S Yu<ts...@gm...>:
>>> 
>>>> On Sep 3, 2010, at 4:33 AM, Sébastien Barthélemy wrote:
>>>>
>>>> 
>>>>> Hello,
>>>>>
>>>>> While using sage [1], I got problems drawing a line: for some reason,
>>>>> the points with negative coordinates are not plotted (or are plotted
>>>>> on top of others due to an offset problem and thus I cannot see them).
>>>>> I can only reproduce the bug with specific data sets.
>>>>>
>>>>> [1] www.sagemath.org
>>>>>
>>>>> I think I could track down the bug to matplotlib, which sage uses to
>>>>> render 2d plots.
>>>>>
>>>>> I included a sage script which generates the data set (in a pickle
>>>>> file), and a python script which draws the faulty line.
>>>>>
>>>>> Usage is :
>>>>>
>>>>> $ sage generate_data.sage
>>>>> $ python test_mpl.py
>>>>>
>>>>> I also included the pickled data, thus you don't need sage at all.
>>>>> I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport).
>>>>>
>>>>> Could somebody here confirm the problem, and give me a hint about what
>>>>> is going on?
>>>>> 
>>>> I can confirm the issue.
>>>> 
>>> Great, thank you. I filed a bug:
>>> https://sourceforge.net/tracker/?func=detail&aid=3058804&group_id=80706&atid=560720
>>>
>>> 
>>>> This appears to be a drawing bug: when I pan the drawing so that the negative data touches the edge of the axes frame, the rest of the line is drawn. So the line object is being created, but for some reason it's not being drawn correctly.
>>>>
>>>> The bug is really finicky: if I plot starting from the 3rd value of your data (i.e. slice xdata, ydata with [2:]), the line is drawn completely. The strange thing is that the first 100 or so data points defines the exact same point, so there's noting special about those first two points. (but this overlaying of data may be related to the bug)
>>>>
>>>> I've reproduced the issue on TkAgg, Qt4Agg, and MacOSX backends, so maybe the bug is in backend_bases. (Note: unlike Agg backends, MacOSX backend doesn't show line even after panning the plot)
>>>>
>>>> I don't really know how to debug drawing errors like this; so this is as far as can get.
>>>> 
>> I'm not sure if I should respond to this email or the bug report, but since I made the claim here, I'll correct myself here: The bug is not in the drawing code as I had suggested.
>>
>> The bug is related to path simplification. If you turn off path simplification (e.g. plt.rc('path', simplify=False), the line is drawn in its entirety. This also explains why the bug disappeared when I trimmed the first two points: path simplification is triggered from data sets with atleast 128 points (your data has 129, so trimming two points turned off path simplification).
>>
>> I just wanted to correct my earlier comments.
>>
>> 
> Tony,
>
> Thanks--it's in a comment added to the bug report. Also, this is the
> same problem as reported earlier by Jens Nie. The bug is in
> path_converters.h. I think I found part of it, but a real solution may
> require more than a changed line or two, and I can't spend more time on
> it at the moment. Mike D. could figure it out quickly, but I think he
> is not available right now.
>
> Eric
>
> 
>> -T
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>> 
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
From: Evan P. <epa...@en...> - 2010年09月08日 16:33:05
When you press Ctrl-., the client prompts you to make sure that you
really want to restart the kernel. Your work is not at risk from a
careless key press.
Evan
On Wed, Sep 8, 2010 at 9:58 AM, Nathaniel Smith <nj...@po...> wrote:
> On Wed, Sep 8, 2010 at 12:12 AM, Fernando Perez <fpe...@gm...> wrote:
>> ps - tip: Ctrl-. restarts the kernel
>
> Tangentially... please make this something that's a little harder to
> hit by accident, like Ctrl-Alt-. or a menu item or something? My
> ipython's regularly hold state that would take a few CPU-days to
> reconstruct.
>
> (Sorry for the off-topic.)
>
> -- Nathaniel
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Nathaniel S. <nj...@po...> - 2010年09月08日 16:03:18
On Wed, Sep 8, 2010 at 12:12 AM, Fernando Perez <fpe...@gm...> wrote:
> ps - tip: Ctrl-. restarts the kernel
Tangentially... please make this something that's a little harder to
hit by accident, like Ctrl-Alt-. or a menu item or something? My
ipython's regularly hold state that would take a few CPU-days to
reconstruct.
(Sorry for the off-topic.)
-- Nathaniel
From: Jae-Joon L. <lee...@gm...> - 2010年09月08日 08:27:25
Eric,
The drawing order of multiple axes in a same figure depends on the
order of "axes". And this has been the order that axes is added to the
figure (given that they have same zorder value). However, the current
implementation does not preserve this order.
For example,
ax1 = axes([0.1, 0.1, 0.5, 0.5])
ax2 = axes([0.4, 0.4, 0.5, 0.5])
draw() # ax2 on top of ax1
sca(ax1)
draw() # ax2 underneath ax1
For some artist that spans multiple axes (e.g., an arrow connecting
two points in different axes), the drawing order of the axes is
important. We may manually adjust the zorder. Still. I think it is
better if Figure.axes preserves the order that axes are added.
I believe this bug also affects the maintenance branch. Are you
planning to propagate this changes to the maint. branch also?
Besides, I think none of the matplotlib artist add itself to its
parent during the initialization. And, I think this is more of the
design choice, i.e., the artist instance is added to its parent
"after" the initialization. Anyhow, such distinction may not very
practical in the current implementation and I'm completely okay with
your changes (except the issues above).
Regards,
-JJ
From: Fernando P. <fpe...@gm...> - 2010年09月08日 07:12:59
Hi Jeff,
On Mon, Sep 6, 2010 at 6:27 AM, Jeff Whitaker <js...@fa...> wrote:
> Fernando: Got it, thanks. Sounds reasonable to me. Just playing with it a
> bit, one thing I found myself looking for was a way to save the entire
> session (inline figures included) to html.
>
Of course! When is the patch coming? ;)
Yes, that will be the obvious first thing everybody will want. And it
shouldn't be too hard to write, either. In fact, if we store the svg
payloads in a dict keyed by input line number kernel-side, it would be
pretty easy to write a little function that will take a session and
will generate a reST document with figures and all, with .. image::
directives.
BTW, in my branch (fperez/newkernel) it's already working with inline
figures not needing a show() call at all, and a 'paste()' function to
paste any figure inline if you use one of the gui backends. We should
have it merged in a day or two.
Cheers,
f
ps - tip: Ctrl-. restarts the kernel, and Ctrl-L clears the screen.
So it's quick to get a fresh state, but keeping all your input history
you've been typing client-side unmodified. We're starting to get the
benefits of the two-process model...

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 によって変換されたページ (->オリジナル) /