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





Showing 12 results of 12

From: Stéfan v. d. W. <st...@su...> - 2009年11月03日 21:26:46
2009年11月3日 John Hunter <jd...@gm...>:
> Perhaps you can file a bug report on the tracker so Michiel can look into it?
Here we go:
https://sourceforge.net/tracker/?func=detail&aid=2891502&group_id=80706&atid=560720
Cheers
Stéfan
From: Eric F. <ef...@ha...> - 2009年11月03日 21:06:57
jas...@cr... wrote:
> How hard would it be to extend the quiver command to support curved 
> arrows? For example, the U and V arrays, instead of giving just the 
> vector, could for each vector give a list of x coordinates and a list of 
> y coordinates for each segment of a vector. Additionally, C could give 
> either a color for the curved vector, or a list of colors for each 
> segment of the vector.
Very hard. I would recommend starting from scratch with a new class. I 
think that very little of the present Quiver code would be usable.
Eric
From: <jas...@cr...> - 2009年11月03日 19:47:09
How hard would it be to extend the quiver command to support curved 
arrows? For example, the U and V arrays, instead of giving just the 
vector, could for each vector give a list of x coordinates and a list of 
y coordinates for each segment of a vector. Additionally, C could give 
either a color for the curved vector, or a list of colors for each 
segment of the vector.
Thanks,
Jason
Hi folks,
if you reside in the San Francisco Bay Area, you may be interested in
a meeting we'll be having tomorrow November 4 (2-4 pm), as part of our
regular py4science meeting series. Guido van Rossum, the creator of
the Python language, will visit for a session where we will first do a
very rapid overview of a number of scientific projects that use Python
(in a lightning talk format) and then we will have an open discussion
with Guido with hopefully interesting questions going in both
directions. The meeting is open to all, bring your questions!
More details on this seminar series (including location) can be found here:
https://cirl.berkeley.edu/view/Py4Science
Cheers,
f
From: John H. <jd...@gm...> - 2009年11月03日 16:01:24
2009年11月3日 Stéfan van der Walt <st...@su...>:
> Hi JJ
>
> 2009年11月2日 Jae-Joon Lee <lee...@gm...>:
>> I now think this is not the dpi issue.
>> Can you check the size of your figure in mac os X backend, after the
>> plot is drawn?
>>
>> print f.get_size_inches()
>>
>> 8x6 inch is the default.
>
> It says [4, 2.52], so I think you are right!
>
>> So, my recommendation is to use smaller dpi for screen display
>> (default is something like 80), and increase the dpi when saving the
>> figure ("savefig" has a dpi parameter).
>
> This fixes the problem. Now, why does the MacOSX end do this when
> none of the others do?
>
> Thanks for helping me track this down!
Perhaps you can file a bug report on the tracker so Michiel can look into it?
Thanks,
JDH
From: John H. <jd...@gm...> - 2009年11月03日 15:59:46
On Mon, Nov 2, 2009 at 4:59 PM, Matthew West <mw...@il...> wrote:
> Hi,
>
> The PolyCollection class currently closes the path for each polygon by
> adding a last point the same as the first point. This means that the
> line joins will be different on this point. I've submitted a patch to
> make PolyCollection use Path.CLOSEPOLY to close the path, which makes
> the line joins on the stroking correct.
>
> See https://sourceforge.net/tracker/?func=detail&aid=2890979&group_id=80706&atid=560722
>
> There is also a small test script and the current and expected output
> attached to the above tracker entry.
>
> Please let me know if there is some other way this should be fixed.
>
Project Admin
Hide
I attempted to apply this but it triggered three regression test failures --
this may be simply because the regression test is expecting a different
number of verts in the simplification tests, but I am going to assign this
to Michael, who wrote the tests, so he can update the tests and the patch
at the same time
For future patches, if possible, please submit an svn diff as these are
easier to apply.
Thanks,
JDH
======================================================================
FAIL: matplotlib.tests.test_simplification.test_noise
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/app/g++lib6/python-2.4.5/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File
"/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/tests/test_simplification.py",
line 72, in test_noise
assert len(simplified) == 2675
AssertionError
======================================================================
FAIL: matplotlib.tests.test_simplification.test_sine_plus_noise
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/app/g++lib6/python-2.4.5/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File
"/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/tests/test_simplification.py",
line 89, in test_sine_plus_noise
assert len(simplified) == 628
AssertionError
======================================================================
FAIL: matplotlib.tests.test_simplification.test_start_with_moveto
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/app/g++lib6/python-2.4.5/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File
"/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/tests/test_simplification.py",
line 166, in test_start_with_moveto
assert segs[0][1] == Path.MOVETO
AssertionError
----------------------------------------------------------------------
Ran 107 tests in 74.927s
FAILED (KNOWNFAIL=34, errors=3, failures=3)
From: Stéfan v. d. W. <st...@su...> - 2009年11月03日 15:47:08
Hi JJ
2009年11月2日 Jae-Joon Lee <lee...@gm...>:
> I now think this is not the dpi issue.
> Can you check the size of your figure in mac os X backend, after the
> plot is drawn?
>
> print f.get_size_inches()
>
> 8x6 inch is the default.
It says [4, 2.52], so I think you are right!
> So, my recommendation is to use smaller dpi for screen display
> (default is something like 80), and increase the dpi when saving the
> figure ("savefig" has a dpi parameter).
This fixes the problem. Now, why does the MacOSX end do this when
none of the others do?
Thanks for helping me track this down!
Stéfan
From: Jae-Joon L. <lee...@gm...> - 2009年11月03日 14:51:26
Attachments: demo_text_path2.py
On Tue, Nov 3, 2009 at 4:23 AM, tcb <the...@gm...> wrote:
> and if I convert the dvi with dvipng, it all seems in order
> (demo_text_path_tex.png). I haven't looked closely into how the textpath
> stuff works, but I thought it would read the dvi as a path, and display that
> on the screen- if that is correct then I dont know how it ends up displaying
> a different symbol from what is in the dvi file.
Well, dvi files only contains the name of the tex font. What textpath
does is to pick up corresponding type I font and convert them to path
using the freetype library (as far as I know, this is what dvipng and
matplotlib pdf backend does). So, my guess is that, textpath is
somehow picking up wrong fonts, or wrong glyphs.
The code works fine at least in my mac os X tiger w/ texlive 2008, and
in ubuntu with texlive 2007.
As I don't have any access to mac os X 10.6, it would be hard to track
down what is wrong. Here are a few more test I wish you to run.
*) Check if pdf backend produces a correct result. Do not use textpath
example, but simply use text command with usetex=True, and see if the
pdf output is okay. FWIW, the textpath code is largely borrowed from
the pdfbackend.
*) Run the attached code, and post the terminal output. The output is
basically the name of the tex font and the name of the substituted
type1 font, etc. For your reference, here is my output.
texname, type1name, enc, char_id
cmex10 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmex10.pfb
None CMEX10-34
cmsy10 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmsy10.pfb
None CMSY10-49
cmex10 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmsy10.pfb
None CMEX10-88
cmmi12 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmmi12.pfb
None CMMI12-110
cmr17 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMR17-61
cmr17 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMR17-49
cmsy10 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMSY10-0
cmmi12 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMMI12-101
cmmi12 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMMI12-105
cmmi12 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMMI12-25
cmr17 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMR17-50
cmmi12 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMMI12-110
cmex10 /usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr17.pfb
None CMEX10-35
pncr8r /usr/local/texlive/2008/texmf-dist/fonts/type1/urw/ncntrsbk/uncr8a.pfb
/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/base/8r.enc
Century%20Schoolbook%20L%20Roman-232
Regards,
-JJ
From: Michael D. <md...@st...> - 2009年11月03日 14:05:33
No problem. Many of the developers don't follow the tracker as closely 
as the mailing list. I'll look at this bug later today.
Cheers,
Mike
Robert Schroll wrote:
> Dear all,
>
> I hope this isn't considered gauche, but:
>
> A few weeks ago, I added a bug [1] I had found when saving figures from 
> the toolbar with a WX-based backend. I think it's a simple issue, and I 
> included the simple fix that worked for me. Since then there's been no 
> apparent activity on it. Is there something more I need to do on it?
>
> If someone is already taking care of it, I apologize for hassling you. 
> But if the fix is as simple as I think it is, it would be a shame to 
> have it fall through the cracks.
>
> Thanks,
> Robert
>
> [1]https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2880836&group_id=80706
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jae-Joon L. <lee...@gm...> - 2009年11月03日 04:12:35
Thanks for the report.
And I wonder if you can provide us some more details of your
configuration and do some more tests.
1) You're not using usetex mode, correct?
2) Does your mathtext work fine otherwise? I mean, with the ordinary
text command, not the textpath example.
Regards,
-JJ
On Mon, Nov 2, 2009 at 2:45 PM, tcb <the...@gm...> wrote:
> Hi,
>
> I am running the svn version of matplotlib on a mac (OSX 10.6 with latest
> macports), and there is a problem with the output from demo_text_path.py. It
> does give the correct output on linux, so I assume the problem is either
> with the installed fonts on the mac, or with the mathtext code (in
> particular the tables in _mathtext_data.py). From the output, you can see
> that the text is correct in the upper subplot, but in the lower one, where
> is uses mathematical symbols, it is garbled. I get the same output for
> different backends (I have checked with macosx, GTKAgg and pdf).
>
>
> If I can help to figure out the problem, please let me know,
>
> regards,
>
> tcb
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Robert S. <rsc...@gm...> - 2009年11月03日 03:43:10
Dear all,
I hope this isn't considered gauche, but:
A few weeks ago, I added a bug [1] I had found when saving figures from 
the toolbar with a WX-based backend. I think it's a simple issue, and I 
included the simple fix that worked for me. Since then there's been no 
apparent activity on it. Is there something more I need to do on it?
If someone is already taking care of it, I apologize for hassling you. 
But if the fix is as simple as I think it is, it would be a shame to 
have it fall through the cracks.
Thanks,
Robert
[1]https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2880836&group_id=80706
From: Wayne W. <way...@gm...> - 2009年11月03日 02:16:41
Hi,
I was following the directions found here:
http://old.nabble.com/ImportError:-No-module-named-mplot3d-td24291309.html
which consists of:
svn co
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
matplotlib
python setup.py install
-when I executed that last command I get the following:
wayne@x61:matplotlib$ sudo python setup.py install
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 1.0.svn
 python: 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC
 4.3.3]
 platform: linux2
REQUIRED DEPENDENCIES
 numpy: 1.3.0
 freetype2: 9.20.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.27
 Tkinter: Tkinter: 70220, Tk: 8.5, Tcl: 8.5
 wxPython: no
 * WXAgg's accelerator requires `wx-config'. The
 * `wx-config' executable could not be located in any
 * directory of the PATH environment variable. If you
 * want to build WXAgg, and wx-config is in some
 * other location or has some other name, set the
 * WX_CONFIG environment variable to the full path of
 * the executable like so: export WX_CONFIG=/usr/lib
 * /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config
 Gtk+: gtk+: 2.16.1, glib: 2.20.1, pygtk: 2.14.1,
 pygobject: 2.16.1
 Mac OS X native: no
 Qt: no
 Qt4: no
 Cairo: 1.4.12
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: 1.4.1
 pytz: 2008h
OPTIONAL USETEX DEPENDENCIES
 dvipng: no
 ghostscript: 8.64
 latex: 3.141592
 pdftops: 0.10.5
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.projections',
'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests',
'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid',
'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', '
matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
'matplotlib.delaunay']
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.linux-i686-2.6/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.linux-i686-2.6/matplotlib/mpl-data
running build_ext
building 'matplotlib.backends._tkagg' extension
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-i686-2.6/src/agg_py_transforms.o
build/temp.linux-i686-2.6/src/_tkagg.o
build/temp.linux-i686-2.6/CXX/cxx_extensions.o
build/temp.linux-i686-2.6/CXX/cxxsupport.o
build/temp.linux-i686-2.6/CXX/IndirectPythonInterface.o
build/temp.linux-i686-2.6/CXX/cxxextensions.o -L/usr/local/lib
-L/usr/local/lib -ltk8.5 -ltcl8.5 -lstdc++ -lm -lfreetype -lz -lstdc++ -lm
-o build/lib.linux-i686-2.6/matplotlib/backends/_tkagg.so
/usr/bin/ld: cannot find -ltk8.5
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
I've searched for the ltk8.5 error on google and wasn't able to find
anything that helped. One that looked promising but failed to help:
http://old.nabble.com/Building-matplotlib-0.99.1.1:-cannot-find--ltk8.5-(whereas-0.91.4-works)-td25677275.html#a25677275
I really want the mpl_toolkits.mplot3d library...
Thanks for any help,
Wayne
1 message has been excluded from this view by a project administrator.

Showing 12 results of 12

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