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





Showing 3 results of 3

From: Jouni K. S. <jk...@ik...> - 2009年08月09日 19:02:10
John Hunter <jd...@gm...> writes:
> * I commented out the random number appending, because I do not see
> the use case, but we can re-add it when you enlighten me :-)
I did that in case someone wanted to retrieve files from several
different locations -- my version of the cache handler was not tied to
any particular base URL. Since all cached files were in one flat
directory, there was the danger of filename collisions. 
> * I added support for nested subdirs, so you can now do, as in
> examples/misc/sample_data_test.py::
>
> datafile = 'testdir/subdir/testsub.csv'
> fh = cbook.get_sample_data(datafile)
I think mirroring a directory structure is somewhat more complicated
than caching a set of arbitrary URLs in a flat cache directory. For
example, I think the remove_stale_files method will need to be changed
to walk all subdirectories, and handling cases such as having a
subdirectory named foo that is replaced by a file named foo could be
complicated.
One thing that's still missing is off-line usage: if the user does not
have net connectivity at the moment but does have the file in the cache,
it should not cause an error.
Perhaps the base URL should be 
http://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/sample_data/
instead of
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/sample_data/
to avoid dependency on the viewvc service of SourceForge.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Reinier H. <re...@he...> - 2009年08月09日 14:34:43
Hi John,
I've seen them both and will apply try to fix them. I've also
submitted a support request to sourceforge to see if they can fix the
bug assignment issue. It's ok if you assign mplot3d bugs to me then.
Cheers,
Reinier
On Sat, Aug 8, 2009 at 2:33 PM, John Hunter<jd...@gm...> wrote:
> On Fri, Aug 7, 2009 at 8:27 AM, Reinier Heeres<re...@he...> wrote:
>> Hi,
>>
>> This looks great! I'd be happy to try and work on this for mplot3d as well.
>>
>> Ryan: as for your patch, I'll look at it over the weekend or next week
>> and see if I can apply it to trunk.
>
> Hey Reinier, while you are looking these over, I just wanted to make
> sure you saw these two mplo3d bugs posted on the tracker
>
> https://sourceforge.net/tracker/?func=detail&aid=2830483&group_id=80706&atid=560720
> https://sourceforge.net/tracker/?func=detail&aid=2834105&group_id=80706&atid=560720
>
> Normally, I can assign bugs on the tracker to a developer, but for
> some reason even though you are permissioned in the
> "Members" area for the tracker, your sf login isn't showing up in the
> drop down of developers on the bugs page. If you are unable o manage
> the bug, eg to change the resolution or status, let me know after you
> have taken a look at these and I can close or update them as
> necessary.
>
> JDH
>
-- 
Reinier Heeres
Tel: +31 6 10852639
From: <jas...@cr...> - 2009年08月09日 07:01:04
Here are a few patches that we in Sage have been applying to our version 
of matplotlib. I'm wondering if some or all of these might be 
incorporated into matplotlib, or if not, if you could comment on these 
patches. I've updated the following diffs to be against 0.99.0. I've 
separated the patches with a bunch of dashes.
lib/matplotlib/cbook.py: The background information for this patch is 
found at http://trac.sagemath.org/sage_trac/ticket/1967 and 
http://groups.google.com/group/sage-support/browse_thread/thread/edcf2740f7276e6a?hl=en#78ee7d78a0a99f12
--- src/lib/matplotlib/cbook.py 2009年08月01日 12:15:07.000000000 -0700
+++ patches/cbook.py 2009年08月08日 23:15:21.000000000 -0700
@@ -14,7 +14,10 @@
 
 
 # on some systems, locale.getpreferredencoding returns None, which can 
break unicode
-preferredencoding = locale.getpreferredencoding()
+try:
+ preferredencoding = locale.getpreferredencoding()
+except:
+ preferredencoding = None
 
 def unicode_safe(s):
 if preferredencoding is None: return unicode(s)
-----------------------------------------------------------------------------------------------------------------------------------------------
lib/matplotlib/patches.py: The comment attached to this patch was '* 
Add a patch for patches.py, which ignores the errors generated when 
trying to draw arrows that are "too short".' I actually made this 
patch, so if it isn't obvious what the patch is doing and why it was 
causing an error before, I can try to remember and construct an example.
--- src/lib/matplotlib/patches.py 2009年08月01日 12:15:07.000000000 -0700
+++ patches/patches.py 2009年08月08日 23:25:09.000000000 -0700
@@ -2326,15 +2326,21 @@
 x, y = path.vertices[0]
 insideA = inside_circle(x, y, shrinkA)
 
- left, right = split_path_inout(path, insideA)
- path = right
+ try:
+ left, right = split_path_inout(path, insideA)
+ path = right
+ except ValueError:
+ pass
 
 if shrinkB:
 x, y = path.vertices[-1]
 insideB = inside_circle(x, y, shrinkB)
 
- left, right = split_path_inout(path, insideB)
- path = left
+ try:
+ left, right = split_path_inout(path, insideB)
+ path = left
+ except ValueError:
+ pass
 
 return path
 
---------------------------------------------------------------------------------------------------------------------------------------
ttconv/pprdrv_tt2.cpp: This patch is *only* applied when `uname` = 
"SunOS". The comment is: Copy patched version of pprdrv_tt2.cpp for 
Solaris 10 that builds with gcc 4.3.2.
--- src/ttconv/pprdrv_tt2.cpp 2009年08月01日 12:15:15.000000000 -0700
+++ patches/pprdrv_tt2.cpp 2009年08月08日 23:33:24.000000000 -0700
@@ -104,7 +104,8 @@
 { /* have a log of points. */
 if(stack_depth == 0)
 {
- stream.put_char('{');
+ // Note the below is a hack to make it compile on Solaris 
10 with gcc 4.3.2
+ stream.puts("{");
 stack_depth=1;
 }
 
--------------------------------------------------------------------------------------------------------------------------------------------
setupext.py: The background for this patch is here: 
http://trac.sagemath.org/sage_trac/ticket/4176
--- src/setupext.py 2009年08月01日 12:15:24.000000000 -0700
+++ patches/setupext.py 2009年08月08日 23:43:29.000000000 -0700
@@ -1034,6 +1038,7 @@
 # of distros.
 
 # Query Tcl/Tk system for library paths and version string
+ tk_ver = ''
 try:
 tcl_lib_dir, tk_lib_dir, tk_ver = query_tcltk()
 except:
Thanks!
Jason

Showing 3 results of 3

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