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





Showing results of 161

<< < 1 .. 5 6 7 (Page 7 of 7)
From: Mike K. <mc...@gm...> - 2011年02月06日 16:59:40
The help for xlim() says:
 Set/Get the xlimits of the current axes::
 xmin, xmax = xlim() # return the current xlim
 xlim( (xmin, xmax) ) # set the xlim to xmin, xmax
 xlim( xmin, xmax ) # set the xlim to xmin, xmax
but it also has the unexpected behavior of turning off autoscaling if used:
-----
import matplotlib.pyplot as plt
plt.clf()
ax = plt.subplot(211)
plt.draw()
print 'autoscale X on: ',ax._autoscaleXon,' xlim: ',plt.xlim()
ax.plot([0,.5,1,1.5,2],[0,1,0,1,0])
plt.draw()
print 'autoscale X on: ',ax._autoscaleXon,' xlim: ',ax.get_xlim(),'\n'
ax = plt.subplot(212)
plt.draw()
print 'autoscale X on: ',ax._autoscaleXon,' xlim: ',ax.get_xlim()
plt.plot([0,.5,1,1.5,2],[0,1,0,1,0])
plt.draw()
print 'autoscale X on: ',ax._autoscaleXon,' xlim: ',ax.get_xlim(),'\n'
-----
returns:
 >>> import xlim_unautoscale
autoscale X on: True xlim: (0.0, 1.0)
autoscale X on: False xlim: (0.0, 1.0)
autoscale X on: True xlim: (0.0, 1.0)
autoscale X on: True xlim: (0.0, 2.0)
I assume that this is because xlim() calls set_xlim() which has 
auto=False as a default keyword...
expected behavior: xlim() should behave exactly like get_xlim()
ditto for ylim()
M
From: Fernando G. B. <fg...@ee...> - 2011年02月03日 17:30:53
I'll stay on the lookout for the github py3k branch and will do as
suggested. Thanks for the update.
-- Fernando
On Thu, Feb 3, 2011 at 06:05, Michael Droettboom <md...@st...> wrote:
> On 02/03/2011 07:48 AM, Darren Dale wrote:
>> On Thu, Feb 3, 2011 at 12:12 AM, Fernando Garcia Bermudez
>> <mo...@gm...> wrote:
>>
>>> Before continuing the debug process, though, I wanted to check with
>>> someone knowledgeable of this branch regarding its current status. Is
>>> it possible to compile matplotlib on python3?
>>>
>> Mike D. did some initial work for py3 support a while back. I don't
>> know what platform he was working on, but he was able to produce a
>> simple plot, maybe running the simple_plot demo.
>>
> I was working on Linux (RHEL5), and never got past that platform.
>
> Mike
>
> --
> Michael Droettboom
> Science Software Branch
> Space Telescope Science Institute
> Baltimore, Maryland, USA
>
>
> ------------------------------------------------------------------------------
> 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
>
From: Michael D. <md...@st...> - 2011年02月03日 14:05:40
On 02/03/2011 07:48 AM, Darren Dale wrote:
> On Thu, Feb 3, 2011 at 12:12 AM, Fernando Garcia Bermudez
> <mo...@gm...> wrote:
> 
>> Before continuing the debug process, though, I wanted to check with
>> someone knowledgeable of this branch regarding its current status. Is
>> it possible to compile matplotlib on python3?
>> 
> Mike D. did some initial work for py3 support a while back. I don't
> know what platform he was working on, but he was able to produce a
> simple plot, maybe running the simple_plot demo.
> 
I was working on Linux (RHEL5), and never got past that platform.
Mike
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
From: Darren D. <dsd...@gm...> - 2011年02月03日 12:48:17
On Thu, Feb 3, 2011 at 12:12 AM, Fernando Garcia Bermudez
<mo...@gm...> wrote:
> Before continuing the debug process, though, I wanted to check with
> someone knowledgeable of this branch regarding its current status. Is
> it possible to compile matplotlib on python3?
Mike D. did some initial work for py3 support a while back. I don't
know what platform he was working on, but he was able to produce a
simple plot, maybe running the simple_plot demo.
I understand there is still plenty of work to do, and some of the devs
recently discussed it off list. In the next couple of days, I should
be able to finish converting the svn/sourceforge repository over to
git/github, which will make it easier for some (like me) to contribute
to different branches of development. My plan is to rebase the py3k
branch so we have a more recent point of reference, and I will
probably split the py3k branch into its own repository. I'd like to
suggest you clone that repository once it is available, apply your
changes in a new branch, and file a pull request on github.
Darren
From: Fernando G. B. <mo...@gm...> - 2011年02月03日 05:13:12
Attachments: make.osx.diff
[Resending in plain text, for better archiving]
I stumbled across this post on the matplotlib-users archives
(http://www.mailinglistarchive.com/html/mat...@li.../2010-09/msg00359.html)
that linked to the py3k branch. After doing a checkout, though, I ran
into issues running the make.osx script as the README.osx recommends
doing. Since I'm assuming I cannot commit any changes to the branch,
let me comment on the few changes that enabled me to compile the
dependencies so far.
Because I wanted to compile matplotlib for Python 3, I initially
changed the 4th line to:
PYVERSION=3.1
Apparently urllib changed a bit from python 2 to 3, so I had to change
all calls to it to urllib.request, which resulted in the following
changes to lines 34-37:
  ${PYTHON} -c 'import urllib.request;
urllib.request.urlretrieve("http://sourceforge.net/projects/libpng/files/zlib/${ZLIBVERSION}/zlib-${ZLIBVERSION}.tar.gz/download",
"zlib-${ZLIBVERSION}.tar.gz")' &&\
  ${PYTHON} -c 'import urllib.request;
urllib.request.urlretrieve("http://sourceforge.net/projects/libpng/files/libpng12/older-releases/${PNGVERSION}/libpng-${PNGVERSION}.tar.gz/download",
"libpng-${PNGVERSION}.tar.gz")' &&\
  ${PYTHON} -c 'import urllib.request;
urllib.request.urlretrieve("http://download.savannah.gnu.org/releases/freetype/freetype-${FREETYPEVERSION}.tar.bz2",
"freetype-${FREETYPEVERSION}.tar.bz2")'
Note that I also updated the links for zlib and libpng. The original
zlib link worked, but I couldn't find the sourceforge project (the url
seemed to be old), so I updated it to the one distributed through
libpng's project nowadays (which is what the other seems to have been,
anyway). For libpng, though, the previous link didn't work and instead
of giving an error when downloading, it just created a file that
couldn't be uncompressed. Changing these three lines above enabled the
download and proper compilation of all deps.
I also bumped into a minor typo on line 25, that caused clean not to
delete the downloaded libpng tarball:
  rm -rf zlib-${ZLIBVERSION}.tar.gz libpng-${PNGVERSION}.tar.gz \
After making all these changes, though, the compilation broke when
either making mpl_build or mpl_install.
Before continuing the debug process, though, I wanted to check with
someone knowledgeable of this branch regarding its current status. Is
it possible to compile matplotlib on python3? If so, what are the
limitations to its capabilities?
Thanks so much for your time,
-- Fernando
P.S.: I'm attaching a diff with all these changes for convenience.
From: Ian B. <ib...@pu...> - 2011年02月02日 03:39:36
Ben,
I had a thought about what you noticed with the paths, so I got in there and
modified plot_directive.py to replace all the '/' with os.sep, but it didn't
seem to do anything. All the links were still broken even though it seems
like they all point to the right places. A problem of absolute versus
relative paths? The paths to the inline plots all seem to take absolute
paths and the RST links are relative.
Ian
----
Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ib...@pu...
cell: (607)227-7626
On Mon, Jan 31, 2011 at 1:43 AM, Ian Bell <ib...@pu...> wrote:
> 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: Nicolas R. <Nic...@in...> - 2011年02月01日 20:05:55
I'm currently trying to add all remaining high level api into freetype-py so FT_Get_Sfnt_Name should be in a few hours hopefully.
If I forgot to add other useful functions, just tell me.
The agg-trick.py is very similar from what I found in ft2font in matploltib: setting a resolution at (10*dpi, dpi) and a transform matri =(.1,0,0,1).
One output is available on: http://www.loria.fr/~rougier/coding/freetype/agg-trick.png
(This is with subpixel antialias)
I will also integrate the ft_utils within freetype-py.
Nicolas
On Feb 1, 2011, at 8:36 PM, Michael Droettboom wrote:
> I've made a basic first crack at this.
> 
> Thanks to your examples, it was really easy to get basic text rendering with matplotlib's Agg backend (the other backends will need to be updated accordingly, and they may be more involved since they actually need to extract curves). I've made an SVN branch for this here: (I know, I know, git would make this easier, but afaik we're not quite there yet...)
> 
> https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/ctypes_freetype
> 
> This doesn't use the Agg tricks rendering (finer grained hinting in the horizontal direction etc.) so it's a little lower quality than matplotlib trunk right now. However, your agg-tricks.py example certainly shows the way forward to making that work. I've tried to localise all of the higher-level stuff in freetype_util.py (in matplotlib) to make this easier. It may also make sense to put this kind of higher-level (but extremely common) functionality in freetype-py itself.
> 
> The next stumbling block to removing the existing wrapper is the FT_Get_Sfnt_Name API which doesn't seem to be in your ctypes wrappers. This is used to extract metadata about the fonts and build the font cache table etc. Hopefully it's simple to add this?
> 
> Mike
> 
> On 02/01/2011 10:53 AM, Nicolas Rougier wrote:
>> 
>> 
>> 
>> Hi all,
>> 
>> I've bound (part of) the high-level API of freetype using ctypes.
>> 
>> I don't know if it might be useful for matplotib text rendering but just in case:
>> http://code.google.com/p/freetype-py/
>> 
>> 
>> 
>> Nicolas
>> 
>> ------------------------------------------------------------------------------
>> 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
> 
From: Darren D. <dsd...@gm...> - 2011年02月01日 19:43:31
On Tue, Feb 1, 2011 at 2:36 PM, Michael Droettboom <md...@st...> wrote:
> I've made a basic first crack at this.
>
> Thanks to your examples, it was really easy to get basic text rendering with
> matplotlib's Agg backend (the other backends will need to be updated
> accordingly, and they may be more involved since they actually need to
> extract curves). I've made an SVN branch for this here: (I know, I know,
> git would make this easier, but afaik we're not quite there yet...)
>
> https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/ctypes_freetype
I've added this to the list of branches to be converted to the git repo.
From: Michael D. <md...@st...> - 2011年02月01日 19:37:34
I've made a basic first crack at this.
Thanks to your examples, it was really easy to get basic text rendering 
with matplotlib's Agg backend (the other backends will need to be 
updated accordingly, and they may be more involved since they actually 
need to extract curves). I've made an SVN branch for this here: (I 
know, I know, git would make this easier, but afaik we're not quite 
there yet...)
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/ctypes_freetype
This doesn't use the Agg tricks rendering (finer grained hinting in the 
horizontal direction etc.) so it's a little lower quality than 
matplotlib trunk right now. However, your agg-tricks.py example 
certainly shows the way forward to making that work. I've tried to 
localise all of the higher-level stuff in freetype_util.py (in 
matplotlib) to make this easier. It may also make sense to put this 
kind of higher-level (but extremely common) functionality in freetype-py 
itself.
The next stumbling block to removing the existing wrapper is the 
FT_Get_Sfnt_Name API which doesn't seem to be in your ctypes wrappers. 
This is used to extract metadata about the fonts and build the font 
cache table etc. Hopefully it's simple to add this?
Mike
On 02/01/2011 10:53 AM, Nicolas Rougier wrote:
>
>
> Hi all,
>
> I've bound (part of) the high-level API of freetype using ctypes.
>
> I don't know if it might be useful for matplotib text rendering but 
> just in case:
> http://code.google.com/p/freetype-py/
>
>
>
> Nicolas
>
>
> ------------------------------------------------------------------------------
> 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
From: Michael D. <md...@st...> - 2011年02月01日 16:59:10
Thanks for doing this! There was certainly nothing like this last time 
I looked.
I'll look further into whether this is a useful replacement for the 
domain-specific freetype wrappers in matplotlib now...
Cheers,
Mike
On 02/01/2011 10:53 AM, Nicolas Rougier wrote:
>
>
> Hi all,
>
> I've bound (part of) the high-level API of freetype using ctypes.
>
> I don't know if it might be useful for matplotib text rendering but 
> just in case:
> http://code.google.com/p/freetype-py/
>
>
>
> Nicolas
>
>
> ------------------------------------------------------------------------------
> 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
From: Nicolas R. <Nic...@in...> - 2011年02月01日 15:53:55
Hi all,
I've bound (part of) the high-level API of freetype using ctypes.
I don't know if it might be useful for matplotib text rendering but just in case:
http://code.google.com/p/freetype-py/
Nicolas
4 messages has been excluded from this view by a project administrator.

Showing results of 161

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