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





Showing 6 results of 6

From: <bu...@gm...> - 2011年01月31日 10:08:22
Le , Jae-Joon Lee <lee...@gm...> a écrit :
> On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth bu...@gm...> 
> wrote:
> > here are some observations on the mpl legend operation:
> > leg = ax.get_legend() #0 OK. but the recommended way to update a
> > legend seems to be using #1 ?
> > leg = ax.legend() #1 OK
> > leg.draggable(True) #3 enables the legend to be moved with mouse.
> > New in mpl1.0.1. OK
> > leg.set_visible(False) #4 hides legend. OK
> > ax.legend(loc=3) #2 defines a legend location. OK but why no
> > locations outside the plotting area ?
> Legend can be located outside the plotting area, anywhere you want.
> http://matplotlib.sourceforge.net/users/legend_guide.html#legend-location
Good to know.It is a bit more complex than a legend inside the axes though 
as you need to setup a bbox.
btw, there's a typo in the html page: should be bbox_transform instead of 
transform in the doc:
"For example, if you want your axes legend located at the figure corner 
(instead of the axes corner):
l = legend(bbox_to_anchor=(0, 0, 1, 1), transform=gcf().transFigure)"
> > ax.legend(ax.lines) #5 labels are different by default from #1. ??
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend
> If there is a single non-keyword argument, it is treated as a list of 
> labels.
meaning that you always have to fully specify the labels.
> > ax.legend([]) #6 draws an empty square. ??
> To me, the current behavior seems reasonable. What do you expect?
An empty square isn't terribly useful and will likely need to be hidden. 
Could this form be used as to simply get rid of the legend instead ?
From: Ian B. <ib...@pu...> - 2011年01月31日 06:44:01
Ben,
Its the main trunk, svn info is below:
Path: .
URL:
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
Repository Root: https://matplotlib.svn.sourceforge.net/svnroot/matplotlib
Repository UUID: f61c4167-ca0d-0410-bb4a-bb21726e55ed
Revision: 8935
Node Kind: directory
Schedule: normal
Last Changed Author: pivanov314
Last Changed Rev: 8935
Last Changed Date: 2011年01月24日 04:41:49 -0500 (2011年1月24日)
Ian
----
Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ib...@pu...
cell: (607)227-7626
On Mon, Jan 31, 2011 at 1:36 AM, Benjamin Root <ben...@ou...> wrote:
> On Sunday, January 30, 2011, Ian Bell <ib...@pu...> wrote:
> > Ben,
> > I'm building with the freshest subversion build of MPL with Sphinx 1.0.7
> and Windows XP. I'd be happy to give you any other information that you
> need, just let me know.
> >
> >
> > Ian----
> > Ian Bell
> > Graduate Research Assistant
> > Herrick Labs
> > Purdue University
> > email: ib...@pu...
> > cell: (607)227-7626
> >
>
> From which branch? The development branch or the maintenance branch?
> If you aren't sure, just paste the results of 'svn info' (or whatever
> equivalent in your windows svn client).
>
> Ben Root
>
From: Benjamin R. <ben...@ou...> - 2011年01月31日 06:36:22
On Sunday, January 30, 2011, Ian Bell <ib...@pu...> wrote:
> Ben,
> I'm building with the freshest subversion build of MPL with Sphinx 1.0.7 and Windows XP. I'd be happy to give you any other information that you need, just let me know.
>
>
> Ian----
> Ian Bell
> Graduate Research Assistant
> Herrick Labs
> Purdue University
> email: ib...@pu...
> cell: (607)227-7626
>
>From which branch? The development branch or the maintenance branch?
If you aren't sure, just paste the results of 'svn info' (or whatever
equivalent in your windows svn client).
Ben Root
From: Ian B. <ib...@pu...> - 2011年01月31日 04:47:52
Ben,
I'm building with the freshest subversion build of MPL with Sphinx 1.0.7 and
Windows XP. I'd be happy to give you any other information that you need,
just let me know.
Ian
----
Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ib...@pu...
cell: (607)227-7626
On Sun, Jan 30, 2011 at 11:34 PM, Benjamin Root <ben...@ou...> wrote:
> On Sunday, January 30, 2011, Ian Bell <ib...@pu...> wrote:
> > I have built the sphinx sampledoc tutorial without problems on Ubuntu and
> OSX, but I'm having problems on Windows. I have filed a bug regarding the
> problems I am having with the plot directive. For some reason the
> hyperlinks to the PDF and get messed up on windows, but are fine on OSX and
> Ubuntu. I have to run a virtual machine just to compile my documentation.
> Needless to say, not optimal. I attached a screenshot with the messed up
> links, and I have posted the build errors I get that I think are related to
> the problems with the plot directive. I have the same problem in my own
> documentation that I am building on my own plotting module based on MPL.
> >
> >
> > D:\My_Documents\sampledoc_tut2\extensions.rst:: (ERROR/3) Anonymous
> hyperlink mismatch: 5 references but 0 targets.See "backrefs" attribute for
> IDs.
> >
> > process_begin: CreateProcess(NULL, echo, ...) failed.
> > make (e=2): The system cannot find the file specified.make: *** [html]
> Error 2
> >
> > ----
> > Ian Bell
> > Graduate Research Assistant
> > Herrick Labs
> > Purdue University
> > email: ib...@pu...
> > cell: (607)227-7626
> >
> >
>
> Curious, there are forward slashes in those links. Which version of
> mpl are you building documentation for?
>
> Ben Root
>
From: Benjamin R. <ben...@ou...> - 2011年01月31日 04:34:24
On Sunday, January 30, 2011, Ian Bell <ib...@pu...> wrote:
> I have built the sphinx sampledoc tutorial without problems on Ubuntu and OSX, but I'm having problems on Windows. I have filed a bug regarding the problems I am having with the plot directive. For some reason the hyperlinks to the PDF and get messed up on windows, but are fine on OSX and Ubuntu. I have to run a virtual machine just to compile my documentation. Needless to say, not optimal. I attached a screenshot with the messed up links, and I have posted the build errors I get that I think are related to the problems with the plot directive. I have the same problem in my own documentation that I am building on my own plotting module based on MPL.
>
>
> D:\My_Documents\sampledoc_tut2\extensions.rst:: (ERROR/3) Anonymous hyperlink mismatch: 5 references but 0 targets.See "backrefs" attribute for IDs.
>
> process_begin: CreateProcess(NULL, echo, ...) failed.
> make (e=2): The system cannot find the file specified.make: *** [html] Error 2
>
> ----
> Ian Bell
> Graduate Research Assistant
> Herrick Labs
> Purdue University
> email: ib...@pu...
> cell: (607)227-7626
>
>
Curious, there are forward slashes in those links. Which version of
mpl are you building documentation for?
Ben Root
From: Jae-Joon L. <lee...@gm...> - 2011年01月31日 04:28:09
On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth <bu...@gm...> wrote:
> When plotting interactively is it actually possible to update the
> legend with the current plots while retaining the previous legend
> settings (position, visibility, etc.) ?
>
I think it is possible, but will be quite difficult to do for a normal
user. I may try to add some method that can ease this.
> here are some observations on the mpl legend operation:
> leg = ax.get_legend()  #0 OK. but the recommended way to update a
> legend seems to be using #1 ?
> leg = ax.legend()    #1 OK
> leg.draggable(True)   #3 enables the legend to be moved with mouse.
> New in mpl1.0.1. OK
> leg.set_visible(False) #4 hides legend. OK
> ax.legend(loc=3)    #2 defines a legend location. OK but why no
> locations outside the plotting area ?
Legend can be located outside the plotting area, anywhere you want.
http://matplotlib.sourceforge.net/users/legend_guide.html#legend-location
> ax.legend(ax.lines)   #5 labels are different by default from #1. ??
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend
If there is a single non-keyword argument, it is treated as a list of labels.
> ax.legend([])      #6 draws an empty square. ??
To me, the current behavior seems reasonable. What do you expect?
> leg._loc:        #7 allows you to know the legend location. in
> #2 value is int, in #3 value is a tuple (if the legend has been moved)
> OK but why is the attribute private ?
>
I guess this is a valid point. I'll add a public interface to access this value.
> What to exclude from a legend :
> Objects without an explicit label (labels starting with _) #8. OK
> Objects that are not in the viewing area    #9. should be default
> behavior ??
> Objects that are not set visible        #10. should be default
> behavior ??
For #9, I don't think there is an exact algorithm to check if a path
is inside the viewing are or not when cubic splines are involved. If
there is (and that algorithm is feasible), we may consider making that
a default behavior. Otherwise, I'm not inclined to include a partial
solution.
For #10, I'll make it a default behavior if there is no objection.
Regards,
-JJ
>
> --
> thanks,
> peter butterworth
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a 49ドル USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
1 message has been excluded from this view by a project administrator.

Showing 6 results of 6

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