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
(4) |
2
(17) |
3
(9) |
4
(5) |
5
(5) |
6
(2) |
|
7
|
8
(7) |
9
(6) |
10
(1) |
11
(4) |
12
(12) |
13
(7) |
|
14
(1) |
15
|
16
|
17
(12) |
18
(11) |
19
(6) |
20
(6) |
|
21
(2) |
22
(5) |
23
(1) |
24
(4) |
25
(6) |
26
(3) |
27
(2) |
|
28
|
29
(2) |
30
(12) |
31
(8) |
|
|
|
|
From: David J. P. M. <djp...@an...> - 2013-07-03 21:13:49
|
I am new to python and when using Matplotlib 0.99.1.1 [Scientific Linux
6.3, Python 2.6] to plot I get the following error:
/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py:621: DeprecationWarning: Use the new widget gtk.Tooltip
self.tooltips = gtk.Tooltips()
This is when the program reaches:
plt.show()
Where plt is the matplotlib.pyplot. Prior to this point of the code I am
able to produce pdf files of the figure by using plt.savefig(fname).
Reading other online comments I have tried to update Matplotlib. First I
installed the dependences via
sudo yum-builddep python-matplotlib
Then:
sudo yum install matplotlib
This then tells me that I have the latest version of matplotlib and
therefore does nothing. There are more recent versions available from
the Matplotlib website. I tried to install the latest version after
unpacking the tar.gz file. After using the command:
sudo python setup.py install
I get the message below ending with error:
command 'gcc' failed with exit status 1
Can anyone suggest a way to install the latest matplotlib or stop the
message I get with using plt.show()?
Jonathan
basedirlist is: ['/usr/local', '/usr', 'usr/lib64']
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.2.1
python: 2.6.6 (r266:84292, Jun 18 2012, 09:57:52) [GCC
4.4.6 20110731 (Red Hat 4.4.6-3)]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.4.1
freetype2: 9.22.3
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.49
Tkinter: Tkinter: 73770, Tk: 8.5, Tcl: 8.5
* Guessing the library and include directories
for
* Tcl and Tk because the tclConfig.sh and
* tkConfig.sh could not be found and/or parsed.
Gtk+: gtk+: 2.18.9, glib: 2.22.5, pygtk: 2.16.0,
pygobject: 2.20.0
Mac OS X native: no
Qt: no
Qt4: Qt: 4.6.2, PyQt4: 4.7.4
PySide: no
Cairo: 1.8.6
OPTIONAL DATE/TIMEZONE DEPENDENCIES
dateutil: 1.4.1
pytz: 2010h
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: 8.70
latex: 3.141592
pdftops: 0.12.4
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends',
'matplotlib.backends.qt4_editor', 'matplotlib.projections',
'matplotlib.testing', 'matplotlib.testing.jpl_units',
'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1',
'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri',
'matplotlib.delaunay']
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.linux-x86_64-2.6/matplotlib/mpl-data
running build_ext
building 'matplotlib.backends._backend_agg' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_trans_affine.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_bezier_arc.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_curves.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_curves.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_vcgen_dash.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_vcgen_dash.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_vcgen_stroke.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_vcgen_stroke.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c agg24/src/agg_image_filters.cpp -o
build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c src/mplutils.cpp -o
build/temp.linux-x86_64-2.6/src/mplutils.o
In file included from /usr/include/python2.6/pyconfig.h:6,
from /usr/include/python2.6/Python.h:8,
from src/mplutils.h:18,
from src/mplutils.cpp:6:
/usr/include/python2.6/pyconfig-64.h:1034:1: warning: "_POSIX_C_SOURCE"
redefined
In file included
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/x86_64-redhat-linux/bits/os_defines.h:39,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/x86_64-redhat-linux/bits/c++config.h:1687,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/iostream:39,
from src/mplutils.cpp:3:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/include/python2.6/pyconfig.h:6,
from /usr/include/python2.6/Python.h:8,
from src/mplutils.h:18,
from src/mplutils.cpp:6:
/usr/include/python2.6/pyconfig-64.h:1043:1: warning: "_XOPEN_SOURCE"
redefined
In file included
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/x86_64-redhat-linux/bits/os_defines.h:39,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/x86_64-redhat-linux/bits/c++config.h:1687,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c
++/4.4.6/iostream:39,
from src/mplutils.cpp:3:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c src/agg_py_transforms.cpp -o
build/temp.linux-x86_64-2.6/src/agg_py_transforms.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c CXX/cxxsupport.cxx -o
build/temp.linux-x86_64-2.6/CXX/cxxsupport.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c CXX/IndirectPythonInterface.cxx -o
build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c CXX/cxx_extensions.cxx -o
build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c CXX/cxxextensions.c -o
build/temp.linux-x86_64-2.6/CXX/cxxextensions.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
-Iusr/lib64/include -Iusr/lib64/python2.6/include
-Iusr/lib64/python2.6/site-packages/include
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc
-Iagg24/include -I.
-I/usr/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/include/python2.6 -c src/backend_agg.cpp -o
build/temp.linux-x86_64-2.6/src/backend_agg.o
In file included from src/backend_agg.cpp:42:
src/file_compat.h:4:32: error: numpy/npy_3kcompat.h: No such file or
directory
In file included from src/backend_agg.cpp:42:
src/file_compat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’:
src/file_compat.h:125: warning: deprecated conversion from string
constant to ‘char*’
src/backend_agg.cpp: In member function ‘Py::Object
RendererAgg::write_rgba(const Py::Tuple&)’:
src/backend_agg.cpp:2040: error: ‘npy_PyFile_OpenFile’ was not declared
in this scope
src/backend_agg.cpp:2050: error: ‘npy_PyFile_Dup’ was not declared in
this scope
src/backend_agg.cpp:2054: error: ‘npy_PyFile_DupClose’ was not declared
in this scope
src/backend_agg.cpp:2064: error: ‘npy_PyFile_DupClose’ was not declared
in this scope
error: command 'gcc' failed with exit status 1
|
|
From: Damon M. <dam...@gm...> - 2013-07-03 20:21:40
|
On Tue, Jul 2, 2013 at 11:57 PM, Nelle Varoquaux <nel...@gm...>wrote: > On 2 July 2013 16:33, Anthony Scopatz <sc...@gm...> wrote: > > > > On Tue, Jul 2, 2013 at 9:04 AM, Jason Grout <jas...@cr... > > > > wrote: > >> > >> On 7/1/13 9:33 AM, Michael Droettboom wrote: > >> > SciPy 2013 was a great success. I didn't get good headcount at the > >> > matplotlib BOF, but it was a good number, and we had 15 participants > at > >> > various points during the sprints. It was nice to see the diversity > of > >> > experience with matplotlib at the sprints, and I hope we oldtimers > were > >> > helpful to the newtimers getting started so they can continue to > >> > contribute in the future. It was also great to put some faces to many > >> > of the talented names I've been seeing on github and the mailing list > >> > lately. > >> > > >> > >> On a slightly different, but related topic: is there any chance the > >> entries (or at least the winning entries) to the plotting contest could > >> be posted online? > > > > > > Yes, We'll put try to put these on the conference website at the very > least. > > We also talked about adding this to the matplotlib website, but we > need to sort out first the copyright problems and then coding this > part of the website. > +1 -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0200 The University of Texas at Austin Austin, TX 78712-1229 |
|
From: Benjamin R. <ben...@ou...> - 2013-07-03 18:51:51
|
Not a bother. This is a fairly common problem because matplotlib, by
design, does not handle layouts for you. If you are looking for an
automated way of handling this, there is plt.tight_layout(), which is a
feature that was added in v1.2, IIRC, that tries adjusting certain spacing
and size parameters automatically in an effort to keep everything inside
the figure space. However, a solution like yours is often perfered because
it gives you explicit control over the plot, and is guaranteed to work the
same way, every time.
Cheers!
Ben Root
On Wed, Jul 3, 2013 at 2:08 PM, Florian Lindner <mai...@xg...> wrote:
> Am Mittwoch, 3. Juli 2013, 20:02:30 schrieb Florian Lindner:
> > Hello!
> >
> > I have that snipped to create a plot:
> >
> > import matplotlib.pyplot as plt
> > size = (6.1, 3.5)
> > fig = plt.figure(figsize=size)
> > plt.xlabel("$x/l_F$")
> >
> > it's being saved as eps for latex. At the size given the "F" from l_F is
> > truncated just a little bit. It works well if I change y-size to 3.6 but
> > that makes latex place to figure on a seperate page which I do not want.
> >
> > Is this behavior by design or a bug? How can I give just 0.1 more
> y-space to
> > the xlabel without altering the overall size?
>
> Ok, I should have read to docu before googling.
>
> plt.xlabel("$x/l_F$", labelpad = -0.1)
> did it.
>
> Sorry for bothering...
>
> Florian
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Florian L. <mai...@xg...> - 2013-07-03 18:31:39
|
Am Mittwoch, 3. Juli 2013, 20:02:30 schrieb Florian Lindner:
> Hello!
>
> I have that snipped to create a plot:
>
> import matplotlib.pyplot as plt
> size = (6.1, 3.5)
> fig = plt.figure(figsize=size)
> plt.xlabel("$x/l_F$")
>
> it's being saved as eps for latex. At the size given the "F" from l_F is
> truncated just a little bit. It works well if I change y-size to 3.6 but
> that makes latex place to figure on a seperate page which I do not want.
>
> Is this behavior by design or a bug? How can I give just 0.1 more y-space to
> the xlabel without altering the overall size?
Ok, I should have read to docu before googling.
plt.xlabel("$x/l_F$", labelpad = -0.1)
did it.
Sorry for bothering...
Florian
|
|
From: Florian L. <mai...@xg...> - 2013-07-03 18:29:55
|
Hello!
I have that snipped to create a plot:
import matplotlib.pyplot as plt
size = (6.1, 3.5)
fig = plt.figure(figsize=size)
plt.xlabel("$x/l_F$")
it's being saved as eps for latex. At the size given the "F" from l_F is
truncated just a little bit. It works well if I change y-size to 3.6 but that
makes latex place to figure on a seperate page which I do not want.
Is this behavior by design or a bug? How can I give just 0.1 more y-space to
the xlabel without altering the overall size?
Thanks,
Florian
|
|
From: Benjamin R. <ben...@ou...> - 2013-07-03 13:36:24
|
On Wed, Jul 3, 2013 at 3:13 AM, ChaoYue <cha...@gm...> wrote: > Thanks Ben. I tried but still confused. > > In [8]: fig,ax = plt.subplots() > > In [9]: ax.plot(range(100)) > Out[9]: [<matplotlib.lines.Line2D at 0x4cadb50>] > > In [10]: ax.get_xticks() > Out[10]: array([ 0., 20., 40., 60., 80., 100.]) > > In [11]: ax.get_yticks() > Out[11]: array([ 0., 20., 40., 60., 80., 100.]) > > In [12]: draw() > > In [13]: cs = ax.imshow(np.arange(100).reshape(10,10)) > > In [14]: draw() > > In [15]: cbar = plt.colorbar(cs,ticks=np.arange(0,100,10)) > > In [16]: cbar.ax.get_yticks() > Out[16]: > array([ 0. , 0.1010101 , 0.2020202 , 0.3030303 , 0.4040404 , > 0.50505051, 0.60606061, 0.70707071, 0.80808081, 0.90909091]) > > there are many methods avaialbe for cbar.ax.yaxis object: > In [19]: cbar.ax.yaxis.get*tick*? > cbar.ax.yaxis.get_major_ticks > cbar.ax.yaxis.get_majorticklabels > cbar.ax.yaxis.get_majorticklines > cbar.ax.yaxis.get_majorticklocs > cbar.ax.yaxis.get_minor_ticks > cbar.ax.yaxis.get_minorticklabels > cbar.ax.yaxis.get_minorticklines > cbar.ax.yaxis.get_minorticklocs > cbar.ax.yaxis.get_ticklabel_extents > cbar.ax.yaxis.get_ticklabels > cbar.ax.yaxis.get_ticklines > cbar.ax.yaxis.get_ticklocs > cbar.ax.yaxis.get_ticks_position > > I tried > In [20]: cbar.ax.yaxis.get_majorticklocs() > Out[20]: > array([ 0. , 0.1010101 , 0.2020202 , 0.3030303 , 0.4040404 , > 0.50505051, 0.60606061, 0.70707071, 0.80808081, 0.90909091]) > > But it doesn't give the tick locs as the normal axes? > > could you explain a bit further? > > thanks et cheers, > > Chao > > Remember, there is a difference between a tick location, and a tick label. A colormap works from 0 to 1, so that is its data coordinates. We merely label the ticks with the appropriate values. Try cbar.ax.yaxis.get_ticklabels(). Cheers! Ben Root |
|
From: ChaoYue <cha...@gm...> - 2013-07-03 07:13:55
|
Thanks Ben. I tried but still confused.
In [8]: fig,ax = plt.subplots()
In [9]: ax.plot(range(100))
Out[9]: [<matplotlib.lines.Line2D at 0x4cadb50>]
In [10]: ax.get_xticks()
Out[10]: array([ 0., 20., 40., 60., 80., 100.])
In [11]: ax.get_yticks()
Out[11]: array([ 0., 20., 40., 60., 80., 100.])
In [12]: draw()
In [13]: cs = ax.imshow(np.arange(100).reshape(10,10))
In [14]: draw()
In [15]: cbar = plt.colorbar(cs,ticks=np.arange(0,100,10))
In [16]: cbar.ax.get_yticks()
Out[16]:
array([ 0. , 0.1010101 , 0.2020202 , 0.3030303 , 0.4040404 ,
0.50505051, 0.60606061, 0.70707071, 0.80808081, 0.90909091])
there are many methods avaialbe for cbar.ax.yaxis object:
In [19]: cbar.ax.yaxis.get*tick*?
cbar.ax.yaxis.get_major_ticks
cbar.ax.yaxis.get_majorticklabels
cbar.ax.yaxis.get_majorticklines
cbar.ax.yaxis.get_majorticklocs
cbar.ax.yaxis.get_minor_ticks
cbar.ax.yaxis.get_minorticklabels
cbar.ax.yaxis.get_minorticklines
cbar.ax.yaxis.get_minorticklocs
cbar.ax.yaxis.get_ticklabel_extents
cbar.ax.yaxis.get_ticklabels
cbar.ax.yaxis.get_ticklines
cbar.ax.yaxis.get_ticklocs
cbar.ax.yaxis.get_ticks_position
I tried
In [20]: cbar.ax.yaxis.get_majorticklocs()
Out[20]:
array([ 0. , 0.1010101 , 0.2020202 , 0.3030303 , 0.4040404 ,
0.50505051, 0.60606061, 0.70707071, 0.80808081, 0.90909091])
But it doesn't give the tick locs as the normal axes?
could you explain a bit further?
thanks et cheers,
Chao
On Tue, Jul 2, 2013 at 4:17 PM, Benjamin Root-2 [via matplotlib] <
ml-...@n5...> wrote:
> This is a constant source of confusion. The colorbar object should be
> thought of as just another subaxes. To get the ticks, you want the ticks
> from the colorbar's yaxis or xaxis object accordingly. Of course, I could
> have sworn we added a helper function for this at some point, but I could
> be wrong.
>
> I hope that helps!
> Ben Root
>
>
> On Tue, Jul 2, 2013 at 5:43 AM, Chao YUE <[hidden email]<http://user/SendEmail.jtp?type=node&node=41365&i=0>
> > wrote:
>
>> Dear all matplotlib users,
>>
>> I found there is not a get_ticks method available for colorbar instance,
>> how could I quick get the ticks of a colorbar?
>>
>> thanks,
>>
>> Chao
>> --
>>
>> ***********************************************************************************
>> Chao YUE
>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
>> UMR 1572 CEA-CNRS-UVSQ
>> Batiment 712 - Pe 119
>> 91191 GIF Sur YVETTE Cedex
>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>>
>> ************************************************************************************
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Matplotlib-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=41365&i=1>
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
> ------------------------------------------------------------------------------
>
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=41365&i=2>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://matplotlib.1069221.n5.nabble.com/quickly-return-colorbar-ticks-tp41361p41365.html
> To start a new topic under matplotlib - users, email
> ml-...@n5...
> To unsubscribe from matplotlib, click here<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=Y2hhb3l1ZWpveUBnbWFpbC5jb218MnwxMzg1NzAzMzQx>
> .
> NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/quickly-return-colorbar-ticks-tp41361p41384.html
Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: ChaoYue <cha...@gm...> - 2013-07-03 07:04:41
|
Thanks Ben. extendrect keyword is in mat 1.3, I didn't try this but I tried set_under and extend='min' with mat 1.2 and it works very nice. cheers, Chao On Tue, Jul 2, 2013 at 4:14 PM, Benjamin Root-2 [via matplotlib] < ml-...@n5...> wrote: > There is the "set_over" and "set_under" members of a colormap, and the > plt.colorbar() function takes an "extend='min'" argument to add an extra > color at the beginning of the colorbar. Setting "extendrect=True", the > added color will be rectangular instead of triangular. > > Hopefully that helps. > > Cheers, > Ben Root > > > > On Tue, Jul 2, 2013 at 6:14 AM, Chao YUE <[hidden email]<http://user/SendEmail.jtp?type=node&node=41364&i=0> > > wrote: > >> One way I could think of is to make two contingent mat.axes.Axes, >> with a smaller one setting as white backgroud, and the other bigger on >> holding the colorbar. Is there some better way? >> >> Chao >> >> >> On Tue, Jul 2, 2013 at 12:12 PM, Chao YUE <[hidden email]<http://user/SendEmail.jtp?type=node&node=41364&i=1> >> > wrote: >> >>> Dear all, >>> >>> Does anyone have similar experience that to make a colorbar >>> starting from a different color in the colormap? for example, to >>> denote the region with invalid data. I attahced a figure to show >>> what I would like to have, the withe region in the colorbar in the >>> attahced figure shows no data. >>> >>> thanks a lot for any help, >>> >>> best, >>> >>> Chao >>> >>> -- >>> >>> *********************************************************************************** >>> Chao YUE >>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) >>> UMR 1572 CEA-CNRS-UVSQ >>> Batiment 712 - Pe 119 >>> 91191 GIF Sur YVETTE Cedex >>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 >>> >>> ************************************************************************************ >>> >> >> >> >> -- >> >> *********************************************************************************** >> Chao YUE >> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) >> UMR 1572 CEA-CNRS-UVSQ >> Batiment 712 - Pe 119 >> 91191 GIF Sur YVETTE Cedex >> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 >> >> ************************************************************************************ >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Matplotlib-users mailing list >> [hidden email] <http://user/SendEmail.jtp?type=node&node=41364&i=2> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Matplotlib-users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=41364&i=3> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://matplotlib.1069221.n5.nabble.com/how-to-make-a-colorbar-starting-with-a-different-color-tp41362p41364.html > To start a new topic under matplotlib - users, email > ml-...@n5... > To unsubscribe from matplotlib, click here<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=Y2hhb3l1ZWpveUBnbWFpbC5jb218MnwxMzg1NzAzMzQx> > . > NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- *********************************************************************************** Chao YUE Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) UMR 1572 CEA-CNRS-UVSQ Batiment 712 - Pe 119 91191 GIF Sur YVETTE Cedex Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 ************************************************************************************ -- View this message in context: http://matplotlib.1069221.n5.nabble.com/how-to-make-a-colorbar-starting-with-a-different-color-tp41362p41383.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Nelle V. <nel...@gm...> - 2013-07-03 04:57:14
|
On 2 July 2013 16:33, Anthony Scopatz <sc...@gm...> wrote: > > On Tue, Jul 2, 2013 at 9:04 AM, Jason Grout <jas...@cr...> > wrote: >> >> On 7/1/13 9:33 AM, Michael Droettboom wrote: >> > SciPy 2013 was a great success. I didn't get good headcount at the >> > matplotlib BOF, but it was a good number, and we had 15 participants at >> > various points during the sprints. It was nice to see the diversity of >> > experience with matplotlib at the sprints, and I hope we oldtimers were >> > helpful to the newtimers getting started so they can continue to >> > contribute in the future. It was also great to put some faces to many >> > of the talented names I've been seeing on github and the mailing list >> > lately. >> > >> >> On a slightly different, but related topic: is there any chance the >> entries (or at least the winning entries) to the plotting contest could >> be posted online? > > > Yes, We'll put try to put these on the conference website at the very least. We also talked about adding this to the matplotlib website, but we need to sort out first the copyright problems and then coding this part of the website. Thanks, Nelle > > Be Well > Anthony > >> >> >> Thanks, >> >> Jason >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |