SF.net SVN: matplotlib:[6317] trunk/toolkits/basemap/lib/mpl_toolkits/ basemap/__init__.py
Revision: 6317
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6317&view=rev
Author: jswhit
Date: 2008-10-24 11:43:31 + (Fri, 24 Oct 2008)
Log Message:
---
defer import of netcdf module
Modified Paths:
--
trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
===
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-10-24
06:51:29 UTC (rev 6316)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-10-24
11:43:31 UTC (rev 6317)
@@ -36,7 +36,7 @@
import numpy as np
import numpy.ma as ma
from shapelib import ShapeFile
-import _geoslib, netcdf, netcdftime
+import _geoslib, netcdftime
# basemap data files now installed in lib/matplotlib/toolkits/basemap/data
basemap_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
@@ -3758,6 +3758,7 @@
accesses to the same URL avoid the network.
"""
+import netcdf
if file.startswith('http'):
return netcdf._RemoteFile(file,maskandscale=maskandscale,\
cache=cache,username=username,password=password,verbose=verbose)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6318] trunk/matplotlib
Revision: 6318 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6318&view=rev Author: mdboom Date: 2008-10-24 14:05:07 + (Fri, 24 Oct 2008) Log Message: --- Support reading low-bit depth (< 8) PNG images. Add PNG test suite to make sure we're supporting the basic kinds of PNG files available. Modified Paths: -- trunk/matplotlib/src/_png.cpp Added Paths: --- trunk/matplotlib/examples/tests/pngsuite/ trunk/matplotlib/examples/tests/pngsuite/basn0g01.png trunk/matplotlib/examples/tests/pngsuite/basn0g02.png trunk/matplotlib/examples/tests/pngsuite/basn0g04.png trunk/matplotlib/examples/tests/pngsuite/basn0g08.png trunk/matplotlib/examples/tests/pngsuite/basn0g16.png trunk/matplotlib/examples/tests/pngsuite/basn2c08.png trunk/matplotlib/examples/tests/pngsuite/basn2c16.png trunk/matplotlib/examples/tests/pngsuite/basn3p01.png trunk/matplotlib/examples/tests/pngsuite/basn3p02.png trunk/matplotlib/examples/tests/pngsuite/basn3p04.png trunk/matplotlib/examples/tests/pngsuite/basn3p08.png trunk/matplotlib/examples/tests/pngsuite/basn4a08.png trunk/matplotlib/examples/tests/pngsuite/basn4a16.png trunk/matplotlib/examples/tests/pngsuite/basn6a08.png trunk/matplotlib/examples/tests/pngsuite/basn6a16.png trunk/matplotlib/examples/tests/pngsuite/pngsuite.py trunk/matplotlib/examples/tests/pngsuite/truth.png Added: trunk/matplotlib/examples/tests/pngsuite/basn0g01.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn0g01.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn0g02.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn0g02.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn0g04.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn0g04.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn0g08.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn0g08.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn0g16.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn0g16.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn2c08.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn2c08.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn2c16.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn2c16.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn3p01.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn3p01.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn3p02.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn3p02.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn3p04.png === (Binary files differ) Property changes on: trunk/matplotlib/examples/tests/pngsuite/basn3p04.png ___ Added: svn:mime-type + application/octet-stream Added: trunk/matplotlib/examples/tests/pngsuite/basn3p08.png ===
SF.net SVN: matplotlib:[6319] trunk/matplotlib/src/_backend_agg.cpp
Revision: 6319 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6319&view=rev Author: mdboom Date: 2008-10-24 14:55:14 + (Fri, 24 Oct 2008) Log Message: --- Remove unnecessary declaration. Modified Paths: -- trunk/matplotlib/src/_backend_agg.cpp Modified: trunk/matplotlib/src/_backend_agg.cpp === --- trunk/matplotlib/src/_backend_agg.cpp 2008-10-24 14:05:07 UTC (rev 6318) +++ trunk/matplotlib/src/_backend_agg.cpp 2008-10-24 14:55:14 UTC (rev 6319) @@ -823,7 +823,6 @@ typedef agg::image_accessor_clip image_accessor_type; typedef agg::span_interpolator_linear<> interpolator_type; typedef agg::span_image_filter_rgba_nn image_span_gen_type; -typedef agg::renderer_scanline_aa_solid amask_aa_renderer_type; typedef agg::renderer_scanline_aa renderer_type; color_span_alloc_type sa; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6320] trunk/matplotlib/src/_png.cpp
Revision: 6320
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6320&view=rev
Author: mdboom
Date: 2008-10-24 14:57:38 + (Fri, 24 Oct 2008)
Log Message:
---
Remove empty "else" clause.
Modified Paths:
--
trunk/matplotlib/src/_png.cpp
Modified: trunk/matplotlib/src/_png.cpp
===
--- trunk/matplotlib/src/_png.cpp 2008-10-24 14:55:14 UTC (rev 6319)
+++ trunk/matplotlib/src/_png.cpp 2008-10-24 14:57:38 UTC (rev 6320)
@@ -221,7 +221,6 @@
png_set_strip_16(png_ptr);
} else if (bit_depth < 8) {
png_set_packing(png_ptr);
- } else {
}
// convert misc color types to rgb for simplicity
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6322] trunk/matplotlib
Revision: 6322
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6322&view=rev
Author: mdboom
Date: 2008-10-24 17:12:24 + (Fri, 24 Oct 2008)
Log Message:
---
Add mathtext API docs.
Modified Paths:
--
trunk/matplotlib/lib/matplotlib/mathtext.py
Added Paths:
---
trunk/matplotlib/doc/api/mathtext_api.rst
Added: trunk/matplotlib/doc/api/mathtext_api.rst
===
--- trunk/matplotlib/doc/api/mathtext_api.rst (rev 0)
+++ trunk/matplotlib/doc/api/mathtext_api.rst 2008-10-24 17:12:24 UTC (rev
6322)
@@ -0,0 +1,14 @@
+***
+matplotlib mathtext
+***
+
+.. inheritance-diagram:: matplotlib.mathtext
+ :parts: 1
+
+:mod:`matplotlib.mathtext`
+=
+
+.. automodule:: matplotlib.mathtext
+ :members:
+ :undoc-members:
+ :show-inheritance:
Modified: trunk/matplotlib/lib/matplotlib/mathtext.py
===
--- trunk/matplotlib/lib/matplotlib/mathtext.py 2008-10-24 15:53:59 UTC (rev
6321)
+++ trunk/matplotlib/lib/matplotlib/mathtext.py 2008-10-24 17:12:24 UTC (rev
6322)
@@ -1,175 +1,21 @@
r"""
+:mod:`~matplotlib.mathtext` is a module for parsing a subset of the
+TeX math syntax and drawing them to a matplotlib backend.
-OVERVIEW
+For a tutorial of its usage see :ref:`mathtext-tutorial`. This
+document is primarily concerned with implementation details.
- mathtext is a module for parsing TeX expressions and drawing them
- into a matplotlib.ft2font image buffer. You can draw from this
- buffer into your backend.
+The module uses pyparsing_ to parse the TeX expression.
- A large set of the TeX symbols are provided (see below).
- Subscripting and superscripting are supported, as well as the
- over/under style of subscripting with \sum, \int, etc.
+.. _pyparsing: http://pyparsing.wikispaces.com/
- The module uses pyparsing to parse the TeX expression, an so can
- handle fairly complex TeX expressions Eg, the following renders
- correctly
+The Bakoma distribution of the TeX Computer Modern fonts, and STIX
+fonts are supported. There is experimental support for using
+arbitrary fonts, but results may vary without proper tweaking and
+metrics for those fonts.
- s = r'$\mathcal{R}\prod_{i=\alpha\mathcal{B}}^\infty a_i\sin(2 \pi f x_i)$'
-
- Different fonts may be selected:
-\mathcal Calligraphic fonts
-\mathrm Roman (upright) font
-\mathit Italic font
-\mathtt Typewriter (monospaced) font, similar to Courier
-
- Additionally, if using the STIX fonts:
-\mathbb Blackboard (double-struck) font
-\mathcircled Circled characters
-\mathfrak Fraktur (Gothic-style) font
-\mathscr Script (cursive) font
-\mathsf Sans-serif font
-
- The following accents are provided: \hat, \breve, \grave, \bar,
- \acute, \tilde, \vec, \dot, \ddot. All of them have the same
- syntax, eg to make an overbar you do \bar{o} or to make an o umlaut
- you do \ddot{o}. The shortcuts are also provided, eg: \"o \'e \`e
- \~n \.x \^y
-
- The spacing elements \ , \/ and \hspace{num} are provided. \/
- inserts a small space, and \hspace{num} inserts a fraction of the
- current fontsize. Eg, if num=0.5 and the fontsize is 12.0,
- hspace{0.5} inserts 6 points of space
-
-
-
- If you find TeX expressions that don't parse or render properly,
- please email me, but please check KNOWN ISSUES below first.
-
-REQUIREMENTS
-
- mathtext requires matplotlib.ft2font. Set BUILD_FT2FONT=True in
- setup.py. See BACKENDS below for a summary of availability by
- backend.
-
-LICENSING:
-
- The computer modern fonts this package uses are part of the BaKoMa
- fonts, which are (now) free for commercial and noncommercial use and
- redistribution; see license/LICENSE_BAKOMA in the matplotlib src
- distribution for redistribution requirements.
-
-USAGE:
-
- See http://matplotlib.sf.net/users/mathtext.html for a tutorial
- introduction.
-
- Any text element (xlabel, ylabel, title, text, etc) can use TeX
- markup, as in
-
-xlabel(r'$\Delta_i$')
- ^
-use raw strings
-
- Math and non-math can be interpresed in the same string. E.g.,
-
-r'My label $x_i$'.
-
- A large set of the TeX symbols are provided. Subscripting and
- superscripting are supported, as well as the over/under style of
- subscripting with \sum, \int, etc.
-
-
- Allowed TeX symbols:
-
- $ \% \AA \AE \BbbC \BbbN \BbbP \BbbQ \BbbR \BbbZ \Bumpeq \Cap \Colon
- \Cup \Delta \Doteq \Downarrow \Equiv \Finv \Gamma \H \Im \L \Lambda
- \Ldsh \Leftarrow \Leftrightarrow \Lleftarrow \Lsh \Nearrow \Nwarrow
- \O \OE \Omega \P \Phi \Pi \Psi \Rdsh \Re \Rightarrow \Rrightarrow
- \Rsh \S \Searrow \Sigma \Subset \Supset \Swarrow \Theta \Uparrow
- \Updownarrow \Upsilon \Vdash \Vert \Vvdash \Xi \_ \__sqrt__ \ac
- \acute \
SF.net SVN: matplotlib:[6323] trunk/matplotlib/lib/matplotlib/figure.py
Revision: 6323 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6323&view=rev Author: mdboom Date: 2008-10-24 17:35:23 + (Fri, 24 Oct 2008) Log Message: --- Minor docstring fix. Modified Paths: -- trunk/matplotlib/lib/matplotlib/figure.py Modified: trunk/matplotlib/lib/matplotlib/figure.py === --- trunk/matplotlib/lib/matplotlib/figure.py 2008-10-24 17:12:24 UTC (rev 6322) +++ trunk/matplotlib/lib/matplotlib/figure.py 2008-10-24 17:35:23 UTC (rev 6323) @@ -280,15 +280,18 @@ Add a centered title to the figure. kwargs are :class:`matplotlib.text.Text` properties. Using figure -coordinates, the defaults are:: +coordinates, the defaults are: - *x* = 0.5 + - *x* = 0.5 the x location of text in figure coords - *y* = 0.98 + + - *y* = 0.98 the y location of the text in figure coords - *horizontalalignment* = 'center' + + - *horizontalalignment* = 'center' the horizontal alignment of the text - *verticalalignment* = 'top' + + - *verticalalignment* = 'top' the vertical alignment of the text A :class:`matplotlib.text.Text` instance is returned. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6324] trunk/matplotlib/doc/api/index.rst
Revision: 6324 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6324&view=rev Author: mdboom Date: 2008-10-24 17:35:39 + (Fri, 24 Oct 2008) Log Message: --- Add mathtext api to toc Modified Paths: -- trunk/matplotlib/doc/api/index.rst Modified: trunk/matplotlib/doc/api/index.rst === --- trunk/matplotlib/doc/api/index.rst 2008-10-24 17:35:23 UTC (rev 6323) +++ trunk/matplotlib/doc/api/index.rst 2008-10-24 17:35:39 UTC (rev 6324) @@ -23,6 +23,7 @@ colorbar_api.rst colors_api.rst nxutils_api.rst + mathtext_api.rst mlab_api.rst path_api.rst pyplot_api.rst This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6326] trunk/matplotlib/lib/matplotlib/axes.py
Revision: 6326 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6326&view=rev Author: efiring Date: 2008-10-24 17:40:54 + (Fri, 24 Oct 2008) Log Message: --- Fix error in recent shared axes changes; thanks to David Trem. Modified Paths: -- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py === --- trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 17:35:50 UTC (rev 6325) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 17:40:54 UTC (rev 6326) @@ -512,8 +512,8 @@ self._adjustable = 'datalim' if sharey is not None: self._shared_y_axes.join(self, sharey) -if sharex._adjustable == 'box': -sharex._adjustable = 'datalim' +if sharey._adjustable == 'box': +sharey._adjustable = 'datalim' #warnings.warn( #'shared axes: "adjustable" is being changed to "datalim"') self._adjustable = 'datalim' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6327] trunk/toolkits/basemap/Changelog
Revision: 6327 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6327&view=rev Author: jswhit Date: 2008-10-24 17:58:47 + (Fri, 24 Oct 2008) Log Message: --- defer import of netcdf module Modified Paths: -- trunk/toolkits/basemap/Changelog Modified: trunk/toolkits/basemap/Changelog === --- trunk/toolkits/basemap/Changelog2008-10-24 17:40:54 UTC (rev 6326) +++ trunk/toolkits/basemap/Changelog2008-10-24 17:58:47 UTC (rev 6327) @@ -1,4 +1,6 @@ version 0.99.2 (not yet released) + * defer import of netcdf stuff till it is needed (in NetCDFFile + function). * Added McBryde-Thomas Flat Polar Quartic (projection = 'mbtfpq'), Gall Stereographic Cylindrical (projection = 'gall') and van der Grinten (projection = 'vandg'). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6328] trunk/matplotlib/lib/matplotlib/contour.py
Revision: 6328 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6328&view=rev Author: mdboom Date: 2008-10-24 18:16:12 + (Fri, 24 Oct 2008) Log Message: --- Fix docstring. Modified Paths: -- trunk/matplotlib/lib/matplotlib/contour.py Modified: trunk/matplotlib/lib/matplotlib/contour.py === --- trunk/matplotlib/lib/matplotlib/contour.py 2008-10-24 17:58:47 UTC (rev 6327) +++ trunk/matplotlib/lib/matplotlib/contour.py 2008-10-24 18:16:12 UTC (rev 6328) @@ -53,8 +53,6 @@ *fontsize*: See http://matplotlib.sf.net/fonts.html -.. TODO: Update this link to new fonts document - *colors*: - if *None*, the color of each label matches the color of the corresponding contour @@ -1050,8 +1048,8 @@ Call signature:: -conmin,segmin,imin,xmin,ymin,dmin = find_nearest_contour( - self, x, y, indices=None, pixel=True ) + conmin,segmin,imin,xmin,ymin,dmin = find_nearest_contour( + self, x, y, indices=None, pixel=True ) Optional keyword arguments:: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6325] trunk/matplotlib/doc/devel/outline.rst
Revision: 6325 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6325&view=rev Author: mdboom Date: 2008-10-24 17:35:50 + (Fri, 24 Oct 2008) Log Message: --- Update some statuses. Modified Paths: -- trunk/matplotlib/doc/devel/outline.rst Modified: trunk/matplotlib/doc/devel/outline.rst === --- trunk/matplotlib/doc/devel/outline.rst 2008-10-24 17:35:39 UTC (rev 6324) +++ trunk/matplotlib/doc/devel/outline.rst 2008-10-24 17:35:50 UTC (rev 6325) @@ -131,7 +131,7 @@ imageneeds conversion legend needs conversion linesneeds conversion -mathtext needs conversion +mathtext Mike converted mlab needs conversion mpl needs conversion patchesMike converted @@ -144,7 +144,7 @@ tableneeds conversion texmanager Darrenneeds conversion text Mike converted -ticker Mike needs conversion +ticker John converted transforms Mike converted type1fontneeds conversion unitsneeds conversion This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6329] trunk/matplotlib/lib/matplotlib/axes.py
Revision: 6329 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6329&view=rev Author: efiring Date: 2008-10-24 22:35:25 + (Fri, 24 Oct 2008) Log Message: --- Another typo bug in recent commit for shared axes support Modified Paths: -- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py === --- trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 18:16:12 UTC (rev 6328) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 22:35:25 UTC (rev 6329) @@ -831,7 +831,7 @@ if self._sharey is not None: self.yaxis.major = self._sharey.yaxis.major self.yaxis.minor = self._sharey.yaxis.minor -y0, y1 = self._sharex.get_ylim() +y0, y1 = self._sharey.get_ylim() self.set_ylim(y0, y1, emit=False) self.yaxis.set_scale(self._sharey.yaxis.get_scale()) else: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6331] trunk/py4science/examples
Revision: 6331
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6331&view=rev
Author: fer_perez
Date: 2008-10-25 03:44:44 + (Sat, 25 Oct 2008)
Log Message:
---
Updated skeletons and mkprob to report number of lines missing.
Modified Paths:
--
trunk/py4science/examples/mkprob.py
trunk/py4science/examples/skel/fft_imdenoise_skel.py
trunk/py4science/examples/skel/qsort_skel.py
trunk/py4science/examples/skel/quad_newton_skel.py
trunk/py4science/examples/skel/trapezoid_skel.py
Modified: trunk/py4science/examples/mkprob.py
===
--- trunk/py4science/examples/mkprob.py 2008-10-25 03:37:12 UTC (rev 6330)
+++ trunk/py4science/examples/mkprob.py 2008-10-25 03:44:44 UTC (rev 6331)
@@ -91,9 +91,9 @@
# Add the summary of 'raise' lines
# flush counter of code (disabled, we report static summary)
-#msg = '1 line' if del_lines==1 else ('%s lines' % del_lines)
-#exc = exc_tpl % msg
-exc = exc_tpl
+msg = '1 line' if del_lines==1 else ('%s lines' % del_lines)
+exc = exc_tpl % msg
+#exc = exc_tpl
# Use the last value of 'space'
line = '%s%s' % (spaces[0],exc)
@@ -104,8 +104,8 @@
return del_lines
# used to report actual # of lines removed - disabled
-#exc_tpl = "raise NotImplementedError('%s missing')\n"
-exc_tpl = "raise NotImplementedError('insert missing code here')\n"
+exc_tpl = "raise NotImplementedError('Original solution has %s')\n"
+#exc_tpl = "raise NotImplementedError('insert missing code here')\n"
# states for state machine and other initialization
normal,delete = 0,1
@@ -241,7 +241,7 @@
clean = """
first line
-raise NotImplementedError('insert missing code here')
+raise NotImplementedError('Original solution has 1 line')
second line
"""
@@ -279,12 +279,12 @@
first line
# Hint: remember that
# idea we discussed before...
-raise NotImplementedError('insert missing code here')
+raise NotImplementedError('Original solution has 3 lines')
second line:
- raise NotImplementedError('insert missing code here')
+ raise NotImplementedError('Original solution has 2 lines')
third line
-raise NotImplementedError('insert missing code here')
+raise NotImplementedError('Original solution has 2 lines')
"""
cleaned = src2skel(srclines)
yield str_match,cleaned,clean
Modified: trunk/py4science/examples/skel/fft_imdenoise_skel.py
===
--- trunk/py4science/examples/skel/fft_imdenoise_skel.py2008-10-25
03:37:12 UTC (rev 6330)
+++ trunk/py4science/examples/skel/fft_imdenoise_skel.py2008-10-25
03:44:44 UTC (rev 6331)
@@ -17,12 +17,12 @@
# Compute the magnitude of the input F (call it mag). Then, rescale mag by
# amplify/maximum_of_mag. Numpy arrays can be scaled in-place with ARR *=
# number. For the max of an array, look for its max method.
-raise NotImplementedError('insert missing code here')
+raise NotImplementedError('Original solution has 2 lines')
# Next, clip all values larger than one to one. You can set all elements
# of an array which satisfy a given condition with array indexing syntax:
# ARR[ARRhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6332] trunk/py4science/talks/fig/hello_world.png
Revision: 6332 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6332&view=rev Author: jdh2358 Date: 2008-10-25 04:21:52 + (Sat, 25 Oct 2008) Log Message: --- added hello world Added Paths: --- trunk/py4science/talks/fig/hello_world.png Added: trunk/py4science/talks/fig/hello_world.png === (Binary files differ) Property changes on: trunk/py4science/talks/fig/hello_world.png ___ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
SF.net SVN: matplotlib:[6334] trunk/py4science/talks
Revision: 6334
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6334&view=rev
Author: fer_perez
Date: 2008-10-25 04:49:37 + (Sat, 25 Oct 2008)
Log Message:
---
Updates to intro talk
Modified Paths:
--
trunk/py4science/talks/0810_claremont.lyx
trunk/py4science/talks/fig/hello_world.png
Modified: trunk/py4science/talks/0810_claremont.lyx
===
--- trunk/py4science/talks/0810_claremont.lyx 2008-10-25 04:29:53 UTC (rev
6333)
+++ trunk/py4science/talks/0810_claremont.lyx 2008-10-25 04:49:37 UTC (rev
6334)
@@ -65,6 +65,8 @@
% call, which confuses xcolor. I'm defining 'none' to be black here.
\definecolor{none}{cmyk}{0,0,0,1}
% /HACK %
+
+\usepackage{url}
\end_preamble
\options compress
\language english
@@ -591,6 +593,32 @@
, not replace them!
\end_layout
+\begin_layout BeginPlainFrame
+Hello World
+\end_layout
+
+\begin_layout Standard
+Ref:
+\begin_inset LatexCommand htmlurl
+target "http://www.roesler-ac.de/wolfram/hello.htm";
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Graphics
+ filename fig/hello_world.png
+ lyxscale 50
+ width 95text%
+
+\end_inset
+
+
+\end_layout
+
\begin_layout BeginFrame
Complementary high level tools
\end_layout
Modified: trunk/py4science/talks/fig/hello_world.png
===
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins
