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
|
|
From: Goyo <goy...@gm...> - 2014-07-04 17:22:58
|
2014-07-04 8:30 GMT+02:00 Rachana Katkam <kat...@gm...>: > Hey, even I had similar issue. > Later I learnt python2.7 could support matplotlib version1.0.1 only. > > So if you want to upgrade your matplotlib, you first need to upgrade your > python. matplotlib 1.3.1 works quite well with python 2.7. Goyo |
|
From: <jos...@gm...> - 2014-07-04 15:42:14
|
On Fri, Jul 4, 2014 at 10:07 AM, Dino Bektešević <lj...@gm...> wrote:
> Hello dydy,
>
> If you've never done programing in python I would recommend a book
> "dive into python" any version will do but the latest one is 3 I
> think. Asking this questions in tut...@py... will probably
> get you even further since they mainly deal with general python
> learning.
>
> Whatever you can use through command prompt you can use in python if
> you use import subprocess. Subprocess.call("command") calls whatever
> command you want over the command line. If you can call IDL to run
> files over command line this can be an option. If not you're going to
> have to use a wrapper tool like SWIG is foc c/c++ or another module to
> connect to IDL. A useful module here will usually be os as well.
>
> As for installations of modules under windows platforms, that's always
> tricky, I recommend using a virtualenv with pip, because then
> generally installing a module boils down to using "pip install". But
> even in virtualenv on windows I've had issues with installing i.e.
> matplotlib and found it impossible and I've had to install it
> system-wide by using one of the unofficial binary installers from:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/ and from then I have to
> start start each virtualenv with the option --system-site-packages
> which kind of defeats the purpose of a virtualenv, but such is the
> nature of developing on win's....
> (I've read that you can activate local modules by hand, but I've not
> been able to reproduce it)
>
I never recommend pip to Windows users (at least not until everything is in
wheels).
The last few times I had no problem `easy_install`ing the matplotlib exe
installer in a virtualenv, nor any of the other exe installers.
(pip is for Linux users, I never found anything better than easy_install on
Windows.)
Josef
>
>
> I know this is a bunch of new info, I suggest you read up on it, best of
> luck,
> Dino
>
> 2014-07-04 3:05 GMT+02:00 dydy2014 <dya...@gm...>:
> > Hello all,
> >
> > I interested in python programming that is why I join in this forum.
> > I want to know how to install new module in my python program?. I use
> python
> > under windows OS.
> > Actually, I interest with PyNio but I don't know how to install it.
> > Another question is how to make other language, for example, IDL, can be
> > read in python?
> > Thank you....
> >
> > Dydy
> >
> >
> >
> > --
> > View this message in context:
> http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
> > Sent from the matplotlib - users mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Open source business process management suite built on Java and Eclipse
> > Turn processes into business applications with Bonita BPM Community
> Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > http://p.sf.net/sfu/Bonitasoft
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Dino B. <lj...@gm...> - 2014-07-04 14:08:01
|
Hello dydy,
If you've never done programing in python I would recommend a book
"dive into python" any version will do but the latest one is 3 I
think. Asking this questions in tut...@py... will probably
get you even further since they mainly deal with general python
learning.
Whatever you can use through command prompt you can use in python if
you use import subprocess. Subprocess.call("command") calls whatever
command you want over the command line. If you can call IDL to run
files over command line this can be an option. If not you're going to
have to use a wrapper tool like SWIG is foc c/c++ or another module to
connect to IDL. A useful module here will usually be os as well.
As for installations of modules under windows platforms, that's always
tricky, I recommend using a virtualenv with pip, because then
generally installing a module boils down to using "pip install". But
even in virtualenv on windows I've had issues with installing i.e.
matplotlib and found it impossible and I've had to install it
system-wide by using one of the unofficial binary installers from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/ and from then I have to
start start each virtualenv with the option --system-site-packages
which kind of defeats the purpose of a virtualenv, but such is the
nature of developing on win's....
(I've read that you can activate local modules by hand, but I've not
been able to reproduce it)
I know this is a bunch of new info, I suggest you read up on it, best of luck,
Dino
2014-07-04 3:05 GMT+02:00 dydy2014 <dya...@gm...>:
> Hello all,
>
> I interested in python programming that is why I join in this forum.
> I want to know how to install new module in my python program?. I use python
> under windows OS.
> Actually, I interest with PyNio but I don't know how to install it.
> Another question is how to make other language, for example, IDL, can be
> read in python?
> Thank you....
>
> Dydy
>
>
>
> --
> View this message in context: http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Rachana K. <kat...@gm...> - 2014-07-04 06:30:44
|
Hey, even I had similar issue. Later I learnt python2.7 could support matplotlib version1.0.1 only. So if you want to upgrade your matplotlib, you first need to upgrade your python. On Thu, Jul 3, 2014 at 7:05 AM, jw <gw...@ou...> wrote: > I installed using version 1.3.1 windows binary > "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation > went fine, but when using the package, it says "dateutil" and "pyparsing" > are missing, which are supposed to be bundled according to the installation > instruction. Is this a bug or expected behavior from now on? I did not have > this issue for earlier versions of matplotlib. > My base python is 2.7.8. > > If anyone is having the issue, either download the binaries from pythonlibs > mentioned above, or > install from the sources, which I did as follows: > (1) Install setuptools if you don't have it. > Download source from https://pypi.python.org/pypi/setuptools; > Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install' > This will install setuptools. > > (2) Install any other package by downloading the source, unpacking, and > running 'setup.py install' > e.g., "dateutil" has been installed this way. > https://pypi.python.org/pypi/python-dateutil, same for pyparsing > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: dydy2014 <dya...@gm...> - 2014-07-04 01:05:30
|
Hello all, I interested in python programming that is why I join in this forum. I want to know how to install new module in my python program?. I use python under windows OS. Actually, I interest with PyNio but I don't know how to install it. Another question is how to make other language, for example, IDL, can be read in python? Thank you.... Dydy -- View this message in context: http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Oliver <oli...@gm...> - 2014-07-03 10:17:54
|
Adding a caption to a plot inserted with the `plot` directive from mpl's
sphinxextensions does not work for me, even though the [documentation][1]
says it should be possible.
The relevant ReST snippet:
```
.. plot:: /home/oliver/git/lcp2/code/python/plot_scripts/tangent_circles.py
:align: center
:alt: 'Schematic drawing of the two solution methods'
Schematic drawing showing the two possible solution methods discussed.
```
I'm getting the following traceback:
# Sphinx version: 1.1.3
# Python version: 2.7.3
# Docutils version: 0.9.1 release
# Jinja2 version: 2.6
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/cmdline.py",
line 189, in main
app.build(force_all, filenames)
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/application.py",
line 204, in build
self.builder.build_update()
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 196, in build_update
'out of date' % len(to_build))
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 216, in build
purple, length):
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 120, in status_iterator
for item in iterable:
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/environment.py",
line 613, in update_generator
self.read_doc(docname, app=app)
File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/environment.py",
line 761, in read_doc
pub.publish()
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/core.py",
line 221, in publish
self.settings)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/readers/__init__.py",
line 69, in read
self.parse()
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/readers/__init__.py",
line 75, in parse
self.parser.parse(self.input, document)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/__init__.py",
line 162, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 174, in run
input_source=document['source'])
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
context, state, transitions)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
return method(match, context, next_state)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2706, in underline
self.section(title, source, style, lineno - 1, messages)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 331, in section
self.new_subsection(title, lineno, messages)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 399, in new_subsection
node=section_node, match_titles=True)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 286, in nested_parse
node=node, match_titles=match_titles)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
context, state, transitions)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
return method(match, context, next_state)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2706, in underline
self.section(title, source, style, lineno - 1, messages)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 331, in section
self.new_subsection(title, lineno, messages)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 399, in new_subsection
node=section_node, match_titles=True)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 286, in nested_parse
node=node, match_titles=match_titles)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
context, state, transitions)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
return method(match, context, next_state)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2279, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2291, in explicit_construct
return method(self, expmatch)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2034, in directive
directive_class, match, type_name, option_presets)
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2083, in run_directive
result = directive_instance.run()
File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/__init__.py",
line 387, in run
self.state, self.state_machine)
File
"/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line
210, in plot_directive
return run(arguments, content, options, state_machine, state, lineno)
File
"/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line
598, in run
raise RuntimeError("plot:: directive can't have both args and content")
RuntimeError: plot:: directive can't have both args and content
I don't see a reference in the documentation saying it's a feature that was
added in a newer version of mpl.
What am I doing wrong?
[1]:
http://matplotlib.org/devel/documenting_mpl.html#module-matplotlib.sphinxext.plot_directive
|
|
From: jw <gw...@ou...> - 2014-07-03 01:35:54
|
I installed using version 1.3.1 windows binary
"matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
went fine, but when using the package, it says "dateutil" and "pyparsing"
are missing, which are supposed to be bundled according to the installation
instruction. Is this a bug or expected behavior from now on? I did not have
this issue for earlier versions of matplotlib.
My base python is 2.7.8.
If anyone is having the issue, either download the binaries from pythonlibs
mentioned above, or
install from the sources, which I did as follows:
(1) Install setuptools if you don't have it.
Download source from https://pypi.python.org/pypi/setuptools;
Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
This will install setuptools.
(2) Install any other package by downloading the source, unpacking, and
running 'setup.py install'
e.g., "dateutil" has been installed this way.
https://pypi.python.org/pypi/python-dateutil, same for pyparsing
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Christoph G. <cg...@uc...> - 2014-07-02 19:37:06
|
On 7/2/2014 11:46 AM, Alan Ezust wrote: > I am still trying to build matplotlib on windows. The instructions on > 1717 were very helpful, I managed to build the > prerequisites manually based on the instructions in the dep_build.cmd > that came from matplotlib-winbuild project. > > But when I try to run it I get this error message: > >>>> import matplotlib.pyplot as plt > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py", > line 27, in <module> > import matplotlib.colorbar > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py", > line 34, in <module> > import matplotlib.collections as collections > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py", > line 27, in <module> > import matplotlib.backend_bases as backend_bases > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py", > line 56, in <module> > import matplotlib.textpath as textpath > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py", > line 22, in <module> > from matplotlib.mathtext import MathTextParser > File > "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py", > line 63, in <module> > import matplotlib._png as _png > ImportError: DLL load failed: The specified module could not be found. > > I am guessing it doesn't like the filename of the png16.dll file, but > how do I know what filename it is looking for? > I noticed I had to rename a bunch of .lib files in order to build > matplotlib from source, but that was OK since the error message > said what file it was looking for. How do I determine the correct > filename to use from here? > It's better to use the static libraries for libpng, zlib, and freetype (unless you have reasons not to). Rename the .lib files as in the build script: <https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L236> <https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L214> <https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L247> Christoph |
|
From: Alan E. <ala...@gm...> - 2014-07-02 18:47:04
|
I am still trying to build matplotlib on windows. The instructions on 1717
were very helpful, I managed to build the
prerequisites manually based on the instructions in the dep_build.cmd that
came from matplotlib-winbuild project.
But when I try to run it I get this error message:
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py",
line 27, in <module>
import matplotlib.colorbar
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py",
line 34, in <module>
import matplotlib.collections as collections
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py",
line 27, in <module>
import matplotlib.backend_bases as backend_bases
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py",
line 56, in <module>
import matplotlib.textpath as textpath
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py",
line 22, in <module>
from matplotlib.mathtext import MathTextParser
File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py",
line 63, in <module>
import matplotlib._png as _png
ImportError: DLL load failed: The specified module could not be found.
I am guessing it doesn't like the filename of the png16.dll file, but how
do I know what filename it is looking for?
I noticed I had to rename a bunch of .lib files in order to build
matplotlib from source, but that was OK since the error message
said what file it was looking for. How do I determine the correct filename
to use from here?
|
|
From: Sturla M. <stu...@gm...> - 2014-06-29 20:35:13
|
"Dawes, Andrew M." <da...@pa...> wrote: > Any suggestions/hacks are welcome! Mayavi (a VTK-based plotting tool) is much better for 3D plots: http://docs.enthought.com/mayavi/mayavi/auto/examples.html http://docs.enthought.com/mayavi/mayavi/mlab.html Sturla |
|
From: Philippe Mallet-L. <phi...@ce...> - 2014-06-29 19:06:28
|
Hello,
I try to threshold an image manually by using a slider widget to set the
threshold value (I don’t binarize my image, but mask it). I superimpose my
thresholded image to the original according to a colormap.
I cannot figure out why if I put the initial threshold to the max value of my
original image, my thresolded one is monochrome while with another initial
value, it follows the colormap.
Here is my code (change `f0 = gray_data.max()` to `f0 = gray_data.max() / 2`
to see the difference):
'''
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.widgets import Slider
# Generate some data...
gray_data = np.arange(10000).reshape(100, 100)
fig, ax = plt.subplots()
fig.subplots_adjust(bottom=0.25)
ax.matshow(gray_data, cmap=plt.cm.gray)
axcolor = 'lightgoldenrodyellow'
axthresh = fig.add_axes([0.25, 0.1, 0.65, 0.03], axisbg=axcolor)
f0 = gray_data.max()
sthresh = Slider(axthresh, 'threshold', gray_data.min(), gray_data.max(),
valinit=f0)
mask = gray_data < f0
masked = np.ma.array(gray_data, mask=mask)
masked_ax = ax.imshow(masked, alpha=0.5)
def update(val):
threshold = sthresh.val
mask = gray_data < threshold
masked.mask = mask
masked_ax.set_data(masked)
fig.canvas.draw_idle()
sthresh.on_changed(update)
plt.show()
'''
Thank you for your help.
|
|
From: Eric F. <ef...@ha...> - 2014-06-28 07:20:54
|
On 2014/06/27, 9:59 AM, zunbeltz wrote: > I have a script that fetchs data from a database and plot using > something similar to > > fig, (ax1, ax3) = plt.subplots(2, 1, sharex=False, sharey=False, num=fignum) > ax1.errorbar(...) > title(...) > ax2 = ax1.twiny() > ax4 = ax2.twiny() > ... > plt.legent() > plt.draw() > > Then, I call this script with plt.ion() and I use plt.show(block=True); > so the plot stays opened. > > Now, I want to rerun the script every second to get the updated data > from the database. Is it posible to have the plot no blocking the script > and being refresh? You might find that plt.pause(1) is helpful. See pylab_examples/animation_demo.py. Also, it sounds like running via ipython, if possible, would make things easier for you; it takes care of all sorts of difficulties with interactivity. And it's wonderfully helpful in other ways as well. > > I try to use block=False but this makes that the plot is not shown. I > want to change my original script as little as possible. One posible > idea I have is to pickle the plot (in the original script); and use > another script that opens the pickled file every second. That sounds overly complex and roundabout. I'm sure that one or more of the suggestions above can lead to a simple solution. Eric > > TIA > > Zunbeltz > (posted unsuccessfully at stackoverflow) > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Dawes, A. M. <da...@pa...> - 2014-06-27 18:04:35
|
Thanks Ben for the tip on edgecolor. I’ve got what I wanted now and since it took some digging and tinkering I figured I’d write it up and share the solution with anyone who may want it: https://dawes.wordpress.com/2014/06/27/publication-ready-3d-figures-from-matplotlib/ and full test-case script here: https://github.com/DawesLab/Qfunction/blob/master/TestQfunc.py This creates two surface plots with contours below them, labels placed tight to the axes, and some other bits that make it work well for publishing in a two-column journal (black & white, color online). I’m happy to format and post this to the official documentation if that would be helpful. Best, Andy -- Andrew M.C. Dawes Associate Professor of Physics Pacific University amcdawes.com On June 26, 2014 at 6:27:10 PM, Benjamin Root (ben...@ou...<mailto:ben...@ou...>) wrote: If you supply the code you did to get where you got, I have a rough idea how to get what you need. Essentially, you need to set the edgecolor of the panes, I think. I have to dig a bit in the code to see how to do that, though. Cheers! Ben Root On Thu, Jun 26, 2014 at 7:42 PM, Dawes, Andrew M. <da...@pa...<mailto:da...@pa...>> wrote: I’m trying to plot a 3d surface with a box frame around both sides (see example in the following link) comparable example: http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png I made the axis panes white and disabled the grid which gets me 80% of the way. I don’t see anything obvious for showing additional axis lines to make the rest of the box (if such an option exists). Any suggestions/hacks are welcome! Thanks, Andy -- Andrew M.C. Dawes Associate Professor of Physics Pacific University amcdawes.com<http://amcdawes.com> ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Matplotlib-users mailing list Mat...@li...<mailto:Mat...@li...> https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Benjamin R. <ben...@ou...> - 2014-06-27 14:23:37
|
actually, that is technically incorrect. That only works for monotonically
increasing series, but not monotonically decreasing series.
diffs = np.diff(lon)
if np.all(diffs <= 0):
return True
if np.all(diffs >= 0):
return True
return False
provided that len(lon) >= 2, obviously (and it doesn't work right for 2 or
more dimensions).
Ben Root
On Fri, Jun 27, 2014 at 10:03 AM, Jason Swails <jas...@gm...>
wrote:
> On Thu, 2014-06-26 at 23:14 -0700, billyi wrote:
> > Oh my, it WAS the meshgrid! Thank you so much!
> > When reading the coordinates like:
> > lat = FB.variables['lat'][:,:]
> > lon = FB.variables['lon'][:,:]
> >
> > And plotting (without meshgrid!):
> > m.pcolormesh(lon, lat, masked_fb, latlon=True)
> >
> > it works! Now I feel stupid.
> > And I think the longitudes and latitudes are not monotonic, but I don't
> know
> > the way to check this, other than checking the array like lon[:] in
> > terminal. Is there a better way?
>
> Yes. Consider:
>
> py> all(lon[:-1] <= lon[1:])
>
> If True, then lon is monotonically increasing. Otherwise it's not.
>
> Description:
>
> lon[:-1] is a slice that takes every element of lon except the last one.
> lon[1:] is a slice that takes every element of lon except the first one.
> The comparison operator will create a bool numpy array whose elements
> will be True for each element "i" if the i'th element is less than or
> equal to the i+1'th element. Applying the "all" (or numpy.all)
> functions to this bool array will return True if every element is true
> and False otherwise.
>
> Faster, easier, and less error-prone than printing out the array and
> checking it yourself. Of course you could do something more explicit:
>
> py> monotonic = True
> py> for i in range(len(lon)-1):
> py> if lon[i] > lon[i+1]:
> py> monotonic = False
> py> break
>
> HTH,
> Jason
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Jason S. <jas...@gm...> - 2014-06-27 14:00:35
|
On Thu, 2014-06-26 at 23:14 -0700, billyi wrote: > Oh my, it WAS the meshgrid! Thank you so much! > When reading the coordinates like: > lat = FB.variables['lat'][:,:] > lon = FB.variables['lon'][:,:] > > And plotting (without meshgrid!): > m.pcolormesh(lon, lat, masked_fb, latlon=True) > > it works! Now I feel stupid. > And I think the longitudes and latitudes are not monotonic, but I don't know > the way to check this, other than checking the array like lon[:] in > terminal. Is there a better way? Yes. Consider: py> all(lon[:-1] <= lon[1:]) If True, then lon is monotonically increasing. Otherwise it's not. Description: lon[:-1] is a slice that takes every element of lon except the last one. lon[1:] is a slice that takes every element of lon except the first one. The comparison operator will create a bool numpy array whose elements will be True for each element "i" if the i'th element is less than or equal to the i+1'th element. Applying the "all" (or numpy.all) functions to this bool array will return True if every element is true and False otherwise. Faster, easier, and less error-prone than printing out the array and checking it yourself. Of course you could do something more explicit: py> monotonic = True py> for i in range(len(lon)-1): py> if lon[i] > lon[i+1]: py> monotonic = False py> break HTH, Jason |
|
From: Joel B. M. <jo...@ki...> - 2014-06-27 10:09:26
|
On 06/27/2014 02:14 AM, billyi wrote: > And I think the longitudes and latitudes are not monotonic, but I don't know > the way to check this, other than checking the array like lon[:] in > terminal. Is there a better way? numpy slicing (subtract prior from next element check that 'all' the results are >=0): In [1]: import numpy In [2]: x=numpy.array([1,2,3,4,5]) In [3]: (x[1:]-x[:-1])>=0 Out[3]: array([ True, True, True, True], dtype=bool) In [4]: numpy.all((x[1:]-x[:-1])>=0) Out[4]: True In [5]: x=numpy.array([1,3,2,5,4]) In [6]: numpy.all((x[1:]-x[:-1])>=0) Out[6]: False |
|
From: zunbeltz <zun...@gm...> - 2014-06-27 07:59:45
|
I have a script that fetchs data from a database and plot using something similar to fig, (ax1, ax3) = plt.subplots(2, 1, sharex=False, sharey=False, num=fignum) ax1.errorbar(...) title(...) ax2 = ax1.twiny() ax4 = ax2.twiny() ... plt.legent() plt.draw() Then, I call this script with plt.ion() and I use plt.show(block=True); so the plot stays opened. Now, I want to rerun the script every second to get the updated data from the database. Is it posible to have the plot no blocking the script and being refresh? I try to use block=False but this makes that the plot is not shown. I want to change my original script as little as possible. One posible idea I have is to pickle the plot (in the original script); and use another script that opens the pickled file every second. TIA Zunbeltz (posted unsuccessfully at stackoverflow) |
|
From: Nils W. <ni...@go...> - 2014-06-27 07:28:56
|
Hi all, how can I resolve the problem described at http://community.coreldraw.com/forums/p/31103/146512.aspx Nils |
|
From: billyi <bil...@ho...> - 2014-06-27 06:15:02
|
Oh my, it WAS the meshgrid! Thank you so much! When reading the coordinates like: lat = FB.variables['lat'][:,:] lon = FB.variables['lon'][:,:] And plotting (without meshgrid!): m.pcolormesh(lon, lat, masked_fb, latlon=True) it works! Now I feel stupid. And I think the longitudes and latitudes are not monotonic, but I don't know the way to check this, other than checking the array like lon[:] in terminal. Is there a better way? And thank you again! Bill Wang -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580p43588.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Benjamin R. <ben...@ou...> - 2014-06-27 01:27:20
|
If you supply the code you did to get where you got, I have a rough idea how to get what you need. Essentially, you need to set the edgecolor of the panes, I think. I have to dig a bit in the code to see how to do that, though. Cheers! Ben Root On Thu, Jun 26, 2014 at 7:42 PM, Dawes, Andrew M. <da...@pa...> wrote: > I’m trying to plot a 3d surface with a box frame around both sides (see > example in the following link) > > comparable example: > http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png > > I made the axis panes white and disabled the grid which gets me 80% of > the way. I don’t see anything obvious for showing additional axis lines to > make the rest of the box (if such an option exists). > > Any suggestions/hacks are welcome! > > Thanks, Andy > > > -- > Andrew M.C. Dawes > Associate Professor of Physics > Pacific University > amcdawes.com > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Dawes, A. M. <da...@pa...> - 2014-06-27 00:17:26
|
I’m trying to plot a 3d surface with a box frame around both sides (see example in the following link) comparable example: http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png I made the axis panes white and disabled the grid which gets me 80% of the way. I don’t see anything obvious for showing additional axis lines to make the rest of the box (if such an option exists). Any suggestions/hacks are welcome! Thanks, Andy -- Andrew M.C. Dawes Associate Professor of Physics Pacific University amcdawes.com |
|
From: Benjamin R. <ben...@ou...> - 2014-06-26 14:52:47
|
don't know if this would make a difference, but meshgrid here is completely unnecessary given that the netcdf file has the lats and lons in 2 dimensions anyway. Given that this is a polar projection, I wouldn't be surprised if there is something wonky there. Are the longitudes and latitudes monotonic? Cheers! Ben Root On Thu, Jun 26, 2014 at 4:42 AM, billyi <bil...@ho...> wrote: > Hi all! I'm trying to plot some sea ice freeboard data (netCDF, Gridded > total > freeboard) on the Antarctic sea, but the data that should plot nicely > around > Antarctica lies at the bottom of my image. NetCDF and matplotlib are fairly > new to me so I'm not quite sure, where the error could be and I feel like > I've search and tried everything there is. > <http://matplotlib.1069221.n5.nabble.com/file/n43580/bad_fb.png> > > from scipy.io.netcdf import netcdf_file as Dataset > import numpy as np > import matplotlib.pyplot as plt > > FB = Dataset('./datasets/fb-0217-0320.nc', 'r') > f = FB.variables['f'][:,:] > lat = FB.variables['lat'][:,0] > lon = FB.variables['lon'][0,:] > masked_fb = np.ma.masked_where(np.isnan(f), f) > mtx_lon, mtx_lat = np.meshgrid(lon, lat) > m = Basemap(projection='spstere',boundinglat=-50, lon_0=180., > resolution='l') > m.bluemarble() > > plt.figure() > m.pcolormesh(mtx_lon, mtx_lat, masked_fb, latlon=True) > plt.show() > > And ncdump gives: > dimensions: > x = 79 ; > y = 83 ; > variables: > float lat(y, x) ; > lat:standard_name = "latitude" ; > lat:long_name = "latitude coordinate" ; > lat:units = "degrees_north" ; > float lon(y, x) ; > lon:standard_name = "longitude" ; > lon:long_name = "longitude coordinate" ; > lon:units = "degrees_east" ; > float f(y, x) ; > f:long_name = "total_freeboard" ; > f:units = "mm" ; > f:coordinates = "lat lon" ; > > Could there be something funny with the projection or handling the data? > (When using meshgrid, handling the coordinates like ['lat'][:,0] seems > necessary, otherwise it turns lats and lons like (6557,6557) and gives > error > message for pcolormesh, since masked_fb is (83,79).) > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: billyi <bil...@ho...> - 2014-06-26 08:43:04
|
Hi all! I'm trying to plot some sea ice freeboard data (netCDF, Gridded total freeboard) on the Antarctic sea, but the data that should plot nicely around Antarctica lies at the bottom of my image. NetCDF and matplotlib are fairly new to me so I'm not quite sure, where the error could be and I feel like I've search and tried everything there is. <http://matplotlib.1069221.n5.nabble.com/file/n43580/bad_fb.png> from scipy.io.netcdf import netcdf_file as Dataset import numpy as np import matplotlib.pyplot as plt FB = Dataset('./datasets/fb-0217-0320.nc', 'r') f = FB.variables['f'][:,:] lat = FB.variables['lat'][:,0] lon = FB.variables['lon'][0,:] masked_fb = np.ma.masked_where(np.isnan(f), f) mtx_lon, mtx_lat = np.meshgrid(lon, lat) m = Basemap(projection='spstere',boundinglat=-50, lon_0=180., resolution='l') m.bluemarble() plt.figure() m.pcolormesh(mtx_lon, mtx_lat, masked_fb, latlon=True) plt.show() And ncdump gives: dimensions: x = 79 ; y = 83 ; variables: float lat(y, x) ; lat:standard_name = "latitude" ; lat:long_name = "latitude coordinate" ; lat:units = "degrees_north" ; float lon(y, x) ; lon:standard_name = "longitude" ; lon:long_name = "longitude coordinate" ; lon:units = "degrees_east" ; float f(y, x) ; f:long_name = "total_freeboard" ; f:units = "mm" ; f:coordinates = "lat lon" ; Could there be something funny with the projection or handling the data? (When using meshgrid, handling the coordinates like ['lat'][:,0] seems necessary, otherwise it turns lats and lons like (6557,6557) and gives error message for pcolormesh, since masked_fb is (83,79).) -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Christoph G. <cg...@uc...> - 2014-06-26 01:31:58
|
On 6/25/2014 6:22 PM, Alan Ezust wrote:
> I apologize, the error message I posted earlier was for a branch which
> was not even merged into the current git origin/master.
>
> I just switched back to the real "origin/master" branch... Now I get a
> completely different error message.
> Windows 7, with ms visual C++ 2010 SP1 x86
>
> python setup.py install
> ============================================================================
> Edit setup.cfg to change the build options
>
> BUILDING MATPLOTLIB
> matplotlib: yes [1.4.x]
> python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
> 10:37:12) [MSC v.1600 32 bit (Intel)]]
> platform: yes [win32]
>
> REQUIRED DEPENDENCIES AND EXTENSIONS
> numpy: yes [version 1.8.1]
> six: yes [using six version 1.6.1]
> dateutil: yes [using dateutil version 2.2]
> tornado: yes [using tornado version 3.2.1]
> pyparsing: yes [using pyparsing version 2.0.2]
> pycxx: yes [Official versions of PyCXX are not compatible
> with Python 3.x. Using local copy]
> libagg: yes [pkg-config information for 'libagg' could not
> be found. Using local copy.]
> freetype: yes [Unknown version]
> png: yes [pkg-config information for 'libpng' could not
> be found. Using unknown version.]
> 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.3 / using
> unittest.mock]
>
> OPTIONAL BACKEND EXTENSIONS
> macosx: no [Mac OS-X only]
> qt4agg: no [PyQt4 not found]
> gtk3agg: no [gtk3agg backend does not work on Python 3]
> gtk3cairo: no [Requires pygobject 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: yes [installing, pycairo version 1.10.0]
> windowing: yes [installing, installing]
>
> OPTIONAL LATEX DEPENDENCIES
> dvipng: no
> ghostscript: no
> latex: no
> pdftops: no
>
> running install
> running bdist_egg
> running egg_info
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> reading manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> installing library code to build\bdist.win32\egg
> running install_lib
> running build_py
> copying lib\matplotlib\mpl-data\matplotlibrc ->
> build\lib.win32-3.3\matplotlib\mpl-data
> running build_ext
> building 'freetype2' extension
> Traceback (most recent call last):
> File "setup.py", line 264, in <module>
> **extra_args
> File "C:\Python33\lib\distutils\core.py", line 148, in setup
> dist.run_commands()
> File "C:\Python33\lib\distutils\dist.py", line 930, in run_commands
> self.run_command(cmd)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 65, in run
> self.do_egg_install()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 107, in do_egg_install
> self.run_command('bdist_egg')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 157, in run
> cmd = self.call_command('install_lib', warn_dir=0)
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 143, in call_command
> self.run_command(cmdname)
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File
> "C:\Python33\lib\site-packages\setuptools\command\install_lib.py", line
> 8, in run
> self.build()
> File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in
> build
> self.run_command('build_ext')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 49, in run
> _build_ext.run(self)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
> self.build_extensions()
> File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in
> build_extensions
> self.build_extension(ext)
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 178, in build_extension
> _build_ext.build_extension(self,ext)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 549, in
> build_extension
> target_lang=language)
> File "C:\Python33\lib\distutils\ccompiler.py", line 717, in
> link_shared_object
> extra_preargs, extra_postargs, build_temp, target_lang)
> File "C:\Python33\lib\distutils\msvc9compiler.py", line 621, in link
> build_temp = os.path.dirname(objects[0])
> IndexError: list index out of range
>
>
That's <https://github.com/matplotlib/matplotlib/issues/3140>
For hints building matplotlib and dependencies on Windows see
<https://github.com/matplotlib/matplotlib/issues/1717>
Christoph
|
|
From: Alan E. <ala...@gm...> - 2014-06-26 01:22:59
|
I apologize, the error message I posted earlier was for a branch which was
not even merged into the current git origin/master.
I just switched back to the real "origin/master" branch... Now I get a
completely different error message.
Windows 7, with ms visual C++ 2010 SP1 x86
python setup.py install
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.x]
python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
10:37:12) [MSC v.1600 32 bit (Intel)]]
platform: yes [win32]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.1]
six: yes [using six version 1.6.1]
dateutil: yes [using dateutil version 2.2]
tornado: yes [using tornado version 3.2.1]
pyparsing: yes [using pyparsing version 2.0.2]
pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [Unknown version]
png: yes [pkg-config information for 'libpng' could not
be found. Using unknown version.]
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.3 / using unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt4agg: no [PyQt4 not found]
gtk3agg: no [gtk3agg backend does not work on Python 3]
gtk3cairo: no [Requires pygobject 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: yes [installing, pycairo version 1.10.0]
windowing: yes [installing, installing]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
running install
running bdist_egg
running egg_info
writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
writing top-level names to lib\matplotlib.egg-info\top_level.txt
writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
writing lib\matplotlib.egg-info\PKG-INFO
writing requirements to lib\matplotlib.egg-info\requires.txt
writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
writing top-level names to lib\matplotlib.egg-info\top_level.txt
writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
writing lib\matplotlib.egg-info\PKG-INFO
writing requirements to lib\matplotlib.egg-info\requires.txt
reading manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc ->
build\lib.win32-3.3\matplotlib\mpl-data
running build_ext
building 'freetype2' extension
Traceback (most recent call last):
File "setup.py", line 264, in <module>
**extra_args
File "C:\Python33\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python33\lib\distutils\dist.py", line 930, in run_commands
self.run_command(cmd)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line
65, in run
self.do_egg_install()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line
107, in do_egg_install
self.run_command('bdist_egg')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
line 157, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
line 143, in call_command
self.run_command(cmdname)
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install_lib.py",
line 8, in run
self.build()
File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in
build
self.run_command('build_ext')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
line 49, in run
_build_ext.run(self)
File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
self.build_extensions()
File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in
build_extensions
self.build_extension(ext)
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
line 178, in build_extension
_build_ext.build_extension(self,ext)
File "C:\Python33\lib\distutils\command\build_ext.py", line 549, in
build_extension
target_lang=language)
File "C:\Python33\lib\distutils\ccompiler.py", line 717, in
link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 621, in link
build_temp = os.path.dirname(objects[0])
IndexError: list index out of range
|