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

Showing 3 results of 3

From: <md...@us...> - 2010年12月09日 19:06:09
Revision: 8821
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8821&view=rev
Author: mdboom
Date: 2010年12月09日 19:06:03 +0000 (2010年12月09日)
Log Message:
-----------
Merged revisions 8819-8820 via svnmerge from 
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint
........
 r8819 | mdboom | 2010年12月09日 12:25:11 -0500 (2010年12月09日) | 2 lines
 
 [3123736] tex processor crashes when fed a space
........
 r8820 | mdboom | 2010年12月09日 12:26:54 -0500 (2010年12月09日) | 2 lines
 
 Fixed error message in Agg backend.
........
Modified Paths:
--------------
 trunk/matplotlib/lib/matplotlib/text.py
 trunk/matplotlib/src/_backend_agg.cpp
Property Changed:
----------------
 trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
 - /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8817 /trunk/matplotlib:1-7315
 + /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8820 /trunk/matplotlib:1-7315
Modified: trunk/matplotlib/lib/matplotlib/text.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/text.py	2010年12月09日 17:26:54 UTC (rev 8820)
+++ trunk/matplotlib/lib/matplotlib/text.py	2010年12月09日 19:06:03 UTC (rev 8821)
@@ -551,6 +551,9 @@
 
 if rcParams['text.usetex']:
 for line, wh, x, y in info:
+ if not np.isfinite(x) or not np.isfinite(y):
+ continue
+
 x = x + posx
 y = y + posy
 if renderer.flipy():
@@ -566,6 +569,9 @@
 self._fontproperties, angle)
 else:
 for line, wh, x, y in info:
+ if not np.isfinite(x) or not np.isfinite(y):
+ continue
+
 x = x + posx
 y = y + posy
 if renderer.flipy():
@@ -974,6 +980,8 @@
 # Did we find an even number of non-escaped dollar signs?
 # If so, treat is as math text.
 if rcParams['text.usetex']:
+ if s == ' ':
+ s = r'\ '
 return s, 'TeX'
 
 if cbook.is_math_text(s):
Modified: trunk/matplotlib/src/_backend_agg.cpp
===================================================================
--- trunk/matplotlib/src/_backend_agg.cpp	2010年12月09日 17:26:54 UTC (rev 8820)
+++ trunk/matplotlib/src/_backend_agg.cpp	2010年12月09日 19:06:03 UTC (rev 8821)
@@ -556,7 +556,7 @@
 }
 catch (Py::TypeError)
 {
- throw Py::TypeError("Invalid input arguments to draw_text_image");
+ throw Py::TypeError("Invalid input arguments to restore_region2");
 }
 
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2010年12月09日 17:27:00
Revision: 8820
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8820&view=rev
Author: mdboom
Date: 2010年12月09日 17:26:54 +0000 (2010年12月09日)
Log Message:
-----------
Fixed error message in Agg backend.
Modified Paths:
--------------
 branches/v1_0_maint/src/_backend_agg.cpp
Modified: branches/v1_0_maint/src/_backend_agg.cpp
===================================================================
--- branches/v1_0_maint/src/_backend_agg.cpp	2010年12月09日 17:25:11 UTC (rev 8819)
+++ branches/v1_0_maint/src/_backend_agg.cpp	2010年12月09日 17:26:54 UTC (rev 8820)
@@ -554,7 +554,7 @@
 }
 catch (Py::TypeError)
 {
- throw Py::TypeError("Invalid input arguments to draw_text_image");
+ throw Py::TypeError("Invalid input arguments to restore_region2");
 }
 
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2010年12月09日 17:25:17
Revision: 8819
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8819&view=rev
Author: mdboom
Date: 2010年12月09日 17:25:11 +0000 (2010年12月09日)
Log Message:
-----------
[3123736] tex processor crashes when fed a space
Modified Paths:
--------------
 branches/v1_0_maint/lib/matplotlib/text.py
Modified: branches/v1_0_maint/lib/matplotlib/text.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/text.py	2010年12月06日 14:43:16 UTC (rev 8818)
+++ branches/v1_0_maint/lib/matplotlib/text.py	2010年12月09日 17:25:11 UTC (rev 8819)
@@ -551,6 +551,9 @@
 
 if rcParams['text.usetex']:
 for line, wh, x, y in info:
+ if not np.isfinite(x) or not np.isfinite(y):
+ continue
+
 x = x + posx
 y = y + posy
 if renderer.flipy():
@@ -566,6 +569,9 @@
 self._fontproperties, angle)
 else:
 for line, wh, x, y in info:
+ if not np.isfinite(x) or not np.isfinite(y):
+ continue
+
 x = x + posx
 y = y + posy
 if renderer.flipy():
@@ -974,6 +980,8 @@
 # Did we find an even number of non-escaped dollar signs?
 # If so, treat is as math text.
 if rcParams['text.usetex']:
+ if s == ' ':
+ s = r'\ '
 return s, 'TeX'
 
 if cbook.is_math_text(s):
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 によって変換されたページ (->オリジナル) /