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





Showing results of 446

<< < 1 .. 16 17 18 (Page 18 of 18)
From: Jeff W. <js...@fa...> - 2008年06月02日 17:28:18
KURT PETERS wrote:
> Thanks,
> I made that change after an unfruitful attempt at installing gtk, which 
> should have worked in my estimation. Now, at least I get by that original 
> point.
>
> NOW basemaps won't work any more! When I run, I get:
> 
Kurt: As you discovered, you'll need basemap 0.99 to use with 
matplotlib 0.98.0. I only have a source tarball on the sf site now, and 
you apparently are looking for the windows binary installer. I hope to 
have that up sometime next week - problem is that the person whose PC I 
use to build it is on vacation now. Perhaps someone will step up and 
build a basemap windows installer before then, or I can talk you through 
how to build one yourself with MingW32.
BTW; with the new basemap you'll have to use
from mpl_toolkits.basemap import Basemap
instead of the old
from matplotlib.toolkits.basemap import Basemap
-Jeff
> Traceback (most recent call last):
> File "C:\Documents and 
> Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", 
> line 13, in <module>
> from matplotlib.toolkits.basemap import Basemap as Basemap
> ImportError: No module named toolkits.basemap
>
> I'm supposing that I NOW have to reinstall basemaps. The basemaps installer 
> won't work for me any more though :-(
> This is that message I get when trying to reinstall basemaps:
>
> C:\Python25\Lib\basemap-0.99>c:\Python25\python.exe setup.py install
> checking for GEOS lib in /usr/local ....
> checking for GEOS lib in /sw ....
> checking for GEOS lib in /opt ....
> checking for GEOS lib in /opt/local ....
> checking for GEOS lib in C:\Documents and Settings\kpeters ....
> Traceback (most recent call last):
> File "setup.py", line 80, in <module>
> geos_include_dirs=[os.path.join(GEOS_dir,'include'),numpy.get_include()]
> File "C:\Python25\lib\ntpath.py", line 90, in join
> assert len(path) > 0
> TypeError: object of type 'NoneType' has no len()
>
> I hope no one else has this pain when upgrading.
> Regards,
> Kurt
> ----Original Message Follows----
> From: "John Hunter" <jd...@gm...>
> To: "KURT PETERS" <pet...@ms...>, "Charlie Moad" <cw...@gm...>
> CC: mat...@li...
> Subject: Re: [Matplotlib-users] Update to Matplotlib and Numpy producing 
> error
> Date: Mon, 2 Jun 2008 11:01:48 -0500
>
> On Mon, Jun 2, 2008 at 10:41 AM, KURT PETERS <pet...@ms...> wrote:
>
> > File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py",
> > line 6, in <module>
> > import gobject
> > ImportError: No module named gobject
>
> This is a problem with our installer since the default backend we have
> set is GTKAgg (we usually set it to GTKAgg). Fortunately, it is
> relatively easy for you to fix:. Edit
> site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
> GTKAgg' line to
>
> backend : TkAgg
>
> Charlie -- we will need to roll out a new binary builds which fix this
> ASAP because this will bite all the win32 users who don't have a
> custom rc, which is most of them I suspect. We'll also need to check
> the settings in the 91.3 release. My apologies for not testing this
> as you requested (I did test on linux though). You probably will also
> want to check the default backend for the OS X eggs too.....
>
> JDH
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
From: John H. <jd...@gm...> - 2008年06月02日 17:22:01
On Mon, Jun 2, 2008 at 12:09 PM, Les Schaffer <sch...@op...> wrote:
> there are two files there: matplotlibrc and matplotlib.conf. is there a
> selection principle for choosing one or the other?
matplotlib.conf is used at build time, so you can ignore it with the
binary installer.
> i moved matplotlibrc to the indicated folder, set backed to WXAgg and some
By the way, on windows you can edit the rc file in place (ie leave it
in mpl-data). I need to update the instructions in that file -- they
are out of date.
> of the examples run. but i am getting failures finding pylab when i run the
> pylab examples:
> $ python geo_demo.py
> Traceback (most recent call last):
> File "geo_demo.py", line 4, in <module>
> from pylab import *
> ImportError: No module named pylab
>
> am not sure why the interpreter isnt finding pylab module even tho, for
> example, examples/{api, animation} runs, with a few exceptions.
This is weird: it is working on my end once I update my "backend"
setting to "TkAgg". After running the 0.98 installer do you have
pylab.py in site-packages? Make sure you remove all matplotlib traces
from site-packages before installing.
JDH
From: KURT P. <pet...@ms...> - 2008年06月02日 17:11:48
Thanks,
 I made that change after an unfruitful attempt at installing gtk, which 
should have worked in my estimation. Now, at least I get by that original 
point.
 NOW basemaps won't work any more! When I run, I get:
Traceback (most recent call last):
 File "C:\Documents and 
Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", 
line 13, in <module>
 from matplotlib.toolkits.basemap import Basemap as Basemap
ImportError: No module named toolkits.basemap
I'm supposing that I NOW have to reinstall basemaps. The basemaps installer 
won't work for me any more though :-(
This is that message I get when trying to reinstall basemaps:
C:\Python25\Lib\basemap-0.99>c:\Python25\python.exe setup.py install
checking for GEOS lib in /usr/local ....
checking for GEOS lib in /sw ....
checking for GEOS lib in /opt ....
checking for GEOS lib in /opt/local ....
checking for GEOS lib in C:\Documents and Settings\kpeters ....
Traceback (most recent call last):
 File "setup.py", line 80, in <module>
 geos_include_dirs=[os.path.join(GEOS_dir,'include'),numpy.get_include()]
 File "C:\Python25\lib\ntpath.py", line 90, in join
 assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
 I hope no one else has this pain when upgrading.
Regards,
Kurt
----Original Message Follows----
From: "John Hunter" <jd...@gm...>
To: "KURT PETERS" <pet...@ms...>, "Charlie Moad" <cw...@gm...>
CC: mat...@li...
Subject: Re: [Matplotlib-users] Update to Matplotlib and Numpy producing 
error
Date: Mon, 2 Jun 2008 11:01:48 -0500
On Mon, Jun 2, 2008 at 10:41 AM, KURT PETERS <pet...@ms...> wrote:
 > File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py",
 > line 6, in <module>
 > import gobject
 > ImportError: No module named gobject
This is a problem with our installer since the default backend we have
set is GTKAgg (we usually set it to GTKAgg). Fortunately, it is
relatively easy for you to fix:. Edit
site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
GTKAgg' line to
 backend : TkAgg
Charlie -- we will need to roll out a new binary builds which fix this
ASAP because this will bite all the win32 users who don't have a
custom rc, which is most of them I suspect. We'll also need to check
the settings in the 91.3 release. My apologies for not testing this
as you requested (I did test on linux though). You probably will also
want to check the default backend for the OS X eggs too.....
JDH
From: Les S. <sch...@op...> - 2008年06月02日 17:09:34
John Hunter wrote:
> This is a problem with our installer since the default backend we have
> set is GTKAgg (we usually set it to GTKAgg). Fortunately, it is
> relatively easy for you to fix:. Edit
> site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
> GTKAgg' line to
>
> backend : TkAgg
there are two files there: matplotlibrc and matplotlib.conf. is there a 
selection principle for choosing one or the other?
i moved matplotlibrc to the indicated folder, set backed to WXAgg and 
some of the examples run. but i am getting failures finding pylab when i 
run the pylab examples:
$ python geo_demo.py
Traceback (most recent call last):
 File "geo_demo.py", line 4, in <module>
 from pylab import *
ImportError: No module named pylab
am not sure why the interpreter isnt finding pylab module even tho, for 
example, examples/{api, animation} runs, with a few exceptions.
Les
From: C M <cmp...@gm...> - 2008年06月02日 16:43:31
On Mon, Jun 2, 2008 at 3:15 AM, Pierre Raybaut <co...@py...> wrote:
> Hi matplotlib developers,
>
> Congratulations for the brand new matplotlib website!
> It looks great and modern, and that's exactly what matplotlib deserves.
>
> And congratulations for the new release as well, of course.
> Keep up your good work!
>
> Regards,
> Pierre Raybaut
I completely agree--the site looks very nice, and congratulations on
this major release!
From: John H. <jd...@gm...> - 2008年06月02日 16:01:55
On Mon, Jun 2, 2008 at 10:41 AM, KURT PETERS <pet...@ms...> wrote:
> File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py",
> line 6, in <module>
> import gobject
> ImportError: No module named gobject
This is a problem with our installer since the default backend we have
set is GTKAgg (we usually set it to GTKAgg). Fortunately, it is
relatively easy for you to fix:. Edit
site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
GTKAgg' line to
 backend : TkAgg
Charlie -- we will need to roll out a new binary builds which fix this
ASAP because this will bite all the win32 users who don't have a
custom rc, which is most of them I suspect. We'll also need to check
the settings in the 91.3 release. My apologies for not testing this
as you requested (I did test on linux though). You probably will also
want to check the default backend for the OS X eggs too.....
JDH
From: KURT P. <pet...@ms...> - 2008年06月02日 15:41:46
I tried to upgrade to the latest matplot lib (0.98 win32), which made me 
upgrade numpy (1.1.0). I followed the advice of the install hints and 
deleted the "old" matplotlib folder in site-packages before running the 
windows installer.
 Unfortunately, I get this error when trying to run my program in Eclipse:
Traceback (most recent call last):
 File "C:\Documents and 
Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", 
line 10, in <module>
 import pylab as p
 File "C:\Python25\Lib\site-packages\matplotlib\pylab.py", line 246, in 
<module>
 from matplotlib.pyplot import *
 File "C:\Python25\Lib\site-packages\matplotlib\pyplot.py", line 39, in 
<module>
 new_figure_manager, draw_if_interactive, show = pylab_setup()
 File "C:\Python25\Lib\site-packages\matplotlib\backends\__init__.py", line 
24, in pylab_setup
 globals(),locals(),[backend_name])
 File 
"C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtkagg.py", line 
10, in <module>
 from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, 
FigureCanvasGTK,\
 File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py", 
line 6, in <module>
 import gobject
ImportError: No module named gobject
Did I not update something correctly?
Regards,
Kurt
From: John H. <jd...@gm...> - 2008年06月02日 14:23:58
On Mon, Jun 2, 2008 at 4:30 AM, Andyy <ggi...@gm...> wrote:
> Does anyone know how can i change the grey background color of the canvas,
> the one which comes by default.
>
> Is that the axes color or canvas color? Please Help.
That is the facecolor of the figure patch, and you can set it like:
fig = figure(facecolor='red', edgecolor='white')
and also when you save you can set it there, since we have different
defaults for display and hardcopy
fig.savfig('myfig', facecolor='white', edgecolor='white')
both of these defaults can be changed in the matplotlib configuration
matplotlibrc (http://matplotlib.sf.net/matplotlibrc) file using the
following settings:
figure.figsize : 8, 6 # figure size in inches
figure.dpi : 80 # figure dots per inch
figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
figure.edgecolor : white # figure edgecolor
savefig.dpi : 100 # figure dots per inch
savefig.facecolor : white # figure facecolor when saving
savefig.edgecolor : white # figure edgecolor when saving
JDH
From: Friedrich H. <fri...@gm...> - 2008年06月02日 13:10:34
Hello,
the original problem that I have is to add an arrow to the end of a
plotted line. I tried this
from pylab import *
x=linspace(0, 1.85, 100)
y=sin(x)
dx=x[-1] - x[-2]
dy=y[-1] - y[-2]
plot(x,y,lw=2)
arrow(x[-2], y[-2], dx, dy,
 width=.02,
 length_includes_head=True,
 head_length=sqrt(dx**2+dy**2),
 lw=0, overhang=.1)
But this is ugly. And when I zoom in the arrowsize isnt scaled with the
linewidth.
Any idea instead to switch to the pyx package?
By,
 Friedrich
From: Michael D. <md...@st...> - 2008年06月02日 12:53:56
First to correct some confusion (and a good candidate to add to the new 
docs that everyone is working so hard on...): mathtext and usetex are 
completely independent systems, and you can only use either one of the 
other. Therefore, if usetex is True, none of the mathtext settings will 
have any effect.
Erik Tollerud wrote:
> I am having trouble figuring out how to control the weight of labels
> and text with the usetex option set to True. I would like to force
> all mathmode labels and text to be at least bold. I can imagine doing
> this either by substituting a font (i.e. changing the mathtext.fontset
> to 'custom' and all of the different matext.?? to some boldface font),
> or some the font.weight rc parameter, but neither of these has any
> effect - whatever I do, the mathmode and other TeX formatted text
> stays the same weight. How can I make it just turn up the weights to
> bold without changing anything else?
> 
This is not something that is directly supported. When usetex is True, 
all of the rendering happens with (La)TeX, so you're limited by what 
(La)TeX can do. You would probably need to find some LaTeX package that 
does this, and then \include it in the LaTeX preamble using the 
"text.latex.preamble" setting. My quick Googling didn't reveal anything 
that can do that, however.
You can get bold in a math expression by enclosing content in \mathbf{}, 
but that is by definition "upright" bold. The reason, I believe, is 
that (core) LaTeX simply doesn't include the fonts for Greek characters 
and other symbols in bold.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Friedrich H. <fri...@gm...> - 2008年06月02日 12:19:56
On Mon, Jun 02, 2008 at 03:12:19PM +0300, Jouni K. Seppänen wrote:
> Friedrich Hagedorn <fri...@gm...> writes:
>
> > % xpdf foo.pdf
> >
> > then I see on the startpoint an ugly pike. With gv and evince
> > everything is ok.
>
> Just to be sure about what the problem is, could you show us a
> screenshot of the ugly rendering, and another of a better rendering in
> another viewer? I think the list doesn't accept attachments, so it would
> be best if you could put the files somewhere on the web and send a link
> to the list or, failing that, send the screenshots to me by email.
I try it.
> Also, what exact version of xpdf are you using?
xpdf version 3.02
Thanks,
 Friedrich
From: Jouni K. S. <jk...@ik...> - 2008年06月02日 12:12:33
Friedrich Hagedorn <fri...@gm...> writes:
> % xpdf foo.pdf
>
> then I see on the startpoint an ugly pike. With gv and evince
> everything is ok.
Just to be sure about what the problem is, could you show us a
screenshot of the ugly rendering, and another of a better rendering in
another viewer? I think the list doesn't accept attachments, so it would
be best if you could put the files somewhere on the web and send a link
to the list or, failing that, send the screenshots to me by email.
Also, what exact version of xpdf are you using?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Pierre R. <co...@py...> - 2008年06月02日 12:03:41
Sorry for repeating myself... but congratulations again for the new
Matplotlib release, especially for the Qt4 backend improvements. A few days
ago, I was about to suggest some improvements in Qt4 backend, but what
you've done is so much better.
The Matplotlib toolbar is now a real Qt toolbar, and it changes everything:
appareance, integration in a complex GUI. That is a great step ahead for
matplotlib widgets in Qt GUIs.
Another good reason to choose Qt4 as default backend in Matplotlib.
Thanks for your great work.
Regards,
Pierre Raybaut
From: Friedrich H. <fri...@gm...> - 2008年06月02日 12:02:43
Hello,
when I create an arrow with
>>> from pylab import *
>>> subplot(111)
>>> arrow(.5, .5, -.05, .02, lw=5, width=.01)
>>> savefig('foo.pdf')
and view it with
 % xpdf foo.pdf
then I see on the startpoint an ugly pike. With gv and evince everything
is ok.
Any idea how to fix it in mpl? Because I dont want to switch to an other
viewer then xpdf.
Thanks,
 Friedrich
From: John H. <jd...@gm...> - 2008年06月02日 11:38:40
matplotlib 0.98.0 is released
=============================
This is a milestone release of matplotlib with a significant internal
refactoring to support better transformations, path drawing, and
readily extensible coordinate projections and scales. Michael
Droettboom of STScI did the lion's share of the work, but a large
number of developers have made many significant contributions. This
is such a significant improvement of the matplotlib code base that we
are jumping from the 0.91 series to the 0.98 series, in anticipation
of rapid progress to 1.0.
Downloads are available at
http://sourceforge.net/project/platformdownload.php?group_id=80706
with binary installers for windows and OS X. Thanks to Charlie Moad
for the builds and release.
See the migration document at http://matplotlib.sf.net/MIGRATION.txt,
the API changes at http://matplotlib.sf.net/API_CHANGES, and the full
CHANGELOG at http://matplotlib.sf.net/CHANGELOG . You should manually
any old install of site-packages/matplotlib since the new version will
not properly install over it.
We've also done some work on the look and feel of the web site, with a
new logo an a less jarring color scheme, and are in the midst of a
fairly significant
documentation effort, so if you have any interest in writing documentation or
doing website design, join us on the developers list and ash how you can
contribute.
What's new in matplotlib 0.98
=============================
This is also available on the website at
http://matplotlib.sourceforge.net/whats_new.html
better transformations
----------------------
In what has been described as open-heart surgery on matplotlib,
Michael Droettboom, supported by STScI, has rewritten the transformation
infrastructure from the ground up, which not only makes the code more
intuitive, it supports custom user projections and scales. See
http://matplotlib.sf.net/doc/devel/add_new_projection.rst and
the http://matplotlib.sf.net/matplotlib.transforms.html module
documentation
proper paths
------------
For the first time, matplotlib supports spine paths across backends,
so you can pretty much draw anything. See the
http://matplotlib.sf.net/creenshots.html#path_patch_demo screenshot .
Thanks again to Michael Droettboom and STScI.
histogram enhancements
----------------------
hist can handle 2D arrays and create side-by-side or stacked
histograms, as well as cumulative filled and unfilled histograms
http://matplotlib.sf.net/examples/pylab/histogram_demo_extended.py
2D histogram hexbin
-------------------
2D hexagonal bin histogramming with optional log colorscales:
http://matplotlib.sourceforge.net/examples/pylab/hexbin_demo.py
ginput function
---------------
ginput (http://matplotlib.sf.net/matplotlib.pyplot.html#-ginput) is a
blocking function for interactive use to get input from the user. A
long requested feature submitted by Gael Varoquaux. See
http://matplotlib.sf.net/examples/pylab/ginput_demo.py.
image optimizations
-------------------
Enhancements to speed up color mapping and panning and zooming on dense images
better savefig
--------------
savefig (http://matplotlib.sf.net/matplotlib.pyplot.html#-savefig) now
supports save to file handles (great for web app servers) or unicode
filenames on all backends
record array functions
----------------------
some more helper functions to facilitate work with record arrays: rec_groupby,
rec2txt, and rec_summarize. These are found in matplotlib.mlab
(http://matplotlib.sf.net/matplotlib.mlab.html)
accurate elliptical arcs
------------------------
In support of the Phoenix mission to Mars, which used matplotlib in
ground tracking of the spacecraft, Michael Droettboom built on work by
Charlie Moad to provide an extremely accurate 8-spline approximation
to elliptical arcs (see
http://matplotlib.sf.net/matplotlib.patches.html#Arc-draw)win the
viewport. This provides a scale free, accurate graph of the arc
regardless of zoom level. See the screenshot and example at
http://matplotlib.sf.net/screenshots.html#ellipse_demo
imread enhanced
---------------
imread (http://matplotlib.sf.net/matplotlib.image.html#-imread) now
will use PIL when available to load images and return numpy arrays
backend enhancements
--------------------
* postscript : the postscript backend has clipping to paths (useful
for polar plots)
* PDF : the PDF backend handles composite glyphs properly, usetex fixes
* SVG : clip to path (useful for polar plots), inkscape cut-and-paste fixes.
* QT : Fixed a duplicate draw bug that slowed performance. Native qt
 toolbars and status bars used for the toolbar controls
From: John H. <jd...@gm...> - 2008年06月02日 11:30:36
matplotlib 0.91.3 is released
=============================
This is the maintenance bug-fix and feature enhancement release of the
0.91 branch. Because the 0.98 refactoring introduced more code
breakage than usual, we decided to branch the 0.91 series for users
unable to upgrade right away. We have ported as many bug fixes and
features to the maintenance branch as possible, and these are now
available for release as 0.91.3.
Homepage: http://matplotlib.sf.net
Downloads are available at
http://sourceforge.net/project/platformdownload.php?group_id=80706
with binary installers for windows and OS X. Thanks to Charlie Moad
for the builds and release.
What's new in matplotlib 0.91.3
===============================
ginput function
---------------
ginput (http://matplotlib.sf.net/matplotlib.pyplot.html#-ginput) is a
blocking function for interactive use to get input from the user. A
long requested feature submitted by Gael Varoquaux. See
http://matplotlib.sf.net/examples/pylab/ginput_demo.py.
better savefig
--------------
savefig (http://matplotlib.sf.net/matplotlib.pyplot.html#-savefig) now
supports save to file handles (great for web app servers) or unicode
filenames on all backends
record array functions
----------------------
some more helper functions to facilitate work with record arrays: rec_groupby,
rec2txt, and rec_summarize. These are found in matplotlib.mlab
(http://matplotlib.sf.net/matplotlib.mlab.html)
accurate elliptical arcs
------------------------
In support of the Phoenix mission to Mars, which used matplotlib in
ground tracking of the spacecraft, Michael Droettboom built on work by
Charlie Moad to provide an extremely accurate 8-spline approximation
to elliptical arcs (see
http://matplotlib.sf.net/matplotlib.patches.html#Arc-draw)win the
viewport. This provides a scale free, accurate graph of the arc
regardless of zoom level. See the screenshot and example at
http://matplotlib.sf.net/screenshots.html#ellipse_demo
imread enhanced
---------------
imread (http://matplotlib.sf.net/matplotlib.image.html#-imread) now
will use PIL when available to load images and return numpy arrays
backend enhancements
--------------------
* postscript : the postscript backend has clipping to paths (useful
for polar plots)
* PDF : the PDF backend handles composite glyphs properly, usetex fixes
* SVG : clip to path (useful for polar plots), inkscape cut-and-paste fixes.
* QT : Fixed a duplicate draw bug that slowed performance. Native qt
 toolbars and status bars used for the toolbar controls
From: Andyy <ggi...@gm...> - 2008年06月02日 09:30:05
Hey There,
I am using MatPlotLib to generate barchart and pie chart on Plone3, zope
2.10
Does anyone know how can i change the grey background color of the canvas,
the one which comes by default.
Is that the axes color or canvas color? Please Help.
Thanks
From: Pierre R. <co...@py...> - 2008年06月02日 07:15:39
Hi matplotlib developers,
Congratulations for the brand new matplotlib website!
It looks great and modern, and that's exactly what matplotlib deserves.
And congratulations for the new release as well, of course.
Keep up your good work!
Regards,
Pierre Raybaut
From: Erik T. <eri...@gm...> - 2008年06月02日 05:25:45
I am having trouble figuring out how to control the weight of labels
and text with the usetex option set to True. I would like to force
all mathmode labels and text to be at least bold. I can imagine doing
this either by substituting a font (i.e. changing the mathtext.fontset
to 'custom' and all of the different matext.?? to some boldface font),
or some the font.weight rc parameter, but neither of these has any
effect - whatever I do, the mathmode and other TeX formatted text
stays the same weight. How can I make it just turn up the weights to
bold without changing anything else?
From: telemeister <st...@ve...> - 2008年06月02日 03:05:09
Since previous post I have installed subversion and installed the maintenance
release 
matplotlib-0.91.x
This segmentation fault no longer occurs.
Thanks John and Michael for your help with this.
Steve
telemeister wrote:
> 
> Sorry have not responded re this earlier - I have been off the air for a
> few days.
> 
> First here are the debug outputs from the tests suggested by John.
> 
> http://www.nabble.com/file/p17584892/Agg.log Agg.log 
> http://www.nabble.com/file/p17584892/PS.log PS.log 
> http://www.nabble.com/file/p17584892/TkAgg.log TkAgg.log 
> http://www.nabble.com/file/p17584892/GTK.log GTK.log 
> 
> Of these:
> 
> TkAgg fails with segmentation fault
> GTK : No module named gobject (guess I'm not set up for GTK)
> Agg and PS don't error, but dont appear to generate any output.
> 
> 
> Secondly, regarding Mike's suggestion: 
> 
> I'm keen to try out the maintenance release with bugfix as suggested..
> Some advice on downloading pls.... 
> Do I use subversion to download that release..?
> Or is there a '.tar.gz' that I can download. ? 
> 
> Thnx in advance
> 
> steve
> 
> 
> 
> John Hunter-4 wrote:
>> 
>> On Mon, May 26, 2008 at 7:26 AM, telemeister <st...@ve...>
>> wrote:
>>>
>>> Further to my original post...
>>> I forgot to note that I have specified Tkagg as the backend in the
>>> matplotlibrc file.
>>> I have Tkinter installed and it works OK in other apps independent of
>>> matplotlib
>> 
>> Let's see if we can narrow tis down to a specific backend. Try
>> running http://matplotlib.sf.net/examples/simple_plot.py with
>> a few different backends:
>> 
>>> python simple_plot.py --verbose-debug -dAgg
>> 
>>> python simple_plot.py --verbose-debug -dPS
>> 
>>> python simple_plot.py --verbose-debug -dTkAgg
>> 
>>> python simple_plot.py --verbose-debug -dGTK
>> 
>> Do they all segfault, if not which ones do and post the debug output
>> for one that does.
>> 
>> JDH
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> 
>> 
> 
> 
-- 
View this message in context: http://www.nabble.com/linux%3A-seg-fault-on-show%28%29-tp17470177p17593282.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: telemeister <st...@ve...> - 2008年06月01日 12:00:52
Sorry have not responded re this earlier - I have been off the air for a few
days.
First here are the debug outputs from the tests suggested by John.
http://www.nabble.com/file/p17584892/Agg.log Agg.log 
http://www.nabble.com/file/p17584892/PS.log PS.log 
http://www.nabble.com/file/p17584892/TkAgg.log TkAgg.log 
http://www.nabble.com/file/p17584892/GTK.log GTK.log 
Of these:
TkAgg fails with segmentation fault
GTK : No module named gobject (guess I'm not set up for GTK)
Agg and PS don't error, but dont appear to generate any output.
Secondly, regarding Mike's suggestion: 
I'm keen to try out the maintenance release with bugfix as suggested..
Some advice on downloading pls.... 
Do I use subversion to download that release..?
Or is there a '.tar.gz' that I can download. ? 
Thnx in advance
steve
John Hunter-4 wrote:
> 
> On Mon, May 26, 2008 at 7:26 AM, telemeister <st...@ve...>
> wrote:
>>
>> Further to my original post...
>> I forgot to note that I have specified Tkagg as the backend in the
>> matplotlibrc file.
>> I have Tkinter installed and it works OK in other apps independent of
>> matplotlib
> 
> Let's see if we can narrow tis down to a specific backend. Try
> running http://matplotlib.sf.net/examples/simple_plot.py with
> a few different backends:
> 
>> python simple_plot.py --verbose-debug -dAgg
> 
>> python simple_plot.py --verbose-debug -dPS
> 
>> python simple_plot.py --verbose-debug -dTkAgg
> 
>> python simple_plot.py --verbose-debug -dGTK
> 
> Do they all segfault, if not which ones do and post the debug output
> for one that does.
> 
> JDH
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://www.nabble.com/linux%3A-seg-fault-on-show%28%29-tp17470177p17584892.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
4 messages has been excluded from this view by a project administrator.

Showing results of 446

<< < 1 .. 16 17 18 (Page 18 of 18)
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 によって変換されたページ (->オリジナル) /