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




Showing 4 results of 4

From: Ryan K. <rya...@gm...> - 2006年01月13日 05:01:55
Attachments: rwklegend.patch
Here is my first attempt at patch submission. This patch aims to make
it possible to set legend properties (like fontsize) in the
matplotlibrc file.
Details:
 added legend options to rc file
To the main __init__.py file I have added lines 769-780
to set default
rc values for legend related parameters. The attached
matplotlibrc
file is just an example of setting the legend parameters.
There are several changes to legend.py:
1. added ,rcParams to the end of line 29:
from matplotlib import verbose, rcParams
2. lines 112-124 set all the defaults for the keyword
arguments to
None as you suggested.
3. changed how the values for things like
self.numpoints are handled
to check if they are none and look them up from
rcParams are you
suggested lines 149-159.
I don't know if there is a way to use kwargs here
instead of the
crude dictionary I set up in this part, but it works.
Let me know if
there is a cleaner way.
4. changed line 161 to check self.isaxes instead of
isaxes, because
isaxes now defaults to None:
if self.isaxes: # parent is an Axes
One thing I don't seem to be able to do is make the diff pick up the
matplotlibrc changes. The following lines need to be added to make
this feature useful:
### Legend
legend.isaxes=09:=09True
legend.numpoints =09:=094 # the number of points in the legend line
legend.fontsize : 14
legend.pad =09:=090.2 # the fractional whitespace inside the legend border
legend.markerscale =09:=091.0 # the relative size of legend markers vs. =
original
# the following dimensions are in axes coords
legend.labelsep =09:=090.010 # the vertical space between the legend entrie=
s
legend.handlelen =09:=090.05 # the length of the legend lines
legend.handletextsep =09:=090.02 # the space between the legend line and le=
gend text
legend.axespad =09:=090.02 # the border between the axes and legend e=
dge
legend.shadow=09:=09False
Let me know what to do from here.
If it matters, I created the diff from inside the directory
cvs/matplotlib on my computer (I don't know if the default would be
one level up from that for most people or not).
Ryan
From: Fernando P. <Fer...@co...> - 2006年01月13日 04:01:23
John Hunter wrote:
>>>>>>"Ryan" == Ryan Krauss <rya...@gm...> writes:
> 
> 
> Ryan> Part of the problem is that I don't have much experience
> Ryan> with cvs/svn beyond checking code out. That is why I am
> Ryan> asking for a procedure. I also don't know if someone needs
> Ryan> to look at what I have done and make sure I am not a total
> Ryan> hack (I made some changes to it based on John's feedback).
> Ryan> I will in no way be offended if someone wants to look over
> Ryan> my shoulder, and I don't mind tweaking it to follow better
> Ryan> coding practices or whatever, but I do want to follow it
> Ryan> through to getting it included.
> 
> The best way is to get a copy of cvs and build your patch with 'cvs
> diff' and then post it here and on the sourceforge patches site.
> 
> And remind us after a week if we fail to take action!
In addition to John's comments, you may want to browse the ipython page on 
this topic (John, feel free to steal it and tweak it to suit your personal taste):
http://projects.scipy.org/ipython/ipython/wiki/DeveloperGuidelines
While some things there may be specific to IPython (I am _much_ more picky 
about detailed changelogs than matplotlib is, for example), the bulk of it is 
generic advice, good for anyone coming to an Open Source Python project.
About the only thing I'd add for mpl would be to make your diffs with 'cvs 
diff -u', since by default CVS doesn't do that (SVN does, so I removed that 
bit of advice yesterday). One of these days John will see the light of SVN 
and this difference will vanish :)
[ BTW, John, useful little links I found today on SVN, better than what I'd 
seen before]:
https://www.projects.dev2dev.bea.com/scdocs/ddUsingSVN_command-line
http://www.developer.com/open/article.php/10930_3499816_1
I hope this is useful.
Cheers,
f
From: John H. <jdh...@ac...> - 2006年01月13日 03:55:22
>>>>> "Ryan" == Ryan Krauss <rya...@gm...> writes:
 Ryan> Part of the problem is that I don't have much experience
 Ryan> with cvs/svn beyond checking code out. That is why I am
 Ryan> asking for a procedure. I also don't know if someone needs
 Ryan> to look at what I have done and make sure I am not a total
 Ryan> hack (I made some changes to it based on John's feedback).
 Ryan> I will in no way be offended if someone wants to look over
 Ryan> my shoulder, and I don't mind tweaking it to follow better
 Ryan> coding practices or whatever, but I do want to follow it
 Ryan> through to getting it included.
The best way is to get a copy of cvs and build your patch with 'cvs
diff' and then post it here and on the sourceforge patches site.
And remind us after a week if we fail to take action!
JDH
From: Ryan K. <rya...@gm...> - 2006年01月13日 03:52:55
This is a fairly dumb question, but is there a documented procedure
somewhere for developing and submitting patches? I had developed a
patch a few months ago to allow people to set the legend properties in
the rc file. It seems this didn't make it into the current version.=20
I recently got an email from someone wanting this feature as well, and
I told them I would follow through with it.
Part of the problem is that I don't have much experience with cvs/svn
beyond checking code out. That is why I am asking for a procedure. I
also don't know if someone needs to look at what I have done and make
sure I am not a total hack (I made some changes to it based on John's
feedback). I will in no way be offended if someone wants to look over
my shoulder, and I don't mind tweaking it to follow better coding
practices or whatever, but I do want to follow it through to getting
it included.
Thanks,
Ryan

Showing 4 results of 4

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