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



Showing 5 results of 5

Chris <ceball@...> writes:
> 
> Hi,
> 
> I posted this same message to matplotlib-users a couple of days ago, but now I
> realize that this list is the more appropriate place.
> 
> I'm having trouble building matplotlib 0.99.1.1 (transcript below). 
> 
> I'm using copies of Python (2.5.1) and Tcl/Tk (8.5.5) that I have
> built myself, and that are apparently working fine. I can use this 
> exact procedure to build 0.91.4 without any problems.
> 
> Any suggestions would be greatly appreciated - thanks!
> 
> Chris
> 
> $ cd matplotlib-0.99.1.1
> $ env PREFIX=/a/b/ LD_LIBRARY_PATH=/a/b/lib /a/b/bin/python setup.py build
I'm not sure what changed in matplotlib between 0.91.4 and 0.99.1.1, but the 
procedure below seems to work for me:
$ tar -xzf matplotlib-0.99.1.1.tar.gz
$ cd matplotlib-0.99.1.1/
$ rm setup.cfg
$ /a/b/bin/python setup.py build_ext -L$/a/b/lib/
$ env PREFIX=/a/b/ LD_LIBRARY_PATH=/a/b/lib /a/b/bin/python setup.py build
Chris
From: Jouni K. S. <jk...@ik...> - 2009年09月30日 14:35:55
Michael Oevermann <mic...@tu...> writes:
> is there a way to use patterns instead of colors for pie and bar
> charts and for filling in general? It would be very useful to have
> this feature for printing (and publishing) in black and white or
> greyscale.
Yes: http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael O. <mic...@tu...> - 2009年09月30日 14:28:39
Hi,
is there a way to use patterns instead of colors for pie and bar charts 
and for
filling in general? It would be very useful to have this feature for 
printing
(and publishing) in black and white or greyscale.
Best regards
Michael
Hi,
I posted this same message to matplotlib-users a couple of days ago, but now I
realize that this list is the more appropriate place.
I'm having trouble building matplotlib 0.99.1.1 (transcript below). 
I'm using copies of Python (2.5.1) and Tcl/Tk (8.5.5) that I have
built myself, and that are apparently working fine. I can use this 
exact procedure to build 0.91.4 without any problems.
Any suggestions would be greatly appreciated - thanks!
Chris
$ cd matplotlib-0.99.1.1
$ env PREFIX=/a/b/ LD_LIBRARY_PATH=/a/b/lib /a/b/bin/python setup.py build
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.99.1.1
 python: 2.5.1 (r251:54863, Feb 5 2009, 13:11:08) [GCC
 4.1.2 20071124 (Red Hat 4.1.2-42)]
 platform: linux2
REQUIRED DEPENDENCIES
 numpy: 1.2.1
 freetype2: 9.10.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.10
 Tkinter: Tkinter: 50704, Tk: 8.5, Tcl: 8.5
 Gtk+: no
 * Building for Gtk+ requires pygtk; you must be able
 * to "import gtk" in your build/install environment
 Mac OS X native: no
 Qt: no
 Qt4: no
 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: matplotlib will provide
 pytz: matplotlib will provide
adding pytz
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.5
 ghostscript: 8.15.2
 latex: 3.141592
 pdftops: 3.00
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.projections',
'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_too\
lkits.axes_grid', 'matplotlib.sphinxext', 'matplotlib.numerix',
'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matp\
lotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array',
'matplotlib.numerix.fft', 'matplotlib.delaunay', 'pytz\
', 'dateutil', 'dateutil/zoneinfo']
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.linux-i686-2.5/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.linux-i686-2.5/matplotlib/mpl-data
running build_ext
building 'matplotlib.backends._tkagg' extension
g++ -pthread -shared build/temp.linux-i686-2.5/src/agg_py_transforms.o
build/temp.linux-i686-2.5/src/_tkagg.o build/temp.\
linux-i686-2.5/CXX/cxx_extensions.o build/temp.linux-i686-2.5/CXX/cxxsupport.o
build/temp.linux-i686-2.5/CXX/IndirectPyth\
onInterface.o build/temp.linux-i686-2.5/CXX/cxxextensions.o -L/usr/lib
-L/usr/lib -L/usr/local/lib -L/usr/lib -L/usr/lib6\
4 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -ltk8.5 -ltcl8.5 -lstdc++ -lm
-lfreetype -lz -lstdc++ -lm -o build/lib.linux-i\
686-2.5/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
make: *** [matplotlib] Error 1
$ ls /a/b/lib/*tk*
lib/libtk8.5.so lib/libtkstub8.5.a lib/tkConfig.sh
...
From: William S. <ws...@gm...> - 2009年09月30日 04:18:11
On Tue, Sep 29, 2009 at 3:07 PM, Barry Scott <ba...@ba...> wrote:
>
> On 28 Sep 2009, at 17:27, William Stein wrote:
>
>> On Mon, Sep 28, 2009 at 9:14 AM, John Hunter <jd...@gm...> wrote:
>>>
>>> On Mon, Sep 28, 2009 at 10:48 AM, William Stein <ws...@gm...> wrote:
>>>>
>>>> If you could just try running your matplotlib build on
>>>> bsd.math.washington.edu and reporting about whether or not it works,
>>>> that would be very helpful, since it will indicate whether the problem
>>>> is somehow in Sage or in pyCXX or Matplotlib itself or something else.
>>>
>>> I was able to build into a mostly clean environment (rebuild all deps
>>> zlip, freetype, png) using my OSX make file in, but I had to update
>>> the MACOSX_DEPLOYMENT_TARGET to 10.6 (I've committed this to svn
>>> HEAD).
>>>
>>>
>>> PREFIX=~/devtest make -f make.osx fetch deps mpl_build mpl_install
>>>
>>> But even simple tests are failing with::
>>>
>>> jdh2358@bsd:~> LD_LIBRARY_PATH=~/devtest/lib/
>>> PYTHONPATH=~/devtest/lib/python2.6/site-packages/ /usr/bin/python -c
>>> 'import matplotlib; matplotlib.use("Agg"); from matplotlib.pyplot
>>> import *; plot([1,2,3]); savefig("test")'
>>> Traceback (most recent call last):
>>> File "<string>", line 1, in <module>
>>> File
>>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/pyplot.py",
>>> line 7, in <module>
>>> from matplotlib.figure import Figure, figaspect
>>> File
>>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/figure.py",
>>> line 16, in <module>
>>> import artist
>>> File
>>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/artist.py",
>>> line 6, in <module>
>>> from transforms import Bbox, IdentityTransform, TransformedBbox,
>>> TransformedPath
>>> File
>>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/transforms.py",
>>> line 34, in <module>
>>> from matplotlib._path import affine_transform
>>> ImportError:
>>> /Users/jdh2358/devtest/lib/python2.6/site-packages/matplotlib/_path.so:
>>> no appropriate 64-bit architecture (see "man python" for running in
>>> 32-bit mode)
>
> This error has nothing to do the PyCXX isn't it a build problem not crating
> a fat binary with -arch x86_64 for _path.so. Use lipo -info to see what is
> inside _path.so.
>
>>>
>>> I'm attaching my build output in case anyone sees anything that might
>>> be triggering this 32bit/64bit problem (see attached for full output).
>>> I did not rebuild numpy and this may be the problem since the failure
>>> is in the _path module. I'll give that a try next
>>
>> I think it's definitely an issue with PyCXX.  I installed the latest
>> version of PyCXX and tried their test example program, and got the
>> dreaded "Abort trap":
>
>
>>
>> bash-3.2$ python
>> Python 2.6.2 (r262:71600, Sep 27 2009, 13:41:53)
>> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>
>>>>> import CXX.example
>>
>> CXX is installed.
>> The support files you need are in the PYTHON/etc/CXX directory.
>> The include files are in the distutils include path already.
>> Just refer to them as "CXX/CXX_Objects.h", etc.
>>
>> range object created 0x1003140b0
>> range object destroyed 0x1003140b0
>>>>>
>>>>> CXX.example.test()
>>
>> Example Test starting
>> Trying to convert a NULL to an Py::Int
>> Abort trap
>
>> bash-3.2$ pwd
>>
>> /Users/was/build/sage-4.1.2.alpha4/spkg/build/matplotlib/trunk/matplotlib/pycxx-6.1.1/Demo/Python2
>>
>> ----
>>
>> Note that installing PyCXX and their test program was not easy. I
>> watched their "python setup.py install" fail repeatedly, then I would
>> copy missing files where they should go, and iterate (about 6 times
>
> I never use the setup.py - I keep trying to delete it from the kits but have
> users want
> it and contribute fixes.
>
> I do not recommend installing PyCXX into a system for a couple of reasons.
>
> On one system you may well end up using more then one version of PyCXX.
> For example one older version of maintenance and a newer version for new
> development.
>
> YOu may have more then one project using PyCXX that need compiler options
> that conflict. If you install PyCXX into the system the object code will be
> wrong
> so some projects.
>
> Your experience is convincing me to delete setup.py to avoid this in future.
>
> However the tests do all work on 10.6. You will need a new make file to use
> Apple's python 2.6.1. The PyCXX 6.1.1 kit does not have one to do this.
>
>
>
>
> Save it to the top of the PyCXX files, where all the other make files are.
>
> Then you can build and run all tests with:
>
> $ make -f example_mac_apple_py26.mak clean test
>
> All the tests will pass without error.
>
> Attached is the log of the build and test on Mac OS X 10.6.1 I ran just now
> to confirm this.
>
>
>
>
>
> I suspect that the PyCXX that you installed with setup.py is not correct.
> I suggest you delete it from out of the system and point directly to the
> headers and C and C++ files you need out of a exploded tarball.
>
> This is what I do for PySVN for example.
>
>>
>>
>> I've cc'd the PyCXX maintainer Barry Scott. Barry, do you have access
>> to an OS X 10.6 install, since it seems PyCXX is broken there? If
>> not, I can give you an account on a machine at University of
>> Washington.  PyCXX is the single component of Sage
>> (http://sagemath.org) that is holding us back from finishing the OS X
>> 10.6 port.
>>
>> -- William
>
> Let me know how else I can help.
Thanks for all your ideas. Inspired by your remarks I tried again
and the first thing I attempted was to take matplotlib's build lines
for building ft2font (which uses PyCXX) and just paste them into my
console instead of letting them be built under setup.py. Amazingly
enough doing that completely fixes all the problems. That suggests
there is something amis with the environment that Python's distutils
and matplotlib create when building ft2font + pyCXX.
My solution for Sage for now will be to rerun those lines explicitly
when building Sage on OS X 10.6, and hope for John Hunter to be able
to replicate the problem and come up with something better in the next
few weeks (or I'll come back to it later).
William

Showing 5 results of 5

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