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


Showing 1 results of 1

From: <md...@us...> - 2008年01月04日 15:00:09
Revision: 4801
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4801&view=rev
Author: mdboom
Date: 2008年01月04日 06:59:50 -0800 (2008年1月04日)
Log Message:
-----------
Merged revisions 4786-4800 via svnmerge from 
http://matplotlib.svn.sf.net/svnroot/matplotlib/trunk/matplotlib
........
 r4788 | efiring | 2007年12月26日 02:23:27 -0500 (2007年12月26日) | 7 lines
 
 Make numerix.ma and numerix.npyma work with numpy 1.05
 
 The numpy maskedarray branch is scheduled to become the
 trunk for 1.05. It includes a change from ma.py being in
 numpy/core to ma being a module under numpy, so the import
 syntax is different in numerix.ma and numerix.npyma.
........
 r4789 | efiring | 2007年12月26日 02:51:19 -0500 (2007年12月26日) | 2 lines
 
 Fix bug in errorbar, reported by Noriko Minakawa
........
 r4790 | efiring | 2007年12月26日 12:10:34 -0500 (2007年12月26日) | 2 lines
 
 Warning instead of exception if matplotlib.use() is called too late.
........
Modified Paths:
--------------
 branches/transforms/CHANGELOG
 branches/transforms/lib/matplotlib/__init__.py
 branches/transforms/lib/matplotlib/axes.py
 branches/transforms/lib/matplotlib/numerix/ma/__init__.py
 branches/transforms/lib/matplotlib/numerix/npyma/__init__.py
Property Changed:
----------------
 branches/transforms/
Property changes on: branches/transforms
___________________________________________________________________
Name: svnmerge-integrated
 - /trunk/matplotlib:1-4785
 + /trunk/matplotlib:1-4800
Modified: branches/transforms/CHANGELOG
===================================================================
--- branches/transforms/CHANGELOG	2008年01月01日 15:13:48 UTC (rev 4800)
+++ branches/transforms/CHANGELOG	2008年01月04日 14:59:50 UTC (rev 4801)
@@ -1,3 +1,12 @@
+2007年12月26日 Reduce too-late use of matplotlib.use() to a warning
+ instead of an exception, for backwards compatibility - EF
+
+2007年12月25日 Fix bug in errorbar, identified by Noriko Minakawa - EF
+
+2007年12月25日 Changed masked array importing to work with the upcoming
+ numpy 1.05 (now the maskedarray branch) as well as with
+ earlier versions. - EF
+
 2007年12月16日 rec2csv saves doubles without losing precision. Also, it
 does not close filehandles passed in open. - JDH,ADS
 
Modified: branches/transforms/lib/matplotlib/__init__.py
===================================================================
--- branches/transforms/lib/matplotlib/__init__.py	2008年01月01日 15:13:48 UTC (rev 4800)
+++ branches/transforms/lib/matplotlib/__init__.py	2008年01月04日 14:59:50 UTC (rev 4801)
@@ -727,8 +727,11 @@
 except:
 from config import rcParams, rcdefaults
 
-_use_error_msg = """ matplotlib.use() must be called *before* pylab
-or matplotlib.backends is imported for the first time."""
+_use_error_msg = """ This call to matplotlib.use() has no effect
+because the the backend has already been chosen;
+matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
+or matplotlib.backends is imported for the first time.
+"""
 
 def use(arg):
 """
@@ -747,7 +750,7 @@
 be called before importing matplotlib.backends.
 """
 if 'matplotlib.backends' in sys.modules:
- raise RuntimeError(_use_error_msg)
+ warnings.warn(_use_error_msg)
 be_parts = arg.split('.')
 name = validate_backend(be_parts[0])
 rcParams['backend'] = name
Modified: branches/transforms/lib/matplotlib/axes.py
===================================================================
--- branches/transforms/lib/matplotlib/axes.py	2008年01月01日 15:13:48 UTC (rev 4800)
+++ branches/transforms/lib/matplotlib/axes.py	2008年01月04日 14:59:50 UTC (rev 4801)
@@ -3779,6 +3779,8 @@
 lines_kw['linewidth']=kwargs['linewidth']
 if 'lw' in kwargs:
 lines_kw['lw']=kwargs['lw']
+ if 'transform' in kwargs:
+ lines_kw['transform'] = kwargs['transform']
 
 # arrays fine here, they are booleans and hence not units
 if not iterable(lolims):
@@ -3814,6 +3816,8 @@
 plot_kw['markeredgewidth']=kwargs['markeredgewidth']
 if 'mew' in kwargs:
 plot_kw['mew']=kwargs['mew']
+ if 'transform' in kwargs:
+ plot_kw['transform'] = kwargs['transform']
 
 if xerr is not None:
 if iterable(xerr) and len(xerr)==2 and iterable(xerr[0]) and iterable(xerr[1]):
Modified: branches/transforms/lib/matplotlib/numerix/ma/__init__.py
===================================================================
--- branches/transforms/lib/matplotlib/numerix/ma/__init__.py	2008年01月01日 15:13:48 UTC (rev 4800)
+++ branches/transforms/lib/matplotlib/numerix/ma/__init__.py	2008年01月04日 14:59:50 UTC (rev 4801)
@@ -13,7 +13,10 @@
 from maskedarray import *
 print "using maskedarray"
 else:
- from numpy.core.ma import *
+ try:
+ from numpy.ma import * # numpy 1.05 and later
+ except ImportError:
+ from numpy.core.ma import * # earlier
 #print "using ma"
 def getmaskorNone(obj):
 _msk = getmask(obj)
Modified: branches/transforms/lib/matplotlib/numerix/npyma/__init__.py
===================================================================
--- branches/transforms/lib/matplotlib/numerix/npyma/__init__.py	2008年01月01日 15:13:48 UTC (rev 4800)
+++ branches/transforms/lib/matplotlib/numerix/npyma/__init__.py	2008年01月04日 14:59:50 UTC (rev 4801)
@@ -4,5 +4,8 @@
 from maskedarray import *
 print "using maskedarray"
 else:
- from numpy.core.ma import *
+ try:
+ from numpy.ma import * # numpy 1.05 and later
+ except ImportError:
+ from numpy.core.ma import * # earlier
 #print "using ma"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing 1 results of 1

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