SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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



Showing results of 339

<< < 1 2 3 4 5 6 .. 14 > >> (Page 4 of 14)
From: Tony Yu <ts...@gm...> - 2011年11月17日 15:02:31
On Sun, Nov 13, 2011 at 7:52 AM, asd dasdas <a.l...@go...> wrote:
> Hi everyone,
>
> can someone please help me how to make a plot like this:
> http://tutorial.math.lamar.edu/Classes/DE/PhasePlane_files/image002.gif
>
> The main issue with it is in the (black) trajectories. As far as i know
> there is no function in matplotlib to plot trajectories with arrows
> pointing in a direction.
>
> But I think a good workaround is: plotting the trajectories with plot(..)
> and use quiver(..) at certain points to get an arrows.
>
> A minimal example would be:
>
> import matplotlib.pyplot as plt
> import numpy as np
> import scipy.integrate as integrate
>
> if __name__=="__main__":
> t = np.linspace(0, 20, 1000)
> l = 3
> # some starting points
> X0s = [[-3.0, 0],
> [-3.0, -1],
> [-3.0, -2],
> [-2, -3.0],
> [-1, -3.0],
> [0, -3.0],
> [1, -3.0],
> [2, -3.0],
> [3.0, -2],
> [3.0, -1],
> [3.0, 0.0],
> [3.0, 1],
> [3.0, 2],
> [2, 3.0],
> [1, 3.0],
> [0, 3.0],
> [-1, 3.0],
> [-2, 3.0],
> [-3.0, 2],
> [-3.0, 1],
> [0, 0.01],
> [0, -0.01],
> [0.01, 0],
> [-0.01, 0]]
> sattel = lambda x,t=0: [-x[0], x[1]]
> plt.axis([-l,l,-l,l])
>
> for X0 in X0s:
> state = integrate.odeint(sattel, X0, t).T
> plt.plot(*state, color="k", linewidth=1)
> xs = state[:,::10]
> x_ds = np.asarray(sattel(xs))
> M = np.hypot(x_ds[0],x_ds[1])
> plt.quiver(xs[0],xs[1],x_ds[0]/M,x_ds[1]/M,
> pivot="mid")#,scale=100, scale_units="width",linewidth=5)
>
> plt.axis([-l,l,-l,l])
> plt.show()
>
> That is pretty much what I was looking for except the shafts of the arrows
> that I can't get rid off.
> You can see what I tried to get this done by uncomment the quiver
> parameter.
> Doing this, you can see, the shafts are (nearly) gone, but the arrows look
> horrible. I wonder if there is anyway to tell quiver(..) to only plot the
> heads of the arrow, without the shaft.
>
> Can you please give me a hint how to do this?
>
>
You can increase both the "headlength" and "headaxislength" parameters.
It's admittedly pretty hacky, but I think it'll do what you want.
Also, this is related to a previous discussion on streamlines. A couple of
users were kind enough to post code in this
thread<http://old.nabble.com/Any-update-on-streamline-plot-td30902670.html>.
(And there was talk of integrating one or both of these into matplotlib.)
I've actually been using a modified version of Tom Flannaghan's code. Tom's
code <http://www.atm.damtp.cam.ac.uk/people/tjf37/streamplot.py> uses a
FancyArrowPatch to draw the arrow heads, which may be an alternative
approach to using quiver. Note that neither streamline function allows you
to specify starting points (you specify the streamline density and the
algorithms pick their own starting points).
Best,
-Tony
From: Piotr T. <pi...@ty...> - 2011年11月17日 12:59:41
Hi guys,
Is it possible to create executable file from Python script which uses
matplotlib without mpl-data directory? I'm using only AGG backend
(generates png file) so I don't need the fonts and images directory. As you
know mpl-data size is huge, more than 3MB. I'd like to reduce final size of
my app.
My environments:
- Python 2.7.2,
- matplotlib 1.1.0,
- cx_Freeze 4.2.3,
- Windows XP/Vista/7 (right now).
I'm looking forward to your replay,
Katharsis
-- 
Piotr Tynecki
pi...@ty...
From: Yoshi R. <yo...@ro...> - 2011年11月17日 08:54:01
following the example [1] i can't get the
colorbar extend colors to show properly.
here is what i did:
import matplotlib.pyplot as plt
import matplotlib.cm as cm
levels = np.linspace(.01,.69,10)
<...>
im = plt.contourf(x, y, z, levels, extend='both', cmap=cm.BuPu)
im.cmap.set_under('yellow')
im.cmap.set_over('cyan')
what am i missing?
thank you, best regards, yoshi
[1] http://matplotlib.sourceforge.net/examples/pylab_examples/contourf_demo.html
PS
if i have something like:
mymap = matplotlib.colors.LinearSegmentedColormap('MyMap', cmdat, 256)
mymap.set_under('yellow')
mymap.set_over('cyan')
also doesn't work ...
From: Yoshi R. <yo...@ro...> - 2011年11月17日 07:37:52
+--------------------------- Jae-Joon Lee -----------+
> This seems to be a bug that need to be fixed.
> Meanwhile, use "locator" parameter as below.
> 
> cbar = grid.cbar_axes[0].colorbar(im, locator=ticks)
that works, thank you!
best regards, yoshi
From: Tony Yu <ts...@gm...> - 2011年11月17日 04:12:44
On Wed, Nov 16, 2011 at 5:35 PM, Jonno <jon...@gm...> wrote:
> I want to:
> 1. Have matplotlib assign the linecolor for a plot
> 2. Read the linecolor with .get_color()
> 3. Create another plot with the linecolor set to a lighter version of
> the previous linecolor.
>
> Ie:
>
> a, = plot(x,y)
> a.get_color() = 'b'
> b, = plot(x,y, color = "#xxxxxx")
>
> Since I'm only using the standard matplotlib assigned colors which
> cycle through b,g,r,c,m,y,k I thought I would just create a mapping
> between each color and a lighter version.
>
> How do I get the hex or RGB string for the base matplotlib colors?
>
There may be an easier way, but in the past I've used a color converter
object
(which seems unnecessarily verbose):
>>> import matplotlib.colors as mcolors
>>> cc = mcolors.ColorConverter()
>>> cc.to_rgb('b')
(0, 0, 1)
>
> Also, if there's a different property I can use to lighten the line
> color without changing the color that would be cool too.
>
If you have a white background (and no overlapping markers/lines), you
could just set the "alpha" argument in the plot command.
Best,
-Tony
From: Jeff W. <js...@fa...> - 2011年11月17日 03:42:55
On 11/16/11 6:16 PM, Gökhan Sever wrote:
> from mpl_toolkits.basemap import Basemap
> import matplotlib.pyplot as plt
> import numpy as np
>
> m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
> llcrnrlon=-93, urcrnrlon=-63, llcrnrlat=14, urcrnrlat=36.2)
>
> m.drawcoastlines(linewidth=0.3)
> parallels = np.arange(0.,90,2.)
> m.drawparallels(parallels, labels=[1,0,0,0])
> meridians = np.arange(180.,360.,5.)
> m.drawmeridians(meridians, labels=[0,0,0,1])
>
> plt.show()
>
> Two other projections "laea" and "tmerc" work fine for this case.
>
> Any ideas?
>
> Thanks.
>
>
> -- 
> Gökhan
>
Gökhan: The longitudes in your projection definition are negative (-93 
to -63), so you need to change
meridians = np.arange(180.,360.,5.)
to
meridians = np.arange(-180.,0.,5.)
It works for the other projections, since the values get transformed to 
projection coordinates anyway. With merc and cyl, there is no 
transformation for longitudes.
-Jeff
From: Eric F. <ef...@ha...> - 2011年11月17日 03:00:32
On 11/16/2011 03:16 PM, Gökhan Sever wrote:
> Hi,
>
> Using the example code shown below I can't get meridians plotted on the
> screen:
>
> from mpl_toolkits.basemap import Basemap
> import matplotlib.pyplot as plt
> import numpy as np
>
> m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
> llcrnrlon=-93, urcrnrlon=-63, llcrnrlat=14, urcrnrlat=36.2)
>
> m.drawcoastlines(linewidth=0.3)
> parallels = np.arange(0.,90,2.)
> m.drawparallels(parallels, labels=[1,0,0,0])
> meridians = np.arange(180.,360.,5.)
It can't handle the wrap; subtract 360 from your meridians, and they 
will show up.
Eric
> m.drawmeridians(meridians, labels=[0,0,0,1])
>
> plt.show()
>
> Two other projections "laea" and "tmerc" work fine for this case.
>
> Any ideas?
>
> Thanks.
>
>
> --
> Gökhan
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Jae-Joon L. <lee...@gm...> - 2011年11月17日 02:07:55
This seems to be a bug that need to be fixed.
Meanwhile, use "locator" parameter as below.
cbar = grid.cbar_axes[0].colorbar(im, locator=ticks)
Regards,
-JJ
On Thu, Nov 17, 2011 at 5:35 AM, Yoshi Rokuko <yo...@ro...> wrote:
> does someone knows how to specify ticks for a colorbar
> inside axesgrid? the following does not work as expected:
>
> from mpl_toolkits.axes_grid1 import AxesGrid
> ticks = [.01, .25, .5, .75, .99]
> grid = AxesGrid()
> [...]
> grid.cbar_axes[i].colorbar(im, ticks=ticks)
>
> i'm thankfull for any pointers,
> yoshi
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Gökhan S. <gok...@gm...> - 2011年11月17日 01:16:14
Hi,
Using the example code shown below I can't get meridians plotted on the
screen:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
 llcrnrlon=-93, urcrnrlon=-63, llcrnrlat=14, urcrnrlat=36.2)
m.drawcoastlines(linewidth=0.3)
parallels = np.arange(0.,90,2.)
m.drawparallels(parallels, labels=[1,0,0,0])
meridians = np.arange(180.,360.,5.)
m.drawmeridians(meridians, labels=[0,0,0,1])
plt.show()
Two other projections "laea" and "tmerc" work fine for this case.
Any ideas?
Thanks.
-- 
Gökhan
From: Gökhan S. <gok...@gm...> - 2011年11月17日 01:03:52
On Sun, Nov 13, 2011 at 12:40 PM, Gökhan Sever <gok...@gm...>wrote:
> Hello groups,
>
> I have two questions about working with MODIS data.
>
> 1-) Is there any light Pythonic HDF-EOS wrapper to handle HDF-EOS data
> other than PyNIO [http://www.pyngl.ucar.edu/Nio.shtml] Although, I have
> managed to install that package from its source, it took me many hours to
> figure out all the installation quirks. Something simpler to build and
> mainly for HDFEOS data??
>
> 2-) Another similar question: Has anybody attempted to create true-color
> MODIS images (like the ones shown at [
> http://rapidfire.sci.gsfc.nasa.gov/realtime/]) in Python? So far, I have
> seen one clear tutorial [
> ftp://ftp.ssec.wisc.edu/pub/IMAPP/MODIS/TrueColor/] to create natural
> color images, but uses ms2gt [http://nsidc.org/data/modis/ms2gt/], NDVI
> and IDL. Except the reflectance correction via NDVI, ms2gt and IDL parts
> seem to be implemented in Python.
>
> Till now, I have some progress combining GOES imagery with aircraft data.
> My next task is to combine MODIS data with aircraft and radar data. I would
> be happy to get some guidance and code support if there is any previous
> work been done using Python.
>
> Thanks.
>
Hello all,
Here is my answer to my 2nd question:
http://imageshack.us/photo/my-images/713/modistrue1km.png/
Python script is at
http://code.google.com/p/ccnworks/source/browse/trunk/modis/true.py
This code is based on TrueColor tutorial of Liam Gumley [
ftp://ftp.ssec.wisc.edu/pub/IMAPP/MODIS/TrueColor/] and Peter Kuma's ccplot
tool [http://ccplot.org/]
Currently it only plots true color images from Aqua or Terra using Level 1B
data. For the example image I use the data provided via TrueColor link.
Notes:
1-) Using PyNIO to open hdf-eos files, from ccplot using cctk for 2D data
interpolation, basemap for map plotting and numpy/scipy for other
essentials.
2-) crefl.1km.hdf is reflectance corrected data using NVDI's crefl program.
Set-up TrueColor tutorial and you should be able to get these correction
applied data by calling its main script or set-up another.
3-) MOD03.hdf is the geolocation data.
4-) No need to run ms2gt or any other swath to grid conversion tools, since
the interpolation routine handles this step.
5-) Code is in 100 lines. Unlike TrueColor tutorial it only works for 1KM
resolution. HKM and QKM resolution plotting requires additional steps.
It takes about 2.5 seconds to get the plot on my screen.
Let me know if you have any comments or other suggestions.
Thanks.
-- 
Gökhan
From: Jae-Joon L. <lee...@gm...> - 2011年11月17日 00:53:47
Try something like this.
ax = subplot(111)
LabelsList = ['Prospero', 'Miranda', 'Caliban', 'Ariel']
ax.set_xticks(range(len(LabelsList)))xlabels = ax.set_xticklabels(
LabelsList, rotation=35,
horizontalalignment='right',
fontstyle='italic', fontsize='10')
ticklabels = ax.get_xticklabels()ticklabels[0].set_fontstyle("normal")
Regards,
-JJ
On Wed, Nov 16, 2011 at 11:25 AM, magurling <mag...@gm...> wrote:
> LabelsList = ['Prospero', 'Miranda', 'Caliban', 'Ariel']
>
> xlabels = ax.set_xticklabels( LabelsList, rotation=35,
> horizontalalignment='right', fontstyle='italic', fontsize='10')
>
From: Jonno <jon...@gm...> - 2011年11月16日 22:35:34
I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.
Ie:
a, = plot(x,y)
a.get_color() = 'b'
b, = plot(x,y, color = "#xxxxxx")
Since I'm only using the standard matplotlib assigned colors which
cycle through b,g,r,c,m,y,k I thought I would just create a mapping
between each color and a lighter version.
How do I get the hex or RGB string for the base matplotlib colors?
Also, if there's a different property I can use to lighten the line
color without changing the color that would be cool too.
Cheers,
Jonno.
From: magurling <mag...@gm...> - 2011年11月16日 22:30:40
Benjamin Root-2 wrote:
> 
> Seems to work fine for me using GTKAgg.
> 
I added these lines:
import matplotlib
matplotlib.use('GTKAgg')
I still get the "\n" printed literally in the label (an actual carriage
return shows up as an empty rectangle).
-- 
View this message in context: http://old.nabble.com/newline-characters-in-tick-labels-tp32852034p32858119.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Fabien L. <laf...@gm...> - 2011年11月16日 22:06:40
Hello everyone,
I've adapted a python code to plot real time data but I don't manage
to have an auto-scale on my graph. I don't understand because I use"
set_autoscale_on(True)"
 Do you have an idea?
Here is "my" simplified code:
#!/usr/bin/env python
#from visa import *
from pylab import *
# for command-line arguments
import sys
# Python Qt4 bindings for GUI objects
from PyQt4 import QtGui
# Numpy functions for image creation
import numpy as np
# Matplotlib Figure object
from matplotlib.figure import Figure
# import the Qt4Agg FigureCanvas object, that binds Figure to
# Qt4Agg backend. It also inherits from QWidget
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
# import the NavigationToolbar Qt4Agg widget
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg
as NavigationToolbar
###########################################################################################
###########################################################################################
class CPUMonitor(FigureCanvas):
 """Matplotlib Figure widget to display CPU utilization"""
 def __init__(self,parent):
 # first image setup
 self.fig = Figure()
 self.ax = self.fig.add_subplot(111)
# self.fig.apply__adjustable()
#
 # initialization of the canvas
 FigureCanvas.__init__(self, self.fig)
 # set specific limits for X and Y axes
 #self.ax.set_xlim(0, 2)
 #self.ax.set_ylim(0, 1.5)
 # and disable figure-wide autoscale
 self.ax.set_autoscale_on(True)
 #self.ax.set_adjustable('datalim')
 # generates first "empty" plots
 self.user, self.nice = [], []
 self.l_user, = self.ax.plot([], self.user, label='Voltage')
 self.l_nice, = self.ax.plot([], self.nice, label='Voltage2')
 # add legend to plot
 self.ax.legend()
 # force a redraw of the Figure
 #self.fig.canvas.draw()
 # initialize the iteration counter
 #self.cnt = 0
 # call the update method (to speed-up visualization)
 self.timerEvent(None)
 # start the timer, to trigger an event every x milliseconds)
 self.timer = self.startTimer(100)
 def get_info(self):
# my_instrument1 = instrument("GPIB0::24", term_chars = CR)
# my_instrument1.write("DCV ")
# my_instrument1.write("TRIG AUTO")
# mesure1 = my_instrument1.read_values()
 	
 fichier = open("fichier.dat", "a")
 fichier.write(str(1)+"\t")
 fichier.close()
 fichier = open("fichier.dat", "a")
 fichier.write(str(1)+"\t")
 fichier.close()
 return [0.8]
	
 def get_info2(self):
	
# my_instrument2 = instrument("GPIB0::??", term_chars = CR)
# my_instrument2.write("DCV ")
# my_instrument2.write("TRIG AUTO")
# mesure2 = my_instrument2.read_values()
#
 fichier = open("fichier.dat", "a")
 fichier.write(str(2)+"\n")
 fichier.close()
 return [0.9]
 def timerEvent(self, evt):
 """Custom timerEvent code, called upon timer event receive"""
 # get the value from the device
 result1 = self.get_info()
 result2 = self.get_info2()
 # append new data to the datasets
 self.user.append(result1)
 self.nice.append(result2)
	
 # update lines data using the lists with new data
 self.l_user.set_data(range(len(self.user)), self.user)
 self.l_nice.set_data(range(len(self.nice)), self.nice)
	
 # force a redraw of the Figure
 self.fig.canvas.draw()
 FigureCanvas.updateGeometry(self)
class ApplicationWindow(QtGui.QMainWindow):
 """Example main window"""
 def __init__(self):
 # initialization of Qt MainWindow widget
 QtGui.QMainWindow.__init__(self)
 # set window title
 self.setWindowTitle("QHE manip")
 # instantiate a widget, it will be the main one
 self.main_widget = QtGui.QWidget(self)
 # create a vertical box layout widget
 vbl = QtGui.QVBoxLayout(self.main_widget)
 # instantiate our Matplotlib canvas widget
 qmc = CPUMonitor(self.main_widget)
 # instantiate the navigation toolbar
 ntb = NavigationToolbar(qmc, self.main_widget)
 # pack these widget into the vertical box
 vbl.addWidget(qmc)
 vbl.addWidget(ntb)
 # set the focus on the main widget
 self.main_widget.setFocus()
 # set the central widget of MainWindow to main_widget
 self.setCentralWidget(self.main_widget)
# create the GUI application
qApp = QtGui.QApplication(sys.argv)
# instantiate the ApplicationWindow widget
aw = ApplicationWindow()
# show the widget
aw.show()
# start the Qt main loop execution, exiting from this script
# with the same return code of Qt application
sys.exit(qApp.exec_())
From: Yoshi R. <yo...@ro...> - 2011年11月16日 20:37:19
does someone knows how to specify ticks for a colorbar
inside axesgrid? the following does not work as expected:
from mpl_toolkits.axes_grid1 import AxesGrid
ticks = [.01, .25, .5, .75, .99]
grid = AxesGrid()
[...]
grid.cbar_axes[i].colorbar(im, ticks=ticks)
i'm thankfull for any pointers,
yoshi
From: Mads I. <mad...@gm...> - 2011年11月16日 20:15:32
running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/CXX
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/ft2font.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lfreetype -lz -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/ft2font.so
building 'matplotlib.ttconv' extension
creating build/temp.linux-x86_64-2.7/ttconv
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/_ttconv.cpp -o build/temp.linux-x86_64-2.7/src/_ttconv.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c ttconv/pprdrv_tt.cpp -o build/temp.linux-x86_64-2.7/ttconv/pprdrv_tt.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c ttconv/pprdrv_tt2.cpp -o build/temp.linux-x86_64-2.7/ttconv/pprdrv_tt2.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c ttconv/ttutil.cpp -o build/temp.linux-x86_64-2.7/ttconv/ttutil.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_ttconv.o build/temp.linux-x86_64-2.7/ttconv/pprdrv_tt.o build/temp.linux-x86_64-2.7/ttconv/pprdrv_tt2.o build/temp.linux-x86_64-2.7/ttconv/ttutil.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/ttconv.so
building 'matplotlib._cntr' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/cntr.c -o build/temp.linux-x86_64-2.7/src/cntr.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/src/cntr.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_cntr.so
building 'matplotlib._delaunay' extension
creating build/temp.linux-x86_64-2.7/lib
creating build/temp.linux-x86_64-2.7/lib/matplotlib
creating build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c lib/matplotlib/delaunay/_delaunay.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/_delaunay.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function ‘bool VoronoiDiagramGenerator::voronoi(int)’:
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: ‘newintstar.Point::y’ may be used uninitialized in this function
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c lib/matplotlib/delaunay/delaunay_utils.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/delaunay_utils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c lib/matplotlib/delaunay/natneighbors.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/natneighbors.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/_delaunay.o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/delaunay_utils.o build/temp.linux-x86_64-2.7/lib/matplotlib/delaunay/natneighbors.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_delaunay.so
building 'matplotlib.nxutils' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/nxutils.c -o build/temp.linux-x86_64-2.7/src/nxutils.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/src/nxutils.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/nxutils.so
building 'matplotlib._path' extension
creating build/temp.linux-x86_64-2.7/agg24
creating build/temp.linux-x86_64-2.7/agg24/src
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_contour.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/agg_py_transforms.cpp -o build/temp.linux-x86_64-2.7/src/agg_py_transforms.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/path_cleanup.cpp -o build/temp.linux-x86_64-2.7/src/path_cleanup.o
src/path_converters.h: In function ‘void* get_path_iterator(PyObject*, PyObject*, int, int, double*, e_snap_mode, double, int)’:
src/path_converters.h:418: warning: ‘x1’ may be used uninitialized in this function
src/path_converters.h:418: note: ‘x1’ was declared here
src/path_converters.h:418: warning: ‘y1’ may be used uninitialized in this function
src/path_converters.h:418: note: ‘y1’ was declared here
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/path.cpp -o build/temp.linux-x86_64-2.7/src/path.o
src/path.cpp: In member function ‘Py::Object _path_module::convert_to_svg(const Py::Tuple&)’:
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base<double>::y2’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base<double>::x2’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base<double>::y1’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base<double>::x1’ may be used uninitialized in this function
g++ -pthread -shared build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o build/temp.linux-x86_64-2.7/src/agg_py_transforms.o build/temp.linux-x86_64-2.7/src/path_cleanup.o build/temp.linux-x86_64-2.7/src/path.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_path.so
building 'matplotlib._tri' extension
creating build/temp.linux-x86_64-2.7/lib/matplotlib/tri
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c lib/matplotlib/tri/_tri.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_tri.so
building 'matplotlib.backends._backend_agg' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_dash.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/agg_py_transforms.cpp -o build/temp.linux-x86_64-2.7/src/agg_py_transforms.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/backend_agg.cpp -o build/temp.linux-x86_64-2.7/src/backend_agg.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/src/agg_py_transforms.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o build/temp.linux-x86_64-2.7/src/backend_agg.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_backend_agg.so
building 'matplotlib._image' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/image.cpp -o build/temp.linux-x86_64-2.7/src/image.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/image.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_image.so
building 'matplotlib._png' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/_png.cpp -o build/temp.linux-x86_64-2.7/src/_png.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/libpng12 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_png.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -lpng12 -lz -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_png.so
building 'matplotlib.backends._tkagg' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/agg_py_transforms.cpp -o build/temp.linux-x86_64-2.7/src/agg_py_transforms.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c src/_tkagg.cpp -o build/temp.linux-x86_64-2.7/src/_tkagg.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/mpi/git/quantumsource/external-libs/build/include -I/home/mpi/git/quantumsource/external-libs/build/include -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/mpi/git/quantumsource/external-libs/build/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/mpi/git/quantumsource/external-libs/build/include/python2.7 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/agg_py_transforms.o build/temp.linux-x86_64-2.7/src/_tkagg.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/home/mpi/git/quantumsource/external-libs/build/lib -L/home/mpi/git/quantumsource/external-libs/build/lib -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L/usr/lib64 -L/home/mpi/git/quantumsource/external-libs/build/lib -ltcl8.5 -ltk8.5 -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_tkagg.so
From: Collin C. <cdc...@sy...> - 2011年11月16日 18:26:29
Hi,
I've installed matplotlib on a new computer running OSX Lion 10.7.2 (Xcode version 4.2). When I open ipython and try to run:
In [1]: import pylab
In [2]: pylab.figure(); pylab.plot([0,1],[2,2]); pylab.show()
nothing happens. I can, however, save the plot using pylab.savefig. I am using matplotlib version 1.1.0, with Python 2.7.2 and ipython version 0.11. I installed all of these using MacPorts (specifically, the python27, py27-matplotlib, and py27-ipython ports).
Any help would be greatly appreciated, as interactive plotting is important for my work.
Thanks,
Collin
From: Daryl H. <ak...@ia...> - 2011年11月16日 16:06:29
Hello,
For what it is worth, I do the folllowing on my matplotlib scripts run
from apache on RHEL6.
import os
os.environ[ 'HOME' ] = '/tmp/'
os.environ[ 'USER' ] = 'nobody'
import matplotlib
matplotlib.use( 'Agg' )
This seems to keep matplotlib from bombing out when it attempts to
read dot files, etc.
daryl
On Mon, Nov 14, 2011 at 4:13 AM, Paul de Beurs <pau...@gm...> wrote:
> Hey,
>
> I work with Mac OSX 10.7.2
> I have a probleem. From the IDLE this little program works fine:
> #!/usr/bin/python
> import numpy
> import matplotlib
> print "Content-Type: text/plain\n"
> print matplotlib.__version__
>
> The output is:
> Content-Type: text/plain
>
> 1.1.0
>
> Starting this program from MAMP gives me: Internal Server Error
>
> First I change the program into:
> #!/usr/bin/python
> import numpy
> import matplotlib
> print "Content-Type: text/plain\n"
> print 'No error'
>
> But starting this program from MAMP also gives me: Internal Server Error
>
> Now I change my program into:
> #!/usr/bin/python
> import numpy
> ##import matplotlib
> print "Content-Type: text/plain\n"
> print 'No error'
>
> Now starting this program from MAMP gives me: No error
>
> So the import of mapplotlib causes this troubles. I don't have these
> problems with the import of numpy.
>
> Can someone help me with this problem?
>
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save 700ドル by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Benjamin R. <ben...@ou...> - 2011年11月16日 15:48:04
On Tue, Nov 15, 2011 at 11:55 PM, magurling <mag...@gm...> wrote:
>
>
> Benjamin Root-2 wrote:
> >
> > Actually, that's how I do it, if I remember correctly. What is your
> > platform and mpl version?
> >
>
> I have Ubuntu 11.04, Python 2.7.1+, mpl 1.1.0. I've seen examples in the
> mpl
> gallery of two-liner labels, but none that are rotated. Perhaps I didn't
> look closely enough.
>
Seems to work fine for me using GTKAgg. Which backend are you using?
Ben Root
From: magurling <mag...@gm...> - 2011年11月16日 05:55:59
Benjamin Root-2 wrote:
> 
> Actually, that's how I do it, if I remember correctly. What is your
> platform and mpl version?
> 
I have Ubuntu 11.04, Python 2.7.1+, mpl 1.1.0. I've seen examples in the mpl
gallery of two-liner labels, but none that are rotated. Perhaps I didn't
look closely enough.
-- 
View this message in context: http://old.nabble.com/newline-characters-in-tick-labels-tp32852034p32852641.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: klo uo <kl...@gm...> - 2011年11月16日 04:41:16
It's same problem for which I asked assistance here:
http://www.mail-archive.com/mat...@li.../msg22520.html
There, Johann provided nifty script with slider, with which help user
can shift colormap and get more "meaningful" image
Also speaking about great Basemap package, only shifting colormap can
be of no use for different regions, as one region could have elevation
from 200m to 3000m for example, while other -2000m to 4000m, making
two region images incomparable.
This is where "set_clim" function can help - if we make, let's nice
hypsometric colormap from -13000 to 9000m we can use this function to
plot region images with same visual information.
Some new "hypsometric" colormaps in Basemap package could find usage
On Wed, Nov 16, 2011 at 4:32 AM, Ben Root <ben...@gm...> wrote:
> I just came across this paper in my twitter feed. Thought it might be relevant to this community.
>
> https://www.research.ibm.com/people/l/lloydt/color/color.HTM
>
> Cheers!
> Ben Root
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save 700ドル by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Much appreciated!
It works!
Regards!
Yu
On Tue, Nov 15, 2011 at 10:13 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Tuesday, November 15, 2011, Y.Wu <yw...@gm...> wrote:
> > Hi, All
> > I am trying to add ylable to:
> > ax1 = plt.subplot2grid((1,3), (0,0), colspan=2)
> > But got the following error: no 'set_ylable';
> > Here is my code:
> > import matplotlib.pyplot as plt
> > import numpy as np
> > ax1 = plt.subplot2grid((1,3), (0,0), colspan=2)
> > ax2 = plt.subplot2grid((1,3), (0,2), colspan=1)
> > N = 2
> > Spot = (6.29, 3.47)
> > Avg = (20.11,18.47)
> > Ody = (6.39,3.98)
> > Medium = (6.7,6.12)
> > ind = np.arange(N)+0.10 # the x locations for the groups
> > width = 0.15 # the width of the bars
> > ax1.bar(ind, Spot, width, color='0.35',hatch="\\")
> > ax1.bar(ind+width, Avg, width, color='0.55',hatch="//")
> > ax1.bar(ind+2*width, Ody, width, color='0.75',hatch="+")
> > ax1.bar(ind+3*width, Medium, width, color='0.15',hatch=".")
> > ax1.set_xticks(ind+2*width)
> > ax1.set_xticklabels(('Static', 'Dynamic'))
> > #ax1.set_ylable("Incorrect Decision Ratio (%)")
> >
> > Regards!
> > Yu
> >
>
> lable --> label
>
> Fix that, and it will work.
>
> Ben Root
From: Ben R. <ben...@gm...> - 2011年11月16日 03:32:22
I just came across this paper in my twitter feed. Thought it might be relevant to this community.
https://www.research.ibm.com/people/l/lloydt/color/color.HTM
Cheers!
Ben Root
From: Benjamin R. <ben...@ou...> - 2011年11月16日 03:13:38
On Tuesday, November 15, 2011, Y.Wu <yw...@gm...> wrote:
> Hi, All
> I am trying to add ylable to:
> ax1 = plt.subplot2grid((1,3), (0,0), colspan=2)
> But got the following error: no 'set_ylable';
> Here is my code:
> import matplotlib.pyplot as plt
> import numpy as np
> ax1 = plt.subplot2grid((1,3), (0,0), colspan=2)
> ax2 = plt.subplot2grid((1,3), (0,2), colspan=1)
> N = 2
> Spot = (6.29, 3.47)
> Avg = (20.11,18.47)
> Ody = (6.39,3.98)
> Medium = (6.7,6.12)
> ind = np.arange(N)+0.10 # the x locations for the groups
> width = 0.15 # the width of the bars
> ax1.bar(ind, Spot, width, color='0.35',hatch="\\")
> ax1.bar(ind+width, Avg, width, color='0.55',hatch="//")
> ax1.bar(ind+2*width, Ody, width, color='0.75',hatch="+")
> ax1.bar(ind+3*width, Medium, width, color='0.15',hatch=".")
> ax1.set_xticks(ind+2*width)
> ax1.set_xticklabels(('Static', 'Dynamic'))
> #ax1.set_ylable("Incorrect Decision Ratio (%)")
>
> Regards!
> Yu
>
lable --> label
Fix that, and it will work.
Ben Root
From: Benjamin R. <ben...@ou...> - 2011年11月16日 03:11:17
On Tuesday, November 15, 2011, magurling <mag...@gm...> wrote:
>
> Can a tick label be on two separate lines? For example:
>
> LabelsList = ['Howard', 'Vince', 'Bob', 'Naboo the Enigma']
>
> xlabels = ax.set_xticklabels( LabelsList, rotation=35,
> horizontalalignment='right', fontstyle='italic', fontsize='10')
>
> How can I put "Naboo the Enigma" on two lines? I've tried to enter
newlines
> and carriage returns in the list element (e.g. 'Naboo\n the Enigma')
without
> any luck.
Actually, that's how I do it, if I remember correctly. What is your
platform and mpl version?
Ben Root
8 messages has been excluded from this view by a project administrator.

Showing results of 339

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