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 17 results of 17

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
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
From: magurling <mag...@gm...> - 2011年11月16日 02:35:06
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.
-- 
View this message in context: http://old.nabble.com/newline-characters-in-tick-labels-tp32852034p32852034.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: magurling <mag...@gm...> - 2011年11月16日 02:25:40
Is there a way to format tick labels separately? For example:
LabelsList = ['Prospero', 'Miranda', 'Caliban', 'Ariel']
xlabels = ax.set_xticklabels( LabelsList, rotation=35,
horizontalalignment='right', fontstyle='italic', fontsize='10')
will give me italicized x tick labels; however, what if I want to italicize
all, but Prospero? Is there a way to format each label separately?
-- 
View this message in context: http://old.nabble.com/Separate-formatting-for-tick-labels-tp32852024p32852024.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Showing 17 results of 17

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