SourceForge logo
SourceForge logo
Menu

matplotlib-checkins — Commit notification. DO NOT POST to this list, just subscribe to it.

You can subscribe to this list here.

2007 Jan
Feb
Mar
Apr
May
Jun
Jul
(115)
Aug
(120)
Sep
(137)
Oct
(170)
Nov
(461)
Dec
(263)
2008 Jan
(120)
Feb
(74)
Mar
(35)
Apr
(74)
May
(245)
Jun
(356)
Jul
(240)
Aug
(115)
Sep
(78)
Oct
(225)
Nov
(98)
Dec
(271)
2009 Jan
(132)
Feb
(84)
Mar
(74)
Apr
(56)
May
(90)
Jun
(79)
Jul
(83)
Aug
(296)
Sep
(214)
Oct
(76)
Nov
(82)
Dec
(66)
2010 Jan
(46)
Feb
(58)
Mar
(51)
Apr
(77)
May
(58)
Jun
(126)
Jul
(128)
Aug
(64)
Sep
(50)
Oct
(44)
Nov
(48)
Dec
(54)
2011 Jan
(68)
Feb
(52)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
(1)
2018 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S



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

Showing 11 results of 11

Revision: 6314
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6314&view=rev
Author: efiring
Date: 2008年10月23日 19:56:04 +0000 (2008年10月23日)
Log Message:
-----------
Update movie_demo.py to work with current mpl.
Modified Paths:
--------------
 trunk/matplotlib/examples/animation/movie_demo.py
Modified: trunk/matplotlib/examples/animation/movie_demo.py
===================================================================
--- trunk/matplotlib/examples/animation/movie_demo.py	2008年10月23日 17:35:50 UTC (rev 6313)
+++ trunk/matplotlib/examples/animation/movie_demo.py	2008年10月23日 19:56:04 UTC (rev 6314)
@@ -15,9 +15,12 @@
 # the script to suit your own needs.
 #
 
-
-from matplotlib.matlab import * # For plotting graphs.
-import os # For issuing commands to the OS.
+import matplotlib
+matplotlib.use('Agg')
+import matplotlib.pyplot as plt # For plotting graphs.
+import numpy as np
+import subprocess # For issuing commands to the OS.
+import os
 import sys # For determining the Python version.
 
 #
@@ -25,24 +28,29 @@
 # Python interpreter, and matplotlib. The version of
 # Mencoder is printed when it is called.
 #
-# This script is known to have worked for:
-#
-# OS version: ('Linux', 'flux-capacitor', '2.4.26', '#1 SMP Sa Apr 17 19:33:42 CEST 2004', 'i686')
-# Python version: 2.3.4 (#2, May 29 2004, 03:31:27) [GCC 3.3.3 (Debian 20040417)]
-# matplotlib version: 0.61.0
-# MEncoder version:
-# MEncoder 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team
-# CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 996.1 MHz (Family: 6, Stepping: 10)
-# Detected cache-line size is 32 bytes
-# CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
-# Compiled for x86 CPU with extensions: MMX MMX2 SSE
-#
 print 'Executing on', os.uname()
 print 'Python version', sys.version
 print 'matplotlib version', matplotlib.__version__
 
+not_found_msg = """
+The mencoder command was not found;
+mencoder is used by this script to make an avi file from a set of pngs.
+It is typically not installed by default on linux distros because of
+legal restrictions, but it is widely available.
+"""
 
+try:
+ subprocess.check_call(['mencoder'])
+except subprocess.CalledProcessError:
+ print "mencoder command was found"
+ pass # mencoder is found, but returns non-zero exit as expected
+ # This is a quick and dirty check; it leaves some spurious output
+ # for the user to puzzle over.
+except OSError:
+ print not_found_msg
+ sys.exit("quitting\n")
 
+
 #
 # First, let's create some data to work with. In this example
 # we'll use a normalized Gaussian waveform whose mean and
@@ -57,16 +65,16 @@
 
 # Initialize variables needed to create and store the example data set.
 numberOfTimeSteps = 100 # Number of frames we want in the movie.
-x = arange(-10,10,0.01) # Values to be plotted on the x-axis.
+x = np.arange(-10,10,0.01) # Values to be plotted on the x-axis.
 mean = -6 # Initial mean of the Gaussian.
 stddev = 0.2 # Initial standard deviation.
 meaninc = 0.1 # Mean increment.
 stddevinc = 0.1 # Standard deviation increment.
 
 # Create an array of zeros and fill it with the example data.
-y = zeros((numberOfTimeSteps,len(x)), Float64) 
+y = np.zeros((numberOfTimeSteps,len(x)), float)
 for i in range(numberOfTimeSteps) :
- y[i] = (1/sqrt(2*pi*stddev))*exp(-((x-mean)**2)/(2*stddev))
+ y[i] = (1/np.sqrt(2*np.pi*stddev))*np.exp(-((x-mean)**2)/(2*stddev))
 mean = mean + meaninc
 stddev = stddev + stddevinc
 
@@ -81,15 +89,15 @@
 #
 # The next four lines are just like Matlab.
 #
- plot(x,y[i],'b.')
- axis((x[0],x[-1],-0.25,1))
- xlabel('time (ms)')
- ylabel('probability density function')
- 
+ plt.plot(x,y[i],'b.')
+ plt.axis((x[0],x[-1],-0.25,1))
+ plt.xlabel('time (ms)')
+ plt.ylabel('probability density function')
+
 #
 # Notice the use of LaTeX-like markup.
 #
- title(r'$\cal{N}(\mu, \sigma^2)$', fontsize=20)
+ plt.title(r'$\cal{N}(\mu, \sigma^2)$', fontsize=20)
 
 #
 # The file name indicates how the image will be saved and the
@@ -100,7 +108,7 @@
 # images directly to a file without displaying them.
 #
 filename = str('%03d' % i) + '.png'
- savefig(filename, dpi=100)
+ plt.savefig(filename, dpi=100)
 
 #
 # Let the user know what's happening.
@@ -110,7 +118,7 @@
 #
 # Clear the figure to make way for the next image.
 #
- clf()
+ plt.clf()
 
 #
 # Now that we have graphed images of the dataset, we will stitch them
@@ -137,4 +145,12 @@
 '-o',
 'output.avi')
 
-os.spawnvp(os.P_WAIT, 'mencoder', command)
+#os.spawnvp(os.P_WAIT, 'mencoder', command)
+
+print "\n\nabout to execute:\n%s\n\n" % ' '.join(command)
+subprocess.check_call(command)
+
+print "\n\n The movie was written to 'output.avi'"
+
+print "\n\n You may want to delete *.png now.\n\n"
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2008年10月23日 17:36:03
Revision: 6313
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6313&view=rev
Author: mdboom
Date: 2008年10月23日 17:35:50 +0000 (2008年10月23日)
Log Message:
-----------
Fix math expression.
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py	2008年10月23日 17:35:14 UTC (rev 6312)
+++ trunk/matplotlib/lib/matplotlib/axes.py	2008年10月23日 17:35:50 UTC (rev 6313)
@@ -6623,7 +6623,7 @@
 
 .. math::
 
- C_{xy} = \\frac{|P_{xy}|^2}{P_{xx}*P_{yy}}
+ C_{xy} = \\frac{|P_{xy}|^2}{P_{xx}P_{yy}}
 
 The return value is a tuple (*Cxy*, *f*), where *f* are the
 frequencies of the coherence vector.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2008年10月23日 17:35:24
Revision: 6312
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6312&view=rev
Author: mdboom
Date: 2008年10月23日 17:35:14 +0000 (2008年10月23日)
Log Message:
-----------
Fix duplicate aliases.
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/artist.py
Modified: trunk/matplotlib/lib/matplotlib/artist.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/artist.py	2008年10月23日 17:21:49 UTC (rev 6311)
+++ trunk/matplotlib/lib/matplotlib/artist.py	2008年10月23日 17:35:14 UTC (rev 6312)
@@ -651,7 +651,7 @@
 if not self.is_alias(func): continue
 docstring = func.__doc__
 fullname = docstring[10:]
- aliases.setdefault(fullname[4:], []).append(name[4:])
+ aliases.setdefault(fullname[4:], {})[name[4:]] = None
 return aliases
 
 _get_valid_values_regex = re.compile(r"\n\s*ACCEPTS:\s*((?:.|\n)*?)(?:$|(?:\n\n))")
@@ -731,7 +731,7 @@
 """
 
 if s in self.aliasd:
- aliases = ''.join([' or %s' % x for x in self.aliasd[s]])
+ aliases = ''.join([' or %s' % x for x in self.aliasd[s].keys()])
 else:
 aliases = ''
 return ':meth:`%s <%s>`%s' % (s, target, aliases)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2008年10月23日 17:21:53
Revision: 6311
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6311&view=rev
Author: mdboom
Date: 2008年10月23日 17:21:49 +0000 (2008年10月23日)
Log Message:
-----------
Fix collections property list.
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/artist.py
 trunk/matplotlib/lib/matplotlib/collections.py
Modified: trunk/matplotlib/lib/matplotlib/artist.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/artist.py	2008年10月23日 16:38:04 UTC (rev 6310)
+++ trunk/matplotlib/lib/matplotlib/artist.py	2008年10月23日 17:21:49 UTC (rev 6311)
@@ -651,7 +651,7 @@
 if not self.is_alias(func): continue
 docstring = func.__doc__
 fullname = docstring[10:]
- aliases[fullname[4:]] = name[4:]
+ aliases.setdefault(fullname[4:], []).append(name[4:])
 return aliases
 
 _get_valid_values_regex = re.compile(r"\n\s*ACCEPTS:\s*((?:.|\n)*?)(?:$|(?:\n\n))")
@@ -731,8 +731,10 @@
 """
 
 if s in self.aliasd:
- return ':meth:`%s <%s>` or %s' % (s, target, self.aliasd[s])
- else: return ':meth:`%s <%s>`' % (s, target)
+ aliases = ''.join([' or %s' % x for x in self.aliasd[s]])
+ else:
+ aliases = ''
+ return ':meth:`%s <%s>`%s' % (s, target, aliases)
 
 def pprint_setters(self, prop=None, leadingspace=2):
 """
Modified: trunk/matplotlib/lib/matplotlib/collections.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/collections.py	2008年10月23日 16:38:04 UTC (rev 6310)
+++ trunk/matplotlib/lib/matplotlib/collections.py	2008年10月23日 17:21:49 UTC (rev 6311)
@@ -253,7 +253,7 @@
 else:
 return self._uniform_offsets
 
- def set_linewidths(self, lw):
+ def set_linewidth(self, lw):
 """
 Set the linewidth(s) for the collection. *lw* can be a scalar
 or a sequence; if it is a sequence the patches will cycle
@@ -263,11 +263,18 @@
 """
 if lw is None: lw = mpl.rcParams['patch.linewidth']
 self._linewidths = self._get_value(lw)
- set_lw = set_linewidth = set_linewidths
 
- def set_linestyles(self, ls):
+ def set_linewidths(self, lw):
+ """alias for set_linewidth"""
+ return self.set_linewidth(lw)
+
+ def set_lw(self, lw):
+ """alias for set_linewidth"""
+ return self.set_linewidth(lw)
+
+ def set_linestyle(self, ls):
 """
- Set the linestyles(s) for the collection.
+ Set the linestyle(s) for the collection.
 
 ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |
 (offset, on-off-dash-seq) ]
@@ -306,8 +313,15 @@
 except ValueError:
 raise ValueError('Do not know how to convert %s to dashes'%ls)
 self._linestyles = dashes
- set_dashes = set_linestyle = set_linestyles
 
+ def set_linestyles(self, ls):
+ """alias for set_linestyle"""
+ return self.set_linestyle(ls)
+
+ def set_dashes(self, ls):
+ """alias for set_linestyle"""
+ return self.set_linestyle(ls)
+
 def set_antialiased(self, aa):
 """
 Set the antialiasing state for rendering.
@@ -317,8 +331,11 @@
 if aa is None:
 aa = mpl.rcParams['patch.antialiased']
 self._antialiaseds = self._get_bool(aa)
- set_antialiaseds = set_antialiased
 
+ def set_antialiaseds(self, aa):
+ """alias for set_antialiased"""
+ return self.set_antialiased(aa)
+
 def set_color(self, c):
 """
 Set both the edgecolor and the facecolor.
@@ -344,7 +361,9 @@
 self._facecolors_original = c
 self._facecolors = _colors.colorConverter.to_rgba_array(c, self._alpha)
 
- set_facecolors = set_facecolor
+ def set_facecolors(self, c):
+ """alias for set_facecolor"""
+ return self.set_facecolor(c)
 
 def get_facecolor(self):
 return self._facecolors
@@ -377,7 +396,9 @@
 self._edgecolors_original = c
 self._edgecolors = _colors.colorConverter.to_rgba_array(c, self._alpha)
 
- set_edgecolors = set_edgecolor
+ def set_edgecolors(self, c):
+ """alias for set_edgecolor"""
+ return self.set_edgecolor(c)
 
 def set_alpha(self, alpha):
 """
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <jo...@us...> - 2008年10月23日 16:38:15
Revision: 6310
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6310&view=rev
Author: jouni
Date: 2008年10月23日 16:38:04 +0000 (2008年10月23日)
Log Message:
-----------
Fixed exception in dviread that happened with Minion
Modified Paths:
--------------
 trunk/matplotlib/CHANGELOG
 trunk/matplotlib/lib/matplotlib/dviread.py
Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG	2008年10月23日 16:10:59 UTC (rev 6309)
+++ trunk/matplotlib/CHANGELOG	2008年10月23日 16:38:04 UTC (rev 6310)
@@ -1,3 +1,5 @@
+2008年10月23日 Fixed exception in dviread that happened with Minion - JKS
+
 2008年10月21日 set_xlim, ylim now return a copy of the viewlim array to
 avoid modify inplace surprises
 
Modified: trunk/matplotlib/lib/matplotlib/dviread.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/dviread.py	2008年10月23日 16:10:59 UTC (rev 6309)
+++ trunk/matplotlib/lib/matplotlib/dviread.py	2008年10月23日 16:38:04 UTC (rev 6310)
@@ -394,8 +394,12 @@
 self._scale, self._tfm, self.texname, self._vf = \
 scale, tfm, texname, vf
 self.size = scale * (72.0 / (72.27 * 2**16))
+ try:
+ nchars = max(tfm.width.iterkeys())
+ except ValueError:
+ nchars = 0
 self.widths = [ (1000*tfm.width.get(char, 0)) >> 20
- for char in range(0, max(tfm.width)) ]
+ for char in range(nchars) ]
 
 def __eq__(self, other):
 return self.__class__ == other.__class__ and \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <jd...@us...> - 2008年10月23日 16:11:09
Revision: 6309
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6309&view=rev
Author: jdh2358
Date: 2008年10月23日 16:10:59 +0000 (2008年10月23日)
Log Message:
-----------
fixed pyplot tutorial error
Modified Paths:
--------------
 trunk/matplotlib/doc/_templates/gallery.html
 trunk/matplotlib/doc/devel/documenting_mpl.rst
 trunk/matplotlib/doc/faq/howto_faq.rst
 trunk/matplotlib/doc/users/pyplot_tutorial.rst
Modified: trunk/matplotlib/doc/_templates/gallery.html
===================================================================
--- trunk/matplotlib/doc/_templates/gallery.html	2008年10月23日 15:46:27 UTC (rev 6308)
+++ trunk/matplotlib/doc/_templates/gallery.html	2008年10月23日 16:10:59 UTC (rev 6309)
@@ -5,7 +5,7 @@
 {% block body %}
 
 <h3>Click on any image to see full size image and source code</h3>
-<br>
+<br/>
 
 <a href="examples/api/barchart_demo.html"><img src="_static/plot_directive/mpl_examples/api/thumbnails/barchart_demo.png" border="0" alt="barchart_demo"/></a>
 
Modified: trunk/matplotlib/doc/devel/documenting_mpl.rst
===================================================================
--- trunk/matplotlib/doc/devel/documenting_mpl.rst	2008年10月23日 15:46:27 UTC (rev 6308)
+++ trunk/matplotlib/doc/devel/documenting_mpl.rst	2008年10月23日 16:10:59 UTC (rev 6309)
@@ -8,9 +8,8 @@
 ===============
 
 The documentation for matplotlib is generated from ReStructured Text
-using the Sphinx_ documentation generation tool. Sphinx-0.4 or later
-is required. Currently this means we need to install from the svn
-repository by doing::
+using the Sphinx_ documentation generation tool. Sphinx-0.5 or later
+is required. Most developers work from the sphinx subversion repository because it is a rapidly evolving project::
 
 svn co http://svn.python.org/projects/doctools/trunk sphinx
 cd sphinx
Modified: trunk/matplotlib/doc/faq/howto_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/howto_faq.rst	2008年10月23日 15:46:27 UTC (rev 6308)
+++ trunk/matplotlib/doc/faq/howto_faq.rst	2008年10月23日 16:10:59 UTC (rev 6309)
@@ -332,14 +332,13 @@
 which is part of the `mplayer <http://www.mplayerhq.hu>`_ suite
 for this::
 
-
 #fps (frames per second) controls the play speed
 mencoder 'mf://*.png' -mf type=png:fps=10 -ovc \\
 lavc -lavcopts vcodec=wmv2 -oac copy -o animation.avi
 
 The swiss army knife of image tools, ImageMagick's `convert
 <http://www.imagemagick.org/script/convert.php>`_ works for this as
-well.<p>
+well.
 
 Here is a simple example script that saves some PNGs, makes them into
 a movie, and then cleans up::
@@ -617,7 +616,15 @@
 import sys
 fig.savefig(sys.stdout)
 
+Here is an example using the Python Imaging Library PIL. First the figure is saved to a StringIO objectm which is then fed to PIL for further processing::
 
+ import StringIO, Image
+ imgdata = StringIO.StringIO()
+ fig.savefig(imgdata, format='png')
+ imgdata.seek(0) # rewind the data
+ im = Image.open(imgdata)
+
+
 matplotlib with apache
 ------------------------------------
 
Modified: trunk/matplotlib/doc/users/pyplot_tutorial.rst
===================================================================
--- trunk/matplotlib/doc/users/pyplot_tutorial.rst	2008年10月23日 15:46:27 UTC (rev 6308)
+++ trunk/matplotlib/doc/users/pyplot_tutorial.rst	2008年10月23日 16:10:59 UTC (rev 6309)
@@ -15,13 +15,13 @@
 .. plot:: pyplots/pyplot_simple.py
 :include-source:
 
-You may be wondering why the x-axis ranges from 0-3 and the y-axis
-from 1-4. If you provide a single list or array to the
+You may be wondering why the x-axis ranges from 0-2 and the y-axis
+from 1-3. If you provide a single list or array to the
 :func:`~matplotlib.pyplot.plot` command, matplotlib assumes it a
 sequence of y values, and automatically generates the x values for
 you. Since python ranges start with 0, the default x vector has the
 same length as y but starts with 0. Hence the x data are
-``[0,1,2,3]``.
+``[0,1,2]``.
 
 :func:`~matplotlib.pyplot.plot` is a versatile command, and will take
 an arbitrary number of arguments. For example, to plot x versus y,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ry...@us...> - 2008年10月23日 15:46:35
Revision: 6308
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6308&view=rev
Author: ryanmay
Date: 2008年10月23日 15:46:27 +0000 (2008年10月23日)
Log Message:
-----------
Add barbs to list of plotting commands. Also make the capitalization (or lack thereof) of the table descriptions consistent.
Modified Paths:
--------------
 trunk/matplotlib/doc/_templates/index.html
Modified: trunk/matplotlib/doc/_templates/index.html
===================================================================
--- trunk/matplotlib/doc/_templates/index.html	2008年10月23日 15:42:25 UTC (rev 6307)
+++ trunk/matplotlib/doc/_templates/index.html	2008年10月23日 15:46:27 UTC (rev 6308)
@@ -86,7 +86,7 @@
 </th>
 
 <td align="left">
- Create a new axes
+ create a new axes
 </td>
 
 </tr>
@@ -141,12 +141,23 @@
 </th>
 
 <td align="left">
- Set or return the current axis limits
+ set or return the current axis limits
 </td>
 
 </tr>
 <tr>
 <th align="left">
+ <a href="api/pyplot_api.html#matplotlib.pyplot.barbs">barbs</a>
+
+ </th>
+
+ <td align="left">
+ a (wind) barb plot
+ </td>
+
+ </tr>
+ <tr>
+ <th align="left">
 <a href="api/pyplot_api.html#matplotlib.pyplot.bar">bar</a>
 
 </th>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ry...@us...> - 2008年10月23日 15:42:45
Revision: 6307
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6307&view=rev
Author: ryanmay
Date: 2008年10月23日 15:42:25 +0000 (2008年10月23日)
Log Message:
-----------
Tweak barbs docstring to point to the appropriate example script.
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py	2008年10月23日 15:29:50 UTC (rev 6306)
+++ trunk/matplotlib/lib/matplotlib/axes.py	2008年10月23日 15:42:25 UTC (rev 6307)
@@ -5356,13 +5356,19 @@
 quiver.__doc__ = mquiver.Quiver.quiver_doc
 
 def barbs(self, *args, **kw):
+ """
+ %s
+ **Example:**
+
+ .. plot:: mpl_examples/pylab_examples/barb_demo.py
+ """
 if not self._hold: self.cla()
 b = mquiver.Barbs(self, *args, **kw)
 self.add_collection(b)
 self.update_datalim(b.get_offsets())
 self.autoscale_view()
 return b
- barbs.__doc__ = mquiver.Barbs.barbs_doc
+ barbs.__doc__ = cbook.dedent(barbs.__doc__) % mquiver.Barbs.barbs_doc
 
 def fill(self, *args, **kwargs):
 """
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2008年10月23日 15:30:08
Revision: 6306
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6306&view=rev
Author: mdboom
Date: 2008年10月23日 15:29:50 +0000 (2008年10月23日)
Log Message:
-----------
Fix doc markup.
Modified Paths:
--------------
 trunk/matplotlib/doc/faq/howto_faq.rst
 trunk/matplotlib/lib/matplotlib/ticker.py
Modified: trunk/matplotlib/doc/faq/howto_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/howto_faq.rst	2008年10月23日 13:30:15 UTC (rev 6305)
+++ trunk/matplotlib/doc/faq/howto_faq.rst	2008年10月23日 15:29:50 UTC (rev 6306)
@@ -542,7 +542,7 @@
 Write a tutorial on the signal analysis plotting functions like
 :func:`~matplotlib.pyplot.xcorr`, :func:`~matplotlib.pyplot.psd` and
 :func:`~matplotlib.pyplot.specgram`. Do you use matplotlib with
-`django <http://www.djangoproject.com>`_ or other popular web
+`django <http://www.djangoproject.com/>`_ or other popular web
 application servers? Write a FAQ or tutorial and we'll find a place
 for it in the :ref:`users-guide-index`. Bundle matplotlib in a
 `py2exe <http://www.py2exe.org/>`_ app? ... I think you get the idea.
Modified: trunk/matplotlib/lib/matplotlib/ticker.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/ticker.py	2008年10月23日 13:30:15 UTC (rev 6305)
+++ trunk/matplotlib/lib/matplotlib/ticker.py	2008年10月23日 15:29:50 UTC (rev 6306)
@@ -77,22 +77,22 @@
 formatter operates on a single tick value and returns a string to the
 axis.
 
-:clss:`NullFormatter`
+:class:`NullFormatter`
 no labels on the ticks
 
-:clss:`FixedFormatter`
+:class:`FixedFormatter`
 set the strings manually for the labels
 
-:clss:`FuncFormatter`
+:class:`FuncFormatter`
 user defined function sets the labels
 
-:clss:`FormatStrFormatter`
+:class:`FormatStrFormatter`
 use a sprintf format string
 
-:clss:`ScalarFormatter`
+:class:`ScalarFormatter`
 default formatter for scalars; autopick the fmt string
 
-:clss:`LogFormatter`
+:class:`LogFormatter`
 formatter for log axes
 
 
@@ -109,7 +109,7 @@
 ax.yaxis.set_minor_formatter( yminorFormatter )
 
 See :ref:`pylab_examples-major_minor_demo1` for an example of setting
-major an minor ticks. See the :module:`matplotlib.dates` module for
+major an minor ticks. See the :mod:`matplotlib.dates` module for
 more information and examples of using date locators and formatters.
 """
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6305
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6305&view=rev
Author: mdboom
Date: 2008年10月23日 13:30:15 +0000 (2008年10月23日)
Log Message:
-----------
Fix w3c compliance. (Xavier Gnata)
Modified Paths:
--------------
 trunk/matplotlib/doc/_templates/gen_gallery.py
Modified: trunk/matplotlib/doc/_templates/gen_gallery.py
===================================================================
--- trunk/matplotlib/doc/_templates/gen_gallery.py	2008年10月23日 12:57:15 UTC (rev 6304)
+++ trunk/matplotlib/doc/_templates/gen_gallery.py	2008年10月23日 13:30:15 UTC (rev 6305)
@@ -7,7 +7,7 @@
 {%% block body %%}
 
 <h3>Click on any image to see full size image and source code</h3>
-<br>
+<br/>
 
 %s
 {%% endblock %%}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2008年10月23日 12:58:09
Revision: 6304
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6304&view=rev
Author: mdboom
Date: 2008年10月23日 12:57:15 +0000 (2008年10月23日)
Log Message:
-----------
Fix w3c compliance. (Xavier Gnata)
Modified Paths:
--------------
 trunk/matplotlib/doc/_templates/index.html
 trunk/matplotlib/doc/_templates/indexsidebar.html
Modified: trunk/matplotlib/doc/_templates/index.html
===================================================================
--- trunk/matplotlib/doc/_templates/index.html	2008年10月22日 23:50:06 UTC (rev 6303)
+++ trunk/matplotlib/doc/_templates/index.html	2008年10月23日 12:57:15 UTC (rev 6304)
@@ -24,7 +24,7 @@
 alt="screenshots"/></a></p>
 
 
- For example, to generate 10,000 gaussian random numbers and make a
+ <p>For example, to generate 10,000 gaussian random numbers and make a
 histogram plot binning the data into 100 bins, you simply need to
 type</p>
 
@@ -38,8 +38,8 @@
 or via a handle graphics interface familiar to Matlab&reg; users.
 The pylab mode provides all of the <a href="api/pyplot_api.html">pyplot</a> plotting
 functions listed below, as well as non-plotting functions from
- <a href=http://scipy.org/Numpy_Example_List_With_Doc>numpy</a> and
-<a href="api/mlab_api.html">matplotlib.mlab</a> </p>
+ <a href="http://scipy.org/Numpy_Example_List_With_Doc">numpy</a> and
+ <a href="api/mlab_api.html">matplotlib.mlab</a>.</p>
 
 <h3>Plotting commands</h3> <br/>
 
Modified: trunk/matplotlib/doc/_templates/indexsidebar.html
===================================================================
--- trunk/matplotlib/doc/_templates/indexsidebar.html	2008年10月22日 23:50:06 UTC (rev 6303)
+++ trunk/matplotlib/doc/_templates/indexsidebar.html	2008年10月23日 12:57:15 UTC (rev 6304)
@@ -11,8 +11,8 @@
 and mapping toolkit
 <a href="http://matplotlib.sf.net/basemap/doc/html">basemap</a>.</p>
 
-<p>Please <a href=https://sourceforge.net/my/donations.php>donate</a>
-to support matplotlib development</p>
+<p>Please <a href="https://sourceforge.net/my/donations.php">donate</a>
+to support matplotlib development.</p>
 
 <h3>Need help?</h3>
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing 11 results of 11

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