You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(35) |
2
(15) |
3
(16) |
4
(3) |
5
(1) |
|
6
(1) |
7
(11) |
8
(10) |
9
(13) |
10
(24) |
11
(21) |
12
(10) |
|
13
(2) |
14
(24) |
15
(20) |
16
(36) |
17
(13) |
18
(6) |
19
(4) |
|
20
(2) |
21
(11) |
22
(13) |
23
(7) |
24
(10) |
25
(7) |
26
(12) |
|
27
(2) |
28
(6) |
29
(20) |
30
(9) |
31
(39) |
|
|
|
From: Laurent D. <lau...@gm...> - 2008-07-29 23:52:45
|
Hi guys, continuing exploring matplotlib capabilities J
I've applied the idea you've said later about colormap.
Now I would like on an event to refresh my view so I've written this code:
.
def InitCode(self):
.
self.norm = plt.Normalize(vmin=0, vmax=255)
self.cmap = cm.jet
im_full = full_sonar.imshow( z, aspect= 'auto', cmap=self.cmap,
norm=self.norm, interpolation='quadric')
im_zoom = zoomed_sonar.imshow( z, aspect= 'auto',cmap=self.cmap,
norm=self.norm, interpolation='quadric')
self.fig.colorbar(im_full,cax=cax,orientation='vertical',extend='both')
self.im_full = im_full
self.im_zoom = im_zoom
.
def updateSonarView(self):
self.im_full.set_cmap(self.cmap)
self.im_zoom.set_cmap(self.cmap)
self.im_full.set_norm(self.norm)
self.im_zoom.set_norm(self.norm)
self.fig.canvas.draw()
def OnUpdateButton(self, event):
self.low_clutter_val = self.clutter_low.GetPosition()
self.high_clutter_val = self.clutter_high.GetPosition()
self.norm = plt.Normalize(vmin=self.low_clutter_val,
vmax=self.high_clutter_val)
self.updateSonarView()
But I get this error from the lib :
Traceback (most recent call last):
File "./Filters\A1Filter.py", line 183, in OnUpdateButton
self.updateSonarView()
File "./Filters\A1Filter.py", line 157, in updateSonarView
self.im_full.set_norm(self.norm)
File "C:\Python25\Lib\site-packages\matplotlib\cm.py", line 129, in
set_norm
self.changed()
File "C:\Python25\Lib\site-packages\matplotlib\image.py", line 123, in
changed
cm.ScalarMappable.changed(self)
File "C:\Python25\Lib\site-packages\matplotlib\cm.py", line 174, in
changed
self.callbacksSM.process('changed', self)
File "C:\Python25\Lib\site-packages\matplotlib\cbook.py", line 152, in
process
func(*args, **kwargs)
File "C:\Python25\Lib\site-packages\matplotlib\figure.py", line 1028, in
on_changed
cb.update_bruteforce(m)
File "C:\Python25\Lib\site-packages\matplotlib\colorbar.py", line 649, in
update_bruteforce
self.draw_all()
File "C:\Python25\Lib\site-packages\matplotlib\colorbar.py", line 221, in
draw_all
self._process_values()
File "C:\Python25\Lib\site-packages\matplotlib\colorbar.py", line 458, in
_process_values
b = self.norm.inverse(self._uniform_y(self.cmap.N+1))
File "C:\Python25\Lib\site-packages\matplotlib\colors.py", line 652, in
inverse
return vmin + val * (vmax - vmin)
File "C:\Python25\Lib\site-packages\numpy\ma\core.py", line 1686, in
__mul__
return multiply(self, other)
File "C:\Python25\Lib\site-packages\numpy\ma\core.py", line 503, in
__call__
result = self.f(d1, d2, *args, **kwargs).view(get_masked_subclass(a,b))
ValueError: shape mismatch: objects cannot be broadcast to a single shape
UpdateSonarview works flawlessly if I modify the colormap (self.cmap) and
call it then.
If I modify self.norm and call UpdateSonarView I get this crash.
Is it a bug from my bad usage of the lib? If not, I can perhaps send you a
stripped down file showing the problem?
Using matplotlib 0.98.1 under windows.
Laurent
|
|
From: Tim M. <tim...@gm...> - 2008-07-29 21:55:45
|
Hello Jeff, I just wanna give feedback on what got me going here: #### data preparation ### data is loaded from a CSV file ### lats = y # data[:,0] ## lon => x lons = x # data[:,1] ## values => z values = z #data[:,2] ### lat_uniq = list(set(lats.tolist())) nlats = len(lat_uniq) lon_uniq = list(set(lons.tolist())) nlons = len(lon_uniq) color_map = plt.cm.spectral print lats.shape, nlats, nlons yre = lats.reshape(nlats,nlons) xre = lons.reshape(nlats,nlons) zre = values.reshape(nlats,nlons) #### later in the defined map CT = m.contourf(xre, yre, zre, cmap=color_map) Of course, this can be simplified. But, really, in the end the solution was just simple and I hadn't thought of it... If you want I can try to create a short example for the distribution. Thanks for your help again, Timmie |
|
From: Eric F. <ef...@ha...> - 2008-07-29 19:52:29
|
Travis Ruthenburg wrote: > I'm new to matplotlib and was hoping someone could point me in the > right direction for making a waterfall plot, similar to MATLAB's > 'waterfall'. > > I'd like to plot a series of 2-D spectra staggered by time. Travis, I presume you are handling the calculation of spectra, and the question is really about plotting offset lines. We do not have the 3-D type plot illustrated here: http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/waterfall.html&http://www.mathworks.com/cgi-bin/texis/webinator/search/ but there are a couple of ways you can plot offset lines. One is to use the plot command to plot a set of lines, to which you have added the offsets yourself. The other is to make a LineCollection. I see that our example of the latter does not actually make use of the feature that automatically applies the constant offsets, so I need to make a revised example, which I can't do right this minute. In the meantime, the approach in line_collection.py and line_collection2.py in the mpl examples directory (examples/pylab_examples/ in the 0.98.x and svn versions) will work. Backing off slightly, the larger points are (1) mpl is 2-D only; there was a 3-D module in earlier versions, but it was unmaintained and has been dropped; (2) 2-D plotting is very flexible; (3) often the problem is not one of plotting but of manipulating your input arrays, so the better you know numpy, the easier and more efficiently you can generate plots. Eric |
|
From: Mathieu L. <lep...@gm...> - 2008-07-29 19:37:19
|
Hi all, With both matplotlib versions (0.91 and 0.98), my SVGs are rendered correctly in Inkscape (and almost well in Firefox), but they are not rendered correctly when viewed with ImageMagick or Eye-of-Gnome. I did screenshots here, showing this "curve cropping" issue : http://mathieu-leplatre.info/media/matplotlib-svg/ I am running CentOS 5.2 with matplotlib compiled manually in both cases. Cairo 1.2.4, librsvg 2.16, inkscape 0.46 Could it be related to matplotlib ? Or to operating system libraries ? Thank you all for your support. Mathieu. |
|
From: John H. <jd...@gm...> - 2008-07-29 19:24:59
|
On Tue, Jul 29, 2008 at 1:48 PM, Travis Ruthenburg <tr...@uc...> wrote: > I'm new to matplotlib and was hoping someone could point me in the > right direction for making a waterfall plot, similar to MATLAB's > 'waterfall'. > > I'd like to plot a series of 2-D spectra staggered by time. The specgram function is the closest equivalent: http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-specgram |
|
From: Travis R. <tr...@uc...> - 2008-07-29 18:48:12
|
I'm new to matplotlib and was hoping someone could point me in the right direction for making a waterfall plot, similar to MATLAB's 'waterfall'. I'd like to plot a series of 2-D spectra staggered by time. Thanks, Travis |
|
From: John H. <jd...@gm...> - 2008-07-29 18:28:14
|
On Tue, Jul 29, 2008 at 1:20 PM, Ben Axelrod <bax...@co...> wrote: > Thanks for the bug fix. Do you think this fix will make it into the 0.98.3 release? it will. |
|
From: Ben A. <bax...@co...> - 2008-07-29 18:20:14
|
Thanks for the bug fix. Do you think this fix will make it into the 0.98.3 release? -----Original Message----- From: John Hunter [mailto:jd...@gm...] Sent: Tuesday, July 29, 2008 1:49 PM To: Ben Axelrod Cc: mat...@li... Subject: Re: [Matplotlib-users] bar plot picker with 0 height data On Tue, Jul 29, 2008 at 12:27 PM, Ben Axelrod <bax...@co...> wrote: > I get an exception when I set up a bar chart with a picker that has a bar > with 0 height, and I click on the chart. Thanks for the report -- I just committed a fix for this to svn r5922 JDH |
|
From: John H. <jd...@gm...> - 2008-07-29 18:12:23
|
We are in the final stages of preparing a new matplotlib release, and a lot of work has gone into it. If you would like to test the release and see if it is working for you, that would be a big help http://matplotlib.sourceforge.net/tmp/matplotlib-0.98.3rc2.tar.gz Unfortunately, we do not have binary builds available at this time. Sandro, I saw that Georg released the 0.4.2 sphinx bugfix release, so as soon as Mikhail gets that into debian you can test this release candidate. JDH |
|
From: John H. <jd...@gm...> - 2008-07-29 17:48:50
|
On Tue, Jul 29, 2008 at 12:27 PM, Ben Axelrod <bax...@co...> wrote: > I get an exception when I set up a bar chart with a picker that has a bar > with 0 height, and I click on the chart. Thanks for the report -- I just committed a fix for this to svn r5922 JDH |
|
From: Ben A. <bax...@co...> - 2008-07-29 17:27:59
|
I get an exception when I set up a bar chart with a picker that has a bar with 0 height, and I click on the chart.
Code to generate exception:
from matplotlib.pyplot import figure, show
import numpy as np
def onpick1(event):
print 'foo'
fig = figure()
ax = fig.add_subplot(111)
xdata = [1, 2, 3]
ydata = [1, 0, 3] #change to [1, 2, 3] and code will run fine
ax.bar(xdata,
ydata,
picker = True)
fig.canvas.mpl_connect('pick_event', onpick1)
show()
#now click on chart
-----
Exception generated:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python24\lib\lib-tk\Tkinter.py", line 1345, in __call__
return self.func(*args)
File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 236, in button_press_event
FigureCanvasBase.button_press_event(self, x, y, num, guiEvent=event)
File "C:\Python24\Lib\site-packages\matplotlib\backend_bases.py", line 1074, in button_press_event
self.callbacks.process(s, mouseevent)
File "C:\Python24\Lib\site-packages\matplotlib\cbook.py", line 152, in process
func(*args, **kwargs)
File "C:\Python24\Lib\site-packages\matplotlib\backend_bases.py", line 983, in pick
self.figure.pick(mouseevent)
File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 226, in pick
for a in self.get_children(): a.pick(mouseevent)
File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 2306, in pick
martist.Artist.pick(self,args[0])
File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 226, in pick
for a in self.get_children(): a.pick(mouseevent)
File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 220, in pick
inside,prop = self.contains(mouseevent)
File "C:\Python24\Lib\site-packages\matplotlib\patches.py", line 385, in contains
x, y = self.get_transform().inverted().transform_point(
File "C:\Python24\Lib\site-packages\matplotlib\transforms.py", line 1840, in inverted
return CompositeGenericTransform(self._b.inverted(), self._a.inverted())
File "C:\Python24\Lib\site-packages\matplotlib\transforms.py", line 1338, in inverted
self._inverted = Affine2D(inv(mtx))
File "C:\Python24\Lib\site-packages\numpy\linalg\linalg.py", line 332, in inv
return wrap(solve(a, identity(a.shape[0], dtype=a.dtype)))
File "C:\Python24\Lib\site-packages\numpy\linalg\linalg.py", line 235, in solve
raise LinAlgError, 'Singular matrix'
LinAlgError: Singular matrix
--------------
Stats:
MPL 0.98.1
Python 2.4.4
Numpy 1.1.0
I get the error on both Windows and Linux
Thanks,
-Ben
|
|
From: John H. <jd...@gm...> - 2008-07-29 17:23:32
|
On Tue, Jul 29, 2008 at 10:55 AM, Ben Axelrod <bax...@co...> wrote: > Text picking does not seem to work for me anymore since I upgraded from > 0.91.4 to 0.98.1. This is fixed in matplotlib svn and will be out in the next release. |
|
From: Ben A. <bax...@co...> - 2008-07-29 15:56:13
|
Text picking does not seem to work for me anymore since I upgraded from 0.91.4 to 0.98.1.
These lines should set up the picker. They come straight from "pick_event_demo.py"
ax1.set_title('click on points, rectangles or text', picker=True)
ax1.set_ylabel('ylabel', picker=True, bbox=dict(facecolor='red'))
fig.canvas.mpl_connect('pick_event', onpick1)
def onpick1(event):
if isinstance(event.artist, Line2D):
thisline = event.artist
xdata = thisline.get_xdata()
ydata = thisline.get_ydata()
ind = event.ind
print 'onpick1 line:', zip(npy.take(xdata, ind), npy.take(ydata, ind))
elif isinstance(event.artist, Rectangle):
patch = event.artist
print 'onpick1 patch:', patch.get_path()
elif isinstance(event.artist, Text):
text = event.artist
print 'onpick1 text:', text.get_text()
I apologize if this is a known issue. I tried searching the listserve, but did not find anything.
-Ben
|
|
From: Laurent D. <lau...@gm...> - 2008-07-29 09:15:51
|
Hi andrew, eric, Excellent that is exactly what I was looking for :) Laurent > -----Message d'origine----- > De : Eric Firing [mailto:ef...@ha...] > Envoyé : mardi 29 juillet 2008 02:39 > À : Laurent Dufrechou > Cc : mat...@li... > Objet : Re: [Matplotlib-users] Colormap cluttering? > > Laurent Dufrechou wrote: > > Hello, > > > > > > > > I would like to have a cluttering functionality to colorbar. > > > > http://en.wikipedia.org/wiki/Clutter_(radar) > > > > > > > > Before writing it, I would like to know if there is a way to doing it > > with matplotlib. > > > > What I mean by cluttering is: > > > > > > > > Youve got a colormap associated with a graphic where value goes from > 0 > > to 255 for example. > > > > Assigning a classical colormap (for example cm.jet) 0 value will be > blue > > and 255 one will be red. > > > > What I need is a low clutter and max clutter, if I set low clutter > to > > 10 and ax cluter to 250 then: > > > > Blue will be for value from 0 to 10 > > > > Then the colormap do his job from 10 to 250 and finally > > > > From 250 to 255 colr will be set to max one = red. > > > > > > > > Is it ever done in matplotlib, if not what could be the strategy > here ? > > > > I was thinking of set_over/set_under but seems not be exactly what I > > need because I want to recreate the colormap from 10 to 250 with N > segments. > > > > (moreover I dont understand how you set the over/under value ) > > If you don't really care how many colors are in the map, then for your > 0-255 example, try this: > > import numpy as np > import matplotlib.pyplot as plt > fakedata = np.random.rand(10,20) * 255.0 > cmap = plt.cm.jet > norm = plt.Normalize(vmin=100, vmax=150) > plt.imshow(fakedata, cmap=cmap, norm=norm, interpolation="nearest") > plt.colorbar(extend="both") > plt.show() > > I made the colored range small to emphasize what you call the > "cluttering" effect. > > We are taking advantage of the default, which is that the over and > under > values are the top and bottom ends of the colormap. If you want other > colors for the ends, then after defining your cmap, use, e.g.: > > cmap.set_under('w') > cmap.set_over('k') > > If you want to use a smaller number of colors in your colormap, then > you > need to make the colormap this way, for example: > > from matplotlib.colors import LinearSegmentedColormap > from matplotlib._cm import _jet_data > cmap = LinearSegmentedColormap("yourname", _jet_data, N=10) > > (I should add a helper function to make this more obvious and > straightforward.) > > Eric |
|
From: John H. <jd...@gm...> - 2008-07-29 01:40:30
|
On Mon, Jul 28, 2008 at 12:40 PM, eliben <el...@gm...> wrote: > > Is it only me or is the user's guide linked to from > http://matplotlib.sourceforge.net/ > (http://matplotlib.sourceforge.net/users_guide_0.98.1.pdf) quite old ? The > new user's guide seems to be available from > http://matplotlib.sourceforge.net/doc/html/index.html No, it is not just you. We have been working on new documenttion, and what we have is good, but I would like to see them more complete beore we promote them. I do have a link to them from the matplotlib website called "new docs (beta)" JDH |
|
From: Eric F. <ef...@ha...> - 2008-07-29 00:39:01
|
Laurent Dufrechou wrote: > Hello, > > > > I would like to have a cluttering functionality to colorbar. > > http://en.wikipedia.org/wiki/Clutter_(radar) > > > > Before writing it, I would like to know if there is a way to doing it > with matplotlib. > > What I mean by cluttering is: > > > > You’ve got a colormap associated with a graphic where value goes from 0 > to 255 for example. > > Assigning a classical colormap (for example cm.jet) 0 value will be blue > and 255 one will be red. > > What I need is a low clutter and max clutter, if I set low clutter to > 10 and ax cluter to 250 then: > > Blue will be for value from 0 to 10 > > Then the colormap do his job from 10 to 250 and finally > > From 250 to 255 colr will be set to max one = red. > > > > Is it ever done in matplotlib, if not what could be the strategy here…? > > I was thinking of set_over/set_under but seems not be exactly what I > need because I want to recreate the colormap from 10 to 250 with N segments. > > (moreover I don’t understand how you set the over/under value…) If you don't really care how many colors are in the map, then for your 0-255 example, try this: import numpy as np import matplotlib.pyplot as plt fakedata = np.random.rand(10,20) * 255.0 cmap = plt.cm.jet norm = plt.Normalize(vmin=100, vmax=150) plt.imshow(fakedata, cmap=cmap, norm=norm, interpolation="nearest") plt.colorbar(extend="both") plt.show() I made the colored range small to emphasize what you call the "cluttering" effect. We are taking advantage of the default, which is that the over and under values are the top and bottom ends of the colormap. If you want other colors for the ends, then after defining your cmap, use, e.g.: cmap.set_under('w') cmap.set_over('k') If you want to use a smaller number of colors in your colormap, then you need to make the colormap this way, for example: from matplotlib.colors import LinearSegmentedColormap from matplotlib._cm import _jet_data cmap = LinearSegmentedColormap("yourname", _jet_data, N=10) (I should add a helper function to make this more obvious and straightforward.) Eric |
|
From: Andrew S. <str...@as...> - 2008-07-29 00:16:22
|
Laurent Dufrechou wrote: > Hello, > > > > I would like to have a cluttering functionality to colorbar. > > http://en.wikipedia.org/wiki/Clutter_(radar) > > > > Before writing it, I would like to know if there is a way to doing it > with matplotlib. > > What I mean by cluttering is: > > > > You’ve got a colormap associated with a graphic where value goes from 0 > to 255 for example. > > Assigning a classical colormap (for example cm.jet) 0 value will be blue > and 255 one will be red. > > What I need is a low clutter and max clutter, if I set low clutter to > 10 and ax cluter to 250 then: > > Blue will be for value from 0 to 10 > > Then the colormap do his job from 10 to 250 and finally > > From 250 to 255 colr will be set to max one = red. > > > > Is it ever done in matplotlib, if not what could be the strategy here…? > > I was thinking of set_over/set_under but seems not be exactly what I > need because I want to recreate the colormap from 10 to 250 with N segments. > > (moreover I don’t understand how you set the over/under value…) Dear Laurent, if I understand you correctly, set vmin=10 and vmax=250 and it will do what you want. -Andrew |
|
From: Eric F. <ef...@ha...> - 2008-07-29 00:04:37
|
Ben Axelrod wrote: > I am having problems plotting anything using version 0.98.1 on Linux > Debian 4. But 0.91.4 works fine. If you are compiling from source, the problem could be that setup.py does not clean out the destination directory. For example, if you are installing in /usr/local/lib/python2.5/site-packages then you should first do "rm -r /usr/local/lib/python2.5/site-packages/matplotlib*" before installing another version. Eric > > > When I try to plot something I get this error on the console: > > > > Traceback (most recent call last): > > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", > line 331, in expose_event > > self._render_figure(self._pixmap, w, h) > > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", > line 75, in _render_figure > > FigureCanvasAgg.draw(self) > > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", > line 357, in draw > > self.renderer = self.get_renderer() > > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", > line 368, in get_renderer > > self.renderer = RendererAgg(w, h, self.figure.dpi) > > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", > line 116, in __init__ > > self.draw_polygon = self._renderer.draw_polygon > > AttributeError: draw_polygon > > > > > > And here is the configuration info from when I installed from src: > > > > > > BUILDING MATPLOTLIB > > matplotlib: 0.98.1 > > python: 2.4.4 (#2, Apr 15 2008, 23:43:20) [GCC 4.1.2 > > 20061115 (prerelease) (Debian 4.1.1-21)] > > platform: linux2 > > > > REQUIRED DEPENDENCIES > > numpy: 1.1.0 > > freetype2: 9.10.3 > > > > OPTIONAL BACKEND DEPENDENCIES > > libpng: 1.2.15beta5 > > Tkinter: Tkinter: 39220, Tk: 8.4, Tcl: 8.4 > > wxPython: 2.8.8.1 > > * WxAgg extension not required for wxPython >= 2.8 > > Gtk+: gtk+: 2.8.20, glib: 2.12.4, pygtk: 2.8.6, pygobject: > > [pre-pygobject] > > Qt: Qt: 3.3.6, PyQt: 3.16 > > Qt4: no > > Cairo: 1.2.0 > > > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > > datetime: present, version unknown > > dateutil: present, version unknown > > pytz: 2006p > > > > OPTIONAL USETEX DEPENDENCIES > > dvipng: 1.9 > > ghostscript: 8.15.3 > > latex: 3.141592 > > pdftops: 3.00 > > > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > > configobj: matplotlib will provide > > enthought.traits: no > > > > > > I am guessing that I am either missing a library or need an updated > version. Does anyone have any ideas? > > > > Thanks, > > -Ben > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Laurent D. <lau...@gm...> - 2008-07-28 23:04:02
|
Hello, I would like to have a cluttering functionality to colorbar. http://en.wikipedia.org/wiki/Clutter_(radar) Before writing it, I would like to know if there is a way to doing it with matplotlib. What I mean by cluttering is: You've got a colormap associated with a graphic where value goes from 0 to 255 for example. Assigning a classical colormap (for example cm.jet) 0 value will be blue and 255 one will be red. What I need is a low clutter and max clutter, if I set low clutter to 10 and ax cluter to 250 then: Blue will be for value from 0 to 10 Then the colormap do his job from 10 to 250 and finally >From 250 to 255 colr will be set to max one = red. Is it ever done in matplotlib, if not what could be the strategy here.? I was thinking of set_over/set_under but seems not be exactly what I need because I want to recreate the colormap from 10 to 250 with N segments. (moreover I don't understand how you set the over/under value.) Laurent |
|
From: Ben A. <bax...@co...> - 2008-07-28 22:32:26
|
I am having problems plotting anything using version 0.98.1 on Linux Debian 4. But 0.91.4 works fine.
When I try to plot something I get this error on the console:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 331, in expose_event
self._render_figure(self._pixmap, w, h)
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 75, in _render_figure
FigureCanvasAgg.draw(self)
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 357, in draw
self.renderer = self.get_renderer()
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 368, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 116, in __init__
self.draw_polygon = self._renderer.draw_polygon
AttributeError: draw_polygon
And here is the configuration info from when I installed from src:
BUILDING MATPLOTLIB
matplotlib: 0.98.1
python: 2.4.4 (#2, Apr 15 2008, 23:43:20) [GCC 4.1.2
20061115 (prerelease) (Debian 4.1.1-21)]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.1.0
freetype2: 9.10.3
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.15beta5
Tkinter: Tkinter: 39220, Tk: 8.4, Tcl: 8.4
wxPython: 2.8.8.1
* WxAgg extension not required for wxPython >= 2.8
Gtk+: gtk+: 2.8.20, glib: 2.12.4, pygtk: 2.8.6, pygobject:
[pre-pygobject]
Qt: Qt: 3.3.6, PyQt: 3.16
Qt4: no
Cairo: 1.2.0
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: present, version unknown
pytz: 2006p
OPTIONAL USETEX DEPENDENCIES
dvipng: 1.9
ghostscript: 8.15.3
latex: 3.141592
pdftops: 3.00
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: no
I am guessing that I am either missing a library or need an updated version. Does anyone have any ideas?
Thanks,
-Ben
|
|
From: eliben <el...@gm...> - 2008-07-28 17:40:47
|
Is it only me or is the user's guide linked to from http://matplotlib.sourceforge.net/ (http://matplotlib.sourceforge.net/users_guide_0.98.1.pdf) quite old ? The new user's guide seems to be available from http://matplotlib.sourceforge.net/doc/html/index.html -- View this message in context: http://www.nabble.com/An-updated-matplotlib-user%27s-guide-tp18695659p18695659.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Steve L. <mai...@gm...> - 2008-07-28 13:56:30
|
Hi, While others have mentioned the dual architecture problem, I'm going to completely divert your question and just point you to these two install notes for os x ... I think the last time I compiled matplotlib from source, I followed this .. it worked quite flawlessly on my MBP: http://ipython.scipy.org/moin/Py4Science/InstallationOSX Hopefully that will get you up and running, but if creating a universal binary is important to you, you can try looking here: http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes HTH, -steve On Jul 27, 2008, at 7:44 PM, Ari Ehrmann wrote: > Hey all, > > I've been having a lot of trouble installing matplotlib. I'm using a > macbook, on version 10.5.4 of Mac OS, intel processor (if that's > important). I've installed both numpy and scipy without problems, > but when I type this command to install matplotlib: > > CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch ppc" > python setup.py build > > > > I get this output: > > > > > = > = > = > = > = > = > ====================================================================== > BUILDING MATPLOTLIB > matplotlib: 0.98.3 > python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC > 4.0.1 > (Apple Computer, Inc. build 5341)] > platform: darwin > > REQUIRED DEPENDENCIES > numpy: 1.2.0.dev5513 > freetype2: found, but unknown version (no pkg-config) > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > wxPython: no > * wxPython not found > Gtk+: no > * Building for Gtk+ requires pygtk; you must > be able > * to "import gtk" in your build/install > environment > Qt: no > Qt4: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > datetime: present, version unknown > dateutil: matplotlib will provide > pytz: matplotlib will provide > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: /bin/sh: gs: command not found > latex: no > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > configobj: matplotlib will provide > enthought.traits: no > > [Edit setup.cfg to suppress the above messages] > = > = > = > = > = > = > ====================================================================== > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> build/ > lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> build/ > lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - > g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os - > arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o > build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3- > fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/ > cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/ > IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/ > cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib - > lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ > matplotlib/ft2font.so > ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ > +.dylib, file is not of required architecture > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. > 6.dylib, file is not of required architecture for architecture i386 > collect2: ld returned 1 exit status > ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ > +.dylib, file is not of required architecture > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. > 6.dylib, file is not of required architecture for architecture ppc > collect2: ld returned 1 exit status > lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU++ > +TM/-Tmp-//ccfhpaN5.out (No such file or directory) > error: command 'g++' failed with exit status 1 > > > > > > Has anyone had this problem or know what's even going here? Any help > would be greatly appreciated. > > Thanks, > Ari > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: David Warde-F. <dw...@cs...> - 2008-07-28 06:54:17
|
Compiling some packages as fat binaries is a bit tricky. For some reason the double arch flag is messing it up. Are you set up using gcc 3.x or 4.x? If I recall correctly there has been some discussion of problems building matplotlib on the pythonmac-sig list, you might want to try looking in the archives over there. For that matter, is there a reason you don't want to use the binary on sourceforge? The python 2.5 version that's posted for 0.98.1 is dual architecture. David On 27-Jul-08, at 7:44 PM, Ari Ehrmann wrote: > Hey all, > > I've been having a lot of trouble installing matplotlib. I'm using a > macbook, on version 10.5.4 of Mac OS, intel processor (if that's > important). I've installed both numpy and scipy without problems, > but when I type this command to install matplotlib: > > CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch ppc" > python setup.py build > > > > I get this output: > > > > > = > = > = > = > = > = > ====================================================================== > BUILDING MATPLOTLIB > matplotlib: 0.98.3 > python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC > 4.0.1 > (Apple Computer, Inc. build 5341)] > platform: darwin > > REQUIRED DEPENDENCIES > numpy: 1.2.0.dev5513 > freetype2: found, but unknown version (no pkg-config) > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > wxPython: no > * wxPython not found > Gtk+: no > * Building for Gtk+ requires pygtk; you must > be able > * to "import gtk" in your build/install > environment > Qt: no > Qt4: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > datetime: present, version unknown > dateutil: matplotlib will provide > pytz: matplotlib will provide > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: /bin/sh: gs: command not found > latex: no > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > configobj: matplotlib will provide > enthought.traits: no > > [Edit setup.cfg to suppress the above messages] > = > = > = > = > = > = > ====================================================================== > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> build/ > lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> build/ > lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - > g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os - > arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o > build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3- > fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/ > cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/ > IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/ > cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib - > lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ > matplotlib/ft2font.so > ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ > +.dylib, file is not of required architecture > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. > 6.dylib, file is not of required architecture for architecture i386 > collect2: ld returned 1 exit status > ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ > +.dylib, file is not of required architecture > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. > 6.dylib, file is not of required architecture for architecture ppc > collect2: ld returned 1 exit status > lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU++ > +TM/-Tmp-//ccfhpaN5.out (No such file or directory) > error: command 'g++' failed with exit status 1 > > > > > > Has anyone had this problem or know what's even going here? Any help > would be greatly appreciated. > > Thanks, > Ari > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Johann Cohen-T. <co...@sl...> - 2008-07-28 00:20:07
|
are you sure you need to specify -arch i386 -arch ppc and not only -arch ppc ?? It seems that according to the log mentioning i386 here does not please the linker. Maybe try without it? my 2 cents, Johann Ari Ehrmann wrote: > Hey all, > > I've been having a lot of trouble installing matplotlib. I'm using a > macbook, on version 10.5.4 of Mac OS, intel processor (if that's > important). I've installed both numpy and scipy without problems, but > when I type this command to install matplotlib: > > CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch ppc" > python setup.py build > > > > I get this output: > > > > > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 0.98.3 > python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 > (Apple Computer, Inc. build 5341)] > platform: darwin > > REQUIRED DEPENDENCIES > numpy: 1.2.0.dev5513 > freetype2: found, but unknown version (no pkg-config) > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > wxPython: no > * wxPython not found > Gtk+: no > * Building for Gtk+ requires pygtk; you must > be able > * to "import gtk" in your build/install > environment > Qt: no > Qt4: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > datetime: present, version unknown > dateutil: matplotlib will provide > pytz: matplotlib will provide > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: /bin/sh: gs: command not found > latex: no > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > configobj: matplotlib will provide > enthought.traits: no > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> > build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > copying lib/matplotlib/mpl-data/matplotlib.conf -> > build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data > running build_ext > building 'matplotlib.ft2font' extension > g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g > -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os -arch > i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o > build/temp.macosx-10.3-fat-2.5/src/mplutils.o > build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o > build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o > build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o > build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -L/usr/local/lib > -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o > build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so > ld warning: in > /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is > not of required architecture > ld: in > /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file > is not of required architecture for architecture i386 > collect2: ld returned 1 exit status > ld warning: in > /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is > not of required architecture > ld: in > /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file > is not of required architecture for architecture ppc > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/S0/S0i2z-OAEtG1ZHpis54obU+++TM/-Tmp-//ccfhpaN5.out (No > such file or directory) > error: command 'g++' failed with exit status 1 > > > > > > Has anyone had this problem or know what's even going here? Any help > would be greatly appreciated. > > Thanks, > Ari > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Ari E. <ari...@gm...> - 2008-07-27 23:44:24
|
Hey all,
I've been having a lot of trouble installing matplotlib. I'm using a
macbook, on version 10.5.4 of Mac OS, intel processor (if that's important).
I've installed both numpy and scipy without problems, but when I type this
command to install matplotlib:
CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch ppc" python
setup.py build
I get this output:
============================================================================
BUILDING MATPLOTLIB
matplotlib: 0.98.3
python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1
(Apple Computer, Inc. build 5341)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.2.0.dev5513
freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
wxPython: no
* wxPython not found
Gtk+: no
* Building for Gtk+ requires pygtk; you must be able
* to "import gtk" in your build/install environment
Qt: no
Qt4: no
Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: /bin/sh: gs: command not found
latex: no
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: no
[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data
running build_ext
building 'matplotlib.ft2font' extension
g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os -arch i386
-arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o
build/temp.macosx-10.3-fat-2.5/src/mplutils.o
build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o
build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o
build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o
build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -L/usr/local/lib
-L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o
build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so
ld warning: in
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not
of required architecture
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file
is not of required architecture for architecture i386
collect2: ld returned 1 exit status
ld warning: in
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not
of required architecture
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file
is not of required architecture for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/S0/S0i2z-OAEtG1ZHpis54obU+++TM/-Tmp-//ccfhpaN5.out (No such
file or directory)
error: command 'g++' failed with exit status 1
Has anyone had this problem or know what's even going here? Any help would
be greatly appreciated.
Thanks,
Ari
|