SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S



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


Showing 4 results of 4

From: Fernando P. <Fer...@co...> - 2005年06月07日 16:57:22
John Hunter wrote:
> TeX support : Now you can (optionally) use TeX to handle *all* of the
> text elements in your figure with the rc param text.usetex (*Agg and
> PS only). PS support requires tex, dvips and Ghostscript 8.51
> (older versions do not work properly -- test your version with
> 'gs --version'). Agg support requires tex and dvipng. A
> directory ~/.tex.cache is created where support files are cached for
> later reuse. We opted to ues TeX rather than LaTeX because it is
> faster and can do all the things we thought useful for figure text
> snippets. See http://matplotlib.sf.net/screenshots.html#tex_demo
> and http://matplotlib.sf.net/matplotlib.texmanager.html. There are
> several new rc params for configuring tex/latex support
Yes! Many, many thanks to all who helped on this. Below are some notes 
for Fedora users, who may find it a bit tricky to get this thing working.
The new mpl TeX support requires dvipng, which is not available in any 
Yum repository I could find. It seems that FedoraCore 4 will include 
tetex-3.0, which bundles dvipng. But in Fedora Core 2-3, it is not 
available. You can obviously build it from sources from:
http://sourceforge.net/project/showfiles.php?group_id=109426&package_id=118693&release_id=302829
but if like me, you are lazy and like to keep all your machines 
centrally administered thanks to the convenience of Yum, you can do 
better. Here, I found a dvipng rpm built for Fedora 2, but which works 
fine in FC3:
http://rpm.nogin.org/WebWork/fc2/dvipng-1.4-1.rhfc2.i386.html
Just drop that RPM somewhere in your local Yum repo (or just install it 
by hand), and you're done. TeX beauty in all your mpl plots!
Again, eternal gratitude to Darren, John and the rest.
Cheers,
f
From: John H. <jdh...@ac...> - 2005年06月07日 16:23:05
Win32 Warning: This is the first release I've done since my windows
 build syste dies and I had to reinstall a bunch of tools and some
 version numbers in my GTK build environment changed (eg my GTK
 setup). Let me know if you encounter any problems. As always, try
 removing site-packages/matplotlib and reinstalling before reporting
 any problems
TeX support : Now you can (optionally) use TeX to handle *all* of the
 text elements in your figure with the rc param text.usetex (*Agg and
 PS only). PS support requires tex, dvips and Ghostscript 8.51
 (older versions do not work properly -- test your version with
 'gs --version'). Agg support requires tex and dvipng. A
 directory ~/.tex.cache is created where support files are cached for
 later reuse. We opted to ues TeX rather than LaTeX because it is
 faster and can do all the things we thought useful for figure text
 snippets. See http://matplotlib.sf.net/screenshots.html#tex_demo
 and http://matplotlib.sf.net/matplotlib.texmanager.html. There are
 several new rc params for configuring tex/latex support
 # use tex/latex for all text handling
 text.usetex : False 
 # tex is faster, but latex is required to use special font
 # packages. See font.latex.package
 text.tex.engine : latex 
 
 # This must be an available LaTeX font package, 
 # like 'times' or 'pslatex' ; only applies if text.usetex 
 # is true
 font.latex.package : type1cm 
 Special thanks to Darren Dale for lots of hair-pulling work
 customizing, enhancing and debugging the ps backend for LaTeX
 support.
Masked arrays: Support for masked arrays in line plots, pcolor and
 contours. There are some problems with filled contours and masked
 arrays. Thanks Eric Firing and Jeffrey Whitaker.
Contour levels arg changes: see http://matplotlib.sf.net/API_CHANGES
 for details
Byte images: Much faster imaeg loading for MxNx4 or MxNx3 UInt8
 images, which bypasses the memory and CPU intensive integer/floating
 point conversions. Nicolas Girard
New image resize options interpolation options. New values for the
 interp kwarg are
 
 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36',
 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric', 'catrom',
 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos', 'blackman'
 See help(imshow) for details, particularly the interpolation,
 filternorm and filterrad kwargs.
Text and dashes - Daishi Harada contributed a patch for connecting
 text to points with lines. See examples/dashpointlabel.py and
 examples/dashtick.py
Fast markers on win32: The marker cache optimization is finally
 available for win32, after an agg bug was found and fixed (thanks
 Maxim!). Line marker plots should be considerably faster now on
 win32.
set deprecated: use setp instead; a simple, mostly braindead,
 conversion script is provided below
Qt in ipython/pylab: You can now use qt in ipython pylab mode. Thanks
 Fernando Perez and the Orsay team!
Agg wrapper proper: Started work on a proper agg wrapper to expose
 more general agg functionality in mpl. See examples/agg_test.py.
 Lots of wrapping remains to be done.
New scalar formatter: Darren Dale did a lot of work to make scalar
 formatting smarter in pathalogical cases. See
 examples/newscalarformatter_demo.py
Small features: linewidth and faceted kwarg to scatter to control
 edgewidth and color, autolegending now inspects line segments in
 addition to vertices, upgraded to agg23, new example showing how to
 use line collections examples/line_collection.py, fixed antialiased
 property setting in agg, added a postscript papersize rc option,
 added an example showing how to embed mpl in a qt app
 examples/embedding_in_qt.py, arrow keys now exposed in mpl's GUI
 neutral event handling, added "among" kwarg to axes picker function
 to limit picks, added autoscale_on property to Axes to control
 whether or not autoscaling is done.
Bug fixes: fixed a contour masked array bug, contour memory leak
# Here is a script to recursively convert set and get to setp and
# getp. Please backup entire directory recursively before
# running this script
from matplotlib.cbook import listFiles
for fname in listFiles('.', '*.py'):
 lines = []
 cnt = 0
 for line in file(fname):
 if line.lstrip().startswith('set('):
 line = line.replace('set(', 'setp(')
 cnt +=1
 if line.lstrip().startswith('get('):
 line = line.replace('get(', 'getp(')
 cnt +=1
 lines.append(line)
 
 file(fname, 'w').writelines(lines)
 print '%s\t: %d replacements'%(fname,cnt)
From: John H. <jdh...@ac...> - 2005年06月07日 16:12:07
>>>>> "Stefan" == Stefan Kuzminski <pon...@ya...> writes:
 Stefan> Is there an easy way to hide the axis lines? ( bounding
 Stefan> box of the figure ). I set the xaxis._visible to false
 Stefan> and that hid the ticks, I also tried setting figure(
 Stefan> edgecolor='white' ).
This may be a confusion of terminology.
In matplotlib, the figure box is the entire canvas, and is
controlled by fig.figurePatch. The Axes bounding box is the white box
inside the figure box, and is controlled by ax.axesPatch. Both are
matplotlib.patches.Rectangle instances. The Axis objects are the X
and Y Axis and control the ticks and tick labels.
To turn off the Axes box entirely, you can do
 ax.set_frame_on(False)
JDH
From: Stefan K. <pon...@ya...> - 2005年06月07日 15:59:30
Is there an easy way to hide the axis lines? ( bounding box of the
figure ). I set the xaxis._visible to false and that hid the ticks, I
also tried setting figure( edgecolor='white' ).
thanks,
S 
--- John Hunter <jdh...@ac...> wrote:
> >>>>> "Stefan" == Stefan Kuzminski <pon...@ya...> writes:
> 
> Stefan> I'm wondering how difficult it would be to add a
> Stefan> speedometer-like 'dial' plot type. ( apparently this
> Stefan> appeals to executive types ) I imagine it would take a
> Stefan> range and a scalar value which would be the location of
> Stefan> the 'needle'. Any pointers to how to craft such a thing
> Stefan> would be appreciated.
> 
> I think you could reuse most of the PolarAxes code for this, but
> instead of using a polar transform place a line or line/arrow in the
> center pointing to the "speed"
> 
> JDH
> 
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Showing 4 results of 4

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