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





Showing 6 results of 6

From: <ef...@us...> - 2010年05月30日 23:58:33
Revision: 8348
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8348&view=rev
Author: efiring
Date: 2010年05月30日 23:58:27 +0000 (2010年5月30日)
Log Message:
-----------
LogNorm.autoscale ignores nonpositive values; closes 2953069
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/colors.py
Modified: trunk/matplotlib/lib/matplotlib/colors.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/colors.py	2010年05月30日 21:31:19 UTC (rev 8347)
+++ trunk/matplotlib/lib/matplotlib/colors.py	2010年05月30日 23:58:27 UTC (rev 8348)
@@ -850,6 +850,8 @@
 vtype = 'scalar'
 val = ma.array([value]).astype(np.float)
 
+ val = ma.masked_less_equal(val, 0, copy=False)
+
 self.autoscale_None(val)
 vmin, vmax = self.vmin, self.vmax
 if vmin > vmax:
@@ -879,6 +881,24 @@
 else:
 return vmin * pow((vmax/vmin), value)
 
+ def autoscale(self, A):
+ '''
+ Set *vmin*, *vmax* to min, max of *A*.
+ '''
+ A = ma.masked_less_equal(A, 0, copy=False)
+ self.vmin = ma.min(A)
+ self.vmax = ma.max(A)
+
+ def autoscale_None(self, A):
+ ' autoscale only None-valued vmin or vmax'
+ if self.vmin is not None and self.vmax is not None:
+ return
+ A = ma.masked_less_equal(A, 0, copy=False)
+ if self.vmin is None:
+ self.vmin = ma.min(A)
+ if self.vmax is None:
+ self.vmax = ma.max(A)
+
 class BoundaryNorm(Normalize):
 '''
 Generate a colormap index based on discrete intervals.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ef...@us...> - 2010年05月30日 21:31:26
Revision: 8347
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8347&view=rev
Author: efiring
Date: 2010年05月30日 21:31:19 +0000 (2010年5月30日)
Log Message:
-----------
close 1287318; remove method deprecated in 2006; remove incorrect warning
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/figure.py
Modified: trunk/matplotlib/lib/matplotlib/figure.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/figure.py	2010年05月30日 21:15:47 UTC (rev 8346)
+++ trunk/matplotlib/lib/matplotlib/figure.py	2010年05月30日 21:31:19 UTC (rev 8347)
@@ -411,11 +411,6 @@
 self.images.append(im)
 return im
 
- def set_figsize_inches(self, *args, **kwargs):
- import warnings
- warnings.warn('Use set_size_inches instead!', DeprecationWarning)
- self.set_size_inches(*args, **kwargs)
-
 def set_size_inches(self, *args, **kwargs):
 """
 set_size_inches(w,h, forward=False)
@@ -431,9 +426,6 @@
 automatically updated; eg you can resize the figure window
 from the shell
 
- WARNING: forward=True is broken on all backends except GTK*
- and WX*
-
 ACCEPTS: a w,h tuple with w,h in inches
 """
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ef...@us...> - 2010年05月30日 21:15:53
Revision: 8346
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8346&view=rev
Author: efiring
Date: 2010年05月30日 21:15:47 +0000 (2010年5月30日)
Log Message:
-----------
close 3009264; allow windows build on python 2.7; thanks to Christoph Gohlke
Modified Paths:
--------------
 trunk/matplotlib/setupext.py
Modified: trunk/matplotlib/setupext.py
===================================================================
--- trunk/matplotlib/setupext.py	2010年05月30日 20:30:47 UTC (rev 8345)
+++ trunk/matplotlib/setupext.py	2010年05月30日 21:15:47 UTC (rev 8346)
@@ -997,7 +997,7 @@
 message = None
 if sys.platform == 'win32':
 major, minor1, minor2, s, tmp = sys.version_info
- if major == 2 and minor1 == 6:
+ if major == 2 and minor1 in [6, 7]:
 module.include_dirs.extend(['win32_static/include/tcl85'])
 module.libraries.extend(['tk85', 'tcl85'])
 elif major == 2 and minor1 in [3, 4, 5]:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8345
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8345&view=rev
Author: jdh2358
Date: 2010年05月30日 20:30:47 +0000 (2010年5月30日)
Log Message:
-----------
update version num for release
Modified Paths:
--------------
 branches/v0_99_maint/lib/matplotlib/__init__.py
Modified: branches/v0_99_maint/lib/matplotlib/__init__.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/__init__.py	2010年05月30日 18:48:35 UTC (rev 8344)
+++ branches/v0_99_maint/lib/matplotlib/__init__.py	2010年05月30日 20:30:47 UTC (rev 8345)
@@ -89,7 +89,7 @@
 """
 from __future__ import generators
 
-__version__ = '0.99.3rc1'
+__version__ = '0.99.3'
 __revision__ = '$Revision$'
 __date__ = '$Date$'
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ef...@us...> - 2010年05月30日 18:48:41
Revision: 8344
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8344&view=rev
Author: efiring
Date: 2010年05月30日 18:48:35 +0000 (2010年5月30日)
Log Message:
-----------
pyplot.findobj: use docstring decorator. Closes 2994238. Thanks to Mark Roddy.
Modified Paths:
--------------
 trunk/matplotlib/examples/tests/backend_driver.py
 trunk/matplotlib/lib/matplotlib/pyplot.py
Modified: trunk/matplotlib/examples/tests/backend_driver.py
===================================================================
--- trunk/matplotlib/examples/tests/backend_driver.py	2010年05月30日 18:35:42 UTC (rev 8343)
+++ trunk/matplotlib/examples/tests/backend_driver.py	2010年05月30日 18:48:35 UTC (rev 8344)
@@ -387,7 +387,7 @@
 return failures
 
 def parse_options():
- doc = __doc__.split('\n\n')
+ doc = (__doc__ and __doc__.split('\n\n')) or " "
 op = OptionParser(description=doc[0].strip(),
 usage='%prog [options] [--] [backends and switches]',
 #epilog='\n'.join(doc[1:]) # epilog not supported on my python2.4 machine: JDH
Modified: trunk/matplotlib/lib/matplotlib/pyplot.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pyplot.py	2010年05月30日 18:35:42 UTC (rev 8343)
+++ trunk/matplotlib/lib/matplotlib/pyplot.py	2010年05月30日 18:48:35 UTC (rev 8344)
@@ -78,12 +78,11 @@
 from matplotlib.backends import pylab_setup
 new_figure_manager, draw_if_interactive, show = pylab_setup()
 
-
+...@do...py_dedent(Artist.findobj)
 def findobj(o=None, match=None):
 if o is None:
 o = gcf()
 return o.findobj(match)
-findobj.__doc__ = Artist.findobj.__doc__
 
 def switch_backend(newbackend):
 """
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8343
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8343&view=rev
Author: efiring
Date: 2010年05月30日 18:35:42 +0000 (2010年5月30日)
Log Message:
-----------
pyplot_tutorial: add note about pyplot.close, add TM to first Matlab ref
Modified Paths:
--------------
 trunk/matplotlib/doc/users/pyplot_tutorial.rst
Modified: trunk/matplotlib/doc/users/pyplot_tutorial.rst
===================================================================
--- trunk/matplotlib/doc/users/pyplot_tutorial.rst	2010年05月28日 18:53:48 UTC (rev 8342)
+++ trunk/matplotlib/doc/users/pyplot_tutorial.rst	2010年05月30日 18:35:42 UTC (rev 8343)
@@ -5,7 +5,8 @@
 ***************
 
 :mod:`matplotlib.pyplot` is a collection of command style functions
-that make matplotlib work like matlab. Each ``pyplot`` function makes
+that make matplotlib work like `MatlabTM <http://www.mathworks.com>`_.
+Each ``pyplot`` function makes
 some change to a figure: eg, create a figure, create a plotting area
 in a figure, plot some lines in a plotting area, decorate the plot
 with labels, etc.... :mod:`matplotlib.pyplot` is stateful, in that it
@@ -29,10 +30,10 @@
 
 plt.plot([1,2,3,4], [1,4,9,16])
 
-For every x, y pair of arguments, there is a optional third argument
+For every x, y pair of arguments, there is an optional third argument
 which is the format string that indicates the color and line type of
 the plot. The letters and symbols of the format string are from
-matlab, and you concatenate a color string with a line style string.
+Matlab, and you concatenate a color string with a line style string.
 The default format string is 'b-', which is a solid blue line. For
 example, to plot the above with red circles, you would issue
 
@@ -86,7 +87,7 @@
 lines = plt.plot(x1, y1, x2, y2)
 # use keyword args
 plt.setp(lines, color='r', linewidth=2.0)
- # or matlab style string value pairs
+ # or Matlab style string value pairs
 plt.setp(lines, 'color', 'r', 'linewidth', 2.0)
 
 
@@ -204,6 +205,15 @@
 stateful wrapper around an object oriented API, which you can use
 instead (see :ref:`artist-tutorial`)
 
+If you are making a long sequence of figures, you need to be aware of one
+more thing: the memory required for a figure is not completely
+released until the figure is explicitly closed with
+:func:`~matplotlib.pyplot.close`. Deleting all references to the
+figure, and/or using the window manager to kill the window in which
+the figure appears on the screen, is not enough, because pyplot
+maintains internal references until :func:`~matplotlib.pyplot.close`
+is called.
+
 .. _working-with-text:
 
 Working with text
@@ -270,3 +280,4 @@
 :ref:`annotations-tutorial` and :ref:`plotting-guide-annotation` for
 details. More examples can be found in
 :ref:`pylab_examples-annotation_demo`.
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing 6 results of 6

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