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



Showing 3 results of 3

From: Christoph G. <cg...@uc...> - 2015年09月17日 17:30:45
I can reproduce the AttributeError on all Python versions and the crash 
(in Python's _tkinter.pyd extension) on Python 3.4.
As a workaround you might try to upgrade to matplotlib 1.5, which seems 
to work for me.
Christoph
On 9/17/2015 6:46 AM, Bobby Wilkins wrote:
> Thank you all.
>
> I am using Python 3.4.3.
>
> I meant to include a pip list:
>
> Assimulo (2.8)
> decorator (4.0.2)
> gmpy2 (2.0.7)
> ipykernel (4.0.3)
> ipython (4.0.0)
> ipython-genutils (0.1.0)
> ipywidgets (4.0.2)
> Jinja2 (2.8)
> jsonschema (2.5.1)
> jupyter-client (4.0.0)
> jupyter-core (4.0.4)
> MarkupSafe (0.23)
> matplotlib (1.4.3)
> mistune (0.7.1)
> nbconvert (4.0.0)
> nbformat (4.0.0)
> nose (1.3.7)
> notebook (4.0.4)
> numpy (1.9.2)
> pandas (0.16.2)
> path.py (8.1)
> pickleshare (0.5)
> pip (7.1.2)
> Pygments (2.0.2)
> pyparsing (2.0.3)
> pyreadline (2.0)
> python-dateutil (2.4.2)
> pytz (2015.4)
> pyzmq (14.7.0)
> requests (2.7.0)
> scipy (0.16.0)
> setuptools (18.2)
> simplegeneric (0.8.1)
> six (1.9.0)
> sympy (0.7.6)
> testpath (0.2)
> tornado (4.2.1)
> traitlets (4.0.0)
>
> So, if the program works for Python 2.7 but not 3.4.3, maybe that is the
> problem? Let me try to install Python 2.7 tonight and see what that does.
>
> On Wed, Sep 16, 2015 at 8:39 AM, Sterling Smith <sm...@fu...
> <mailto:sm...@fu...>> wrote:
>
> Works fine for
>
> {{{
> : python
> Python 2.7.10 (default, Sep 15 2015, 11:26:42)
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> /Users/smithsp/.pyhistory
> >>> import matplotlib
> >>> matplotlib.__version__
> '1.4.3'
> >>> import numpy
> >>> numpy.__version__
> '1.9.2'
> >>> matplotlib.get_backend()
> u’MacOSX'
> }}}
>
> All are obtained through MacPorts on OSX 10.9.5.
>
> -Sterling
>
>
>
> On Sep 16, 2015, at 6:50AM, Benjamin Root <ben...@gm...
> <mailto:ben...@gm...>> wrote:
>
> > Btw, I can't reproduce the problem using matplotlib master, numpy master and linux. I know it isn't at all similar to your setup, but it is a data point.
> >
> > On Wed, Sep 16, 2015 at 9:43 AM, Benjamin Root <ben...@gm... <mailto:ben...@gm...>> wrote:
> > What version of numpy do you have installed?
> >
> > On Wed, Sep 16, 2015 at 5:35 AM, Bobby Wilkins <bob...@gm... <mailto:bob...@gm...>> wrote:
> > OS: Windows 8.1 Pro
> >
> > matplotlib version: 1.4.3
> >
> > where obtained:http://www.lfd.uci.edu/~gohlke/pythonlibs/
> <http://www.lfd.uci.edu/%7Egohlke/pythonlibs/>
> >
> > customizations: none
> >
> > Sample Program: attached py file; this is a Physics homework problem; I have the answers I need, but would like to fix the errors to be able to label all lines.
> >
> > Debug output in attached output.txt file
> >
> > If you uncomment line 180, the error is reported as if it came from that line even though there is no float64 on that line (savefig). If commented, it does not report a line from my .py file...
> >
> > If you make line 170 read as follows, the error goes away:
> >
> > if (maxTerm<32):
> >
> > This suggests to me that the additional labels for the 32, 64, 128, and 154 term runs is what is triggering the bug, but I cannot figure out what it is.
> >
> > Also, separate note, just about any time I make figures, when closing the last figure I get a python.exe app crash and this message:
> >
> > alloc: invalid block: 00000000044E7680: 0 d
> >
> >
> > Thank you for any help,
> > Bobby
> >
> >
> > ------------------------------------------------------------------------------
> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> > Get real-time metrics from all of your servers, apps and tools
> > in one place.
> > SourceForge users - Click here to start your Free Trial of Datadog now!
> >http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> > _______________________________________________
> > Matplotlib-users mailing list
> >Mat...@li...
> <mailto:Mat...@li...>
> >https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> > Get real-time metrics from all of your servers, apps and tools
> > in one place.
> > SourceForge users - Click here to start your Free Trial of Datadog now!
> >http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
> > Matplotlib-users mailing list
> >Mat...@li...
> <mailto:Mat...@li...>
> >https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Zaiwen G. <zg...@bn...> - 2015年09月17日 14:05:24
Hi,
I am trying to install matplotlib on my RedHat Linux 6.5 with Python33.
Unfortunately, 'matplotlib' rpm isn't available for python33. `python-matplotlib` is included only for python2.6 from Red Hat Linux 6.5.
So I try installing the latest module from matplotlib source using 'python easy_install'.
#*scl enable python33 'bash'*
#*easy_install -m matplotlib
*
The install finished fine, but I am still get this error when I tried to import matplotlib. Is there anything else that I need to config?
# scl enable python33 'python'
Python 3.3.2 (default, Mar 20 2014, 20:25:51)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import scipy
>>> import matplotlib
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named 'matplotlib'
Below is the console when I run "easy_install -m matplotlib".
*At the end, it says "Finished processing dependencies for matplotlib". 
Does that mean matplotlib is not really installed yet?*
Do I miss any steps?
****************************************************************************************************************** 
Searching for matplotlib
Reading https://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.org
Reading http://matplotlib.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading 
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 
Reading 
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/ 
Reading 
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/ 
Reading 
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 
Reading 
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 
Reading 
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/ 
Reading 
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/ 
Reading 
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading 
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ 
Best match: matplotlib 1.4.3
Downloading 
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 
Processing matplotlib-1.4.3.tar.gz
Writing /tmp/easy_install-uiv2i6/matplotlib-1.4.3/setup.cfg
Running matplotlib-1.4.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-uiv2i6/matplotlib-1.4.3/egg-dist-tmp-dn5itl
============================================================================ 
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
 matplotlib: yes [1.4.3]
 python: yes [3.3.2 (default, Mar 20 2014, 20:25:51) [GCC
 4.4.6 20120305 (Red Hat 4.4.6-4)]]
 platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.7.1]
 six: yes [The installed version of six is 1.3.0 but 
a the minimum required version is 1.4. pip/easy install will attempt to 
install a newer version.]
 dateutil: yes [dateutil was not found. It is required for 
date axis support. pip/easy_install may attempt to install it after 
matplotlib.]
 pytz: yes [pytz was not found. pip will attempt to 
install it after matplotlib.]
 tornado: yes [tornado was not found. It is required for 
the WebAgg backend. pip/easy_install may attempt to install it after 
matplotlib.]
 pyparsing: yes [pyparsing was not found. It is required 
for mathtext support. pip/easy_install may attempt to install it after 
matplotlib.]
 pycxx: yes [Official versions of PyCXX are not 
compatible with matplotlib on Python 3.x, since they lack support for 
the buffer object. Using local copy]
 libagg: yes [pkg-config information for 'libagg' could 
not be found. Using local copy.]
 freetype: yes [version 2.3.11]
 png: yes [version 1.2.49]
 qhull: yes [pkg-config information for 'qhull' could 
not be
 found. Using local copy.]
OPTIONAL SUBPACKAGES
 sample_data: yes [installing]
 toolkits: yes [installing]
 tests: yes [using nose version 1.3.0 / using 
unittest.mock]
 toolkits_tests: yes [using nose version 1.3.0 / using 
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
 macosx: no [Mac OS-X only]
 qt5agg: no [PyQt5 not found]
 qt4agg: no [PyQt4 not found]
 pyside: no [PySide not found]
 gtk3agg: no [Requires pygobject to be installed.]
 gtk3cairo: no [Requires cairocffi or pycairo to be 
installed.]
 gtkagg: no [Requires pygtk]
 tkagg: no [The C/C++ header for Tk (tk.h) could not 
be found. You may need to install the development package.]
 wxagg: no [requires wxPython]
 gtk: no [Requires pygtk]
 agg: yes [installing]
 cairo: no [cairocffi or pycairo not found]
 windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
 dvipng: yes [version 1.11]
 ghostscript: yes [version 8.70]
 latex: yes [version 3.141592]
 pdftops: no
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from src/file_compat.h:7,
 from src/ft2font.cpp:7:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from src/ft2font.cpp:7:
src/file_compat.h: In function ���FILE* mpl_PyFile_Dup(PyObject*, char*, 
off_t*)���:
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h: In function ���int mpl_PyFile_DupClose(PyObject*, 
FILE*, off_t)���:
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/ft2font.h: In constructor 
���FT2Font::FT2Font(Py::PythonClassInstance*, Py::Tuple&, Py::Dict&)���:
src/ft2font.h:140: warning: ���FT2Font::face��� will be initialized after
src/ft2font.h:136: warning: ���Py::Object FT2Font::image���
src/ft2font.cpp:851: warning: when initialized here
src/ft2font.cpp: In member function ���Py::Object 
FT2Image::py_write_bitmap(const Py::Tuple&)���:
src/ft2font.cpp:184: warning: ���offset��� may be used uninitialized in 
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/_png.cpp:28:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from src/_png.cpp:31:
src/file_compat.h: In function ���FILE* mpl_PyFile_Dup(PyObject*, char*, 
off_t*)���:
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h: In function ���int mpl_PyFile_DupClose(PyObject*, 
FILE*, off_t)���:
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/_png.cpp: In member function ���PyObject* 
_png_module::_read_png(const Py::Object&, bool, int)���:
src/_png.cpp:331: warning: deprecated conversion from string constant to 
���char*���
src/_png.cpp:316: warning: ���offset��� may be used uninitialized in 
this function
src/_png.cpp: In member function ���Py::Object 
_png_module::write_png(const Py::Tuple&)���:
src/_png.cpp:108: warning: ���offset��� may be used uninitialized in 
this function
/usr/bin/ld: skipping incompatible /usr/lib/libpng12.so when searching 
for -lpng12
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/_image.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
src/_image.cpp: In member function ���Py::Object 
_image_module::from_images(const Py::Tuple&)���:
src/_image.cpp:805: warning: ���alpha��� may be used uninitialized in 
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
src/_ttconv.cpp: In member function ���virtual void 
PythonFileWriter::write(const char*)���:
src/_ttconv.cpp:57: warning: deprecated conversion from string constant 
to ���char*���
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/agg_py_path_iterator.h:7,
 from src/_path.cpp:3:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
src/_path.cpp: In function ���void point_in_path_impl(const void*, 
size_t, size_t, size_t, T&, npy_bool*) [with T = points_in_path(const 
void*, size_t, size_t, size_t, double, PathIterator&, const 
agg::trans_affine&, npy_bool*)::contour_t]���:
src/_path.cpp:302: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:302: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp: In function ���void point_in_path_impl(const void*, 
size_t, size_t, size_t, T&, npy_bool*) [with T = points_on_path(const 
void*, size_t, size_t, size_t, double, PathIterator&, const 
agg::trans_affine&, npy_bool*)::stroke_t]���:
src/_path.cpp:336: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:336: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/path_cleanup.cpp:5:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/cntr.c:23:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from 
lib/matplotlib/delaunay/VoronoiDiagramGenerator.h:34,
 from lib/matplotlib/delaunay/_delaunay.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from 
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:38:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
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
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/noprefix.h:9,
 from src/qhull_wrap.c:9:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from lib/matplotlib/tri/_tri.h:68,
 from lib/matplotlib/tri/_tri.cpp:8:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
 from src/agg_py_path_iterator.h:7,
 from src/_backend_agg.h:43,
 from src/_backend_agg.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it by #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
In file included from src/_backend_agg.cpp:44:
src/file_compat.h: In function ���FILE* mpl_PyFile_Dup(PyObject*, char*, 
off_t*)���:
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:66: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:82: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:109: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h: In function ���int mpl_PyFile_DupClose(PyObject*, 
FILE*, off_t)���:
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/file_compat.h:155: warning: deprecated conversion from string 
constant to ���char*���
src/_backend_agg.cpp: In member function ���Py::Object 
RendererAgg::draw_markers(const Py::Tuple&)���:
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
Installed 
/opt/rh/python33/root/usr/lib/python3.3/site-packages/matplotlib-1.4.3-py3.3-linux-x86_64.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
 pkg_resources.require("matplotlib") # latest installed version
 pkg_resources.require("matplotlib==1.4.3") # this exact version
 pkg_resources.require("matplotlib>=1.4.3") # this version or higher
Processing dependencies for matplotlib
Searching for pyparsing>=1.5.6,!=2.0.0
Reading https://pypi.python.org/simple/pyparsing/
Reading http://pyparsing.sourceforge.net/
Reading http://pyparsing.wikispaces.com/
Reading http://sourceforge.net/project/showfiles.php?group_id=97203
Reading http://sourceforge.net/projects/pyparsing
Best match: pyparsing 2.0.3
Downloading 
https://pypi.python.org/packages/source/p/pyparsing/pyparsing-2.0.3.zip#md5=0a5ec41bb650aed802751a311b5d820d 
Processing pyparsing-2.0.3.zip
Writing /tmp/easy_install-8vc0lc/pyparsing-2.0.3/setup.cfg
Running pyparsing-2.0.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-8vc0lc/pyparsing-2.0.3/egg-dist-tmp-bdgu2g
zip_safe flag not set; analyzing archive contents...
__pycache__.pyparsing.cpython-33: module MAY be using inspect.stack
Installed 
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pyparsing-2.0.3-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
 pkg_resources.require("pyparsing") # latest installed version
 pkg_resources.require("pyparsing==2.0.3") # this exact version
 pkg_resources.require("pyparsing>=2.0.3") # this version or higher
Searching for pytz
Reading https://pypi.python.org/simple/pytz/
Best match: pytz 2015.4
Downloading 
https://pypi.python.org/packages/3.3/p/pytz/pytz-2015.4-py3.3.egg#md5=e21dada2b1eaff746d21b2ac6f76f034 
Processing pytz-2015.4-py3.3.egg
Moving pytz-2015.4-py3.3.egg to 
/opt/rh/python33/root/usr/lib/python3.3/site-packages
Installed 
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pytz-2015.4-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
 pkg_resources.require("pytz") # latest installed version
 pkg_resources.require("pytz==2015.4") # this exact version
 pkg_resources.require("pytz>=2015.4") # this version or higher
Searching for python-dateutil!=2.1
Reading https://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
Reading https://dateutil.readthedocs.org
Best match: python-dateutil 2.4.2
Downloading 
https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz#md5=4ef68e1c485b09e9f034e10473e5add2 
Processing python-dateutil-2.4.2.tar.gz
Writing /tmp/easy_install-ugb9nf/python-dateutil-2.4.2/setup.cfg
Running python-dateutil-2.4.2/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-ugb9nf/python-dateutil-2.4.2/egg-dist-tmp-7bb_lh
Installed 
/opt/rh/python33/root/usr/lib/python3.3/site-packages/python_dateutil-2.4.2-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
 pkg_resources.require("python-dateutil") # latest installed version
 pkg_resources.require("python-dateutil==2.4.2") # this exact version
 pkg_resources.require("python-dateutil>=2.4.2") # this version or 
higher
Searching for six>=1.4
Reading https://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading 
https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4 
Processing six-1.9.0.tar.gz
Writing /tmp/easy_install-5oq3yv/six-1.9.0/setup.cfg
Running six-1.9.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-5oq3yv/six-1.9.0/egg-dist-tmp-q7x1ha
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
__pycache__.six.cpython-33: module references __path__
Installed 
/opt/rh/python33/root/usr/lib/python3.3/site-packages/six-1.9.0-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
 pkg_resources.require("six") # latest installed version
 pkg_resources.require("six==1.9.0") # this exact version
 pkg_resources.require("six>=1.9.0") # this version or higher
*Finished processing dependencies for matplotlib *
************************************************************************************************************** 
Thanks,
Zaiwen
From: Bobby W. <bob...@gm...> - 2015年09月17日 13:46:47
Thank you all.
I am using Python 3.4.3.
I meant to include a pip list:
Assimulo (2.8)
decorator (4.0.2)
gmpy2 (2.0.7)
ipykernel (4.0.3)
ipython (4.0.0)
ipython-genutils (0.1.0)
ipywidgets (4.0.2)
Jinja2 (2.8)
jsonschema (2.5.1)
jupyter-client (4.0.0)
jupyter-core (4.0.4)
MarkupSafe (0.23)
matplotlib (1.4.3)
mistune (0.7.1)
nbconvert (4.0.0)
nbformat (4.0.0)
nose (1.3.7)
notebook (4.0.4)
numpy (1.9.2)
pandas (0.16.2)
path.py (8.1)
pickleshare (0.5)
pip (7.1.2)
Pygments (2.0.2)
pyparsing (2.0.3)
pyreadline (2.0)
python-dateutil (2.4.2)
pytz (2015.4)
pyzmq (14.7.0)
requests (2.7.0)
scipy (0.16.0)
setuptools (18.2)
simplegeneric (0.8.1)
six (1.9.0)
sympy (0.7.6)
testpath (0.2)
tornado (4.2.1)
traitlets (4.0.0)
So, if the program works for Python 2.7 but not 3.4.3, maybe that is the
problem? Let me try to install Python 2.7 tonight and see what that does.
On Wed, Sep 16, 2015 at 8:39 AM, Sterling Smith <sm...@fu...>
wrote:
> Works fine for
>
> {{{
> : python
> Python 2.7.10 (default, Sep 15 2015, 11:26:42)
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> /Users/smithsp/.pyhistory
> >>> import matplotlib
> >>> matplotlib.__version__
> '1.4.3'
> >>> import numpy
> >>> numpy.__version__
> '1.9.2'
> >>> matplotlib.get_backend()
> u’MacOSX'
> }}}
>
> All are obtained through MacPorts on OSX 10.9.5.
>
> -Sterling
>
>
>
> On Sep 16, 2015, at 6:50AM, Benjamin Root <ben...@gm...> wrote:
>
> > Btw, I can't reproduce the problem using matplotlib master, numpy master
> and linux. I know it isn't at all similar to your setup, but it is a data
> point.
> >
> > On Wed, Sep 16, 2015 at 9:43 AM, Benjamin Root <ben...@gm...>
> wrote:
> > What version of numpy do you have installed?
> >
> > On Wed, Sep 16, 2015 at 5:35 AM, Bobby Wilkins <bob...@gm...>
> wrote:
> > OS: Windows 8.1 Pro
> >
> > matplotlib version: 1.4.3
> >
> > where obtained: http://www.lfd.uci.edu/~gohlke/pythonlibs/
> >
> > customizations: none
> >
> > Sample Program: attached py file; this is a Physics homework problem; I
> have the answers I need, but would like to fix the errors to be able to
> label all lines.
> >
> > Debug output in attached output.txt file
> >
> > If you uncomment line 180, the error is reported as if it came from that
> line even though there is no float64 on that line (savefig). If commented,
> it does not report a line from my .py file...
> >
> > If you make line 170 read as follows, the error goes away:
> >
> > if (maxTerm<32):
> >
> > This suggests to me that the additional labels for the 32, 64, 128, and
> 154 term runs is what is triggering the bug, but I cannot figure out what
> it is.
> >
> > Also, separate note, just about any time I make figures, when closing
> the last figure I get a python.exe app crash and this message:
> >
> > alloc: invalid block: 00000000044E7680: 0 d
> >
> >
> > Thank you for any help,
> > Bobby
> >
> >
> >
> ------------------------------------------------------------------------------
> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> > Get real-time metrics from all of your servers, apps and tools
> > in one place.
> > SourceForge users - Click here to start your Free Trial of Datadog now!
> > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> > Get real-time metrics from all of your servers, apps and tools
> > in one place.
> > SourceForge users - Click here to start your Free Trial of Datadog now!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

Showing 3 results of 3

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