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






Showing 3 results of 3

From: <jd...@us...> - 2009年05月16日 12:47:40
Revision: 7105
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7105&view=rev
Author: jdh2358
Date: 2009年05月16日 12:47:27 +0000 (2009年5月16日)
Log Message:
-----------
fixed plot_date docstring
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py	2009年05月16日 02:22:57 UTC (rev 7104)
+++ trunk/matplotlib/lib/matplotlib/axes.py	2009年05月16日 12:47:27 UTC (rev 7105)
@@ -3512,13 +3512,13 @@
 may be necessary to set the formatters/locators after the call
 to :meth:`plot_date` since :meth:`plot_date` will set the
 default tick locator to
- :class:`matplotlib.ticker.AutoDateLocator` (if the tick
+ :class:`matplotlib.dates.AutoDateLocator` (if the tick
 locator is not already set to a
- :class:`matplotlib.ticker.DateLocator` instance) and the
+ :class:`matplotlib.dates.DateLocator` instance) and the
 default tick formatter to
- :class:`matplotlib.ticker.AutoDateFormatter` (if the tick
+ :class:`matplotlib.dates.AutoDateFormatter` (if the tick
 formatter is not already set to a
- :class:`matplotlib.ticker.DateFormatter` instance).
+ :class:`matplotlib.dates.DateFormatter` instance).
 
 Valid kwargs are :class:`~matplotlib.lines.Line2D` properties:
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ef...@us...> - 2009年05月16日 02:22:59
Revision: 7104
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7104&view=rev
Author: efiring
Date: 2009年05月16日 02:22:57 +0000 (2009年5月16日)
Log Message:
-----------
Make quiver handle nans and infs
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/quiver.py
Modified: trunk/matplotlib/lib/matplotlib/quiver.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/quiver.py	2009年05月16日 01:01:49 UTC (rev 7103)
+++ trunk/matplotlib/lib/matplotlib/quiver.py	2009年05月16日 02:22:57 UTC (rev 7104)
@@ -388,9 +388,9 @@
 X, Y, U, V, C = [None]*5
 args = list(args)
 if len(args) == 3 or len(args) == 5:
- C = ma.asarray(args.pop(-1))
- V = ma.asarray(args.pop(-1))
- U = ma.asarray(args.pop(-1))
+ C = ma.masked_invalid(args.pop(-1), copy=False)
+ V = ma.masked_invalid(args.pop(-1), copy=False)
+ U = ma.masked_invalid(args.pop(-1), copy=False)
 if U.ndim == 1:
 nr, nc = 1, U.shape[0]
 else:
@@ -483,7 +483,8 @@
 elif self.angles == 'uv':
 theta = np.angle(uv.filled(0))
 else:
- theta = ma.asarray(self.angles).filled(0)*np.pi/180.0
+ theta = ma.masked_invalid(self.angles, copy=False).filled(0)
+ theta *= (np.pi/180.0)
 theta.shape = (theta.shape[0], 1) # for broadcasting
 xy = (X+Y*1j) * np.exp(1j*theta)*self.width
 xy = xy[:,:,np.newaxis]
@@ -919,9 +920,9 @@
 X, Y, U, V, C = [None]*5
 args = list(args)
 if len(args) == 3 or len(args) == 5:
- C = ma.asarray(args.pop(-1)).ravel()
- V = ma.asarray(args.pop(-1))
- U = ma.asarray(args.pop(-1))
+ C = ma.masked_invalid(args.pop(-1), copy=False).ravel()
+ V = ma.masked_invalid(args.pop(-1), copy=False)
+ U = ma.masked_invalid(args.pop(-1), copy=False)
 nn = np.shape(U)
 nc = nn[0]
 nr = 1
@@ -937,10 +938,10 @@
 return X, Y, U, V, C
 
 def set_UVC(self, U, V, C=None):
- self.u = ma.asarray(U).ravel()
- self.v = ma.asarray(V).ravel()
+ self.u = ma.masked_invalid(U, copy=False).ravel()
+ self.v = ma.masked_invalid(V, copy=False).ravel()
 if C is not None:
- c = ma.asarray(C).ravel()
+ c = ma.masked_invalid(C, copy=False).ravel()
 x,y,u,v,c = delete_masked_points(self.x.ravel(), self.y.ravel(),
 self.u, self.v, c)
 else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <ef...@us...> - 2009年05月16日 01:01:56
Revision: 7103
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7103&view=rev
Author: efiring
Date: 2009年05月16日 01:01:49 +0000 (2009年5月16日)
Log Message:
-----------
Fixed bugs in quiver affecting angles passed in as a sequence
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/quiver.py
Modified: trunk/matplotlib/lib/matplotlib/quiver.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/quiver.py	2009年05月14日 06:27:58 UTC (rev 7102)
+++ trunk/matplotlib/lib/matplotlib/quiver.py	2009年05月16日 01:01:49 UTC (rev 7103)
@@ -479,11 +479,12 @@
 length = a/(self.scale*self.width)
 X, Y = self._h_arrows(length)
 if self.angles == 'xy':
- theta = self._angles(U, V).filled(0)[:,np.newaxis]
+ theta = self._angles(U, V).filled(0)
 elif self.angles == 'uv':
- theta = np.angle(ma.asarray(uv[..., np.newaxis]).filled(0))
+ theta = np.angle(uv.filled(0))
 else:
- theta = ma.asarray(self.angles*np.pi/180.0).filled(0)
+ theta = ma.asarray(self.angles).filled(0)*np.pi/180.0
+ theta.shape = (theta.shape[0], 1) # for broadcasting
 xy = (X+Y*1j) * np.exp(1j*theta)*self.width
 xy = xy[:,:,np.newaxis]
 XY = ma.concatenate((xy.real, xy.imag), axis=2)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing 3 results of 3

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